VectorLinux
The nuts and bolts => Networking & Security => Topic started by: StrayBit on July 29, 2017, 09:02:44 am
-
I have a partition set aside as a general repository and one devoted to Iso as fstab shows:
/dev/sda3 /mnt/Public vfat defaults 0 0
/dev/sdb5 /mnt/Iso reiserfs defaults 0 0
In the past, there was never any issue accessing/reading/writing in them. Now, only root can write Public though I can read the files. I have no problem with Iso.
root:# ls -l /mnt
drwxrwxr-x 7 root users 552 Jul 27 09:07 Iso/
drwxr-xr-x 2 root root 8192 Jul 29 09:24 Public/
I have triedroot:# chown -R bruce:users /mnt/Public
chown: changing ownership of '/mnt/Public/bookmarks1707.html': Operation not permitted
chown: changing ownership of '/mnt/Public/Test.abw': Operation not permitted
chown: changing ownership of '/mnt/Public': Operation not permitted
vector://mnt/Public
root:# chown -R :users /mnt/Public
chown: changing group of '/mnt/Public/bookmarks1707.html': Operation not permitted
chown: changing group of '/mnt/Public/Test.abw': Operation not permitted
chown: changing group of '/mnt/Public': Operation not permitted
The only thing I can think of is a couple of months ago, I lost sda and had to replace it.
Is there anything I can do do to get it writable by every body?
-
Filesystem "vfat" does not support unix permissions.
Are you sure the partition is mounted "rw"?
-
Would I need to change fstab shown above?
-
Sorry, didn't read op closely enough, looks like the permissions on folder where sda3 is mounted (/mnt/Public) restricts write to root only.
A search suggests a need for a umask option in fstab:
http://www.linuxquestions.org/questions/linux-newbie-8/write-permissions-in-etc-fstab-for-vfat-filesystem-376215/
-
Many thanks, again, nightflier.