Sorry for all the questions, folks, but TC/Linux has a very steep learning curve and I am worn out from searching...
I am booting version 4.5.2 of Core to a command line. It was installed onto sda1 (internal flash) using the installer program in CorePlus, selecting text only install, no extensions.
I need to write data to sdb1 (a removable flash drive) from a python script. I previously had this running under TinyCore but want to run it with just the Core base.
When I try to write to the USB drive I get a permission denied error (either from the script or just with an echo command from the command line). If I sudo the same command it works fine.
Mount returns:
/dev/sdb1 on /mnt/sdb1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/etc/fstab contains the line:
/dev/sdb1 /mnt/sdb1 vfat noauto,users,exec,umask=000 0 0 # Added by TC
ls -l in the /mnt directory gives me:
drwxr-xr-x 4 root root 1024 May 19 10:51 sda1/
drwxr-xr-x 4 root root 16384 May 19 12:17 sdb1/
sudo chmod 777 /mnt/sdb1 has no effect on the permissions of the directory.
What do I need to do to get universal access to the usb drive? I guess I could run the script as root, but that doesn't seem right...
NB The system will be running unattended, so all settings need to survive a reboot after a power failure.