Please support VectorLinux!

Author Topic: Public directory (SOLVED)  (Read 1942 times)

StrayBit

  • Vectorian
  • ****
  • Posts: 542
    • Middleton Post 39
Public directory (SOLVED)
« 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:
Quote
/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.
Quote
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 tried
Quote
root:# 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?
« Last Edit: July 30, 2017, 12:01:29 pm by StrayBit »
7.2 STD B2 built on Feb-01-2017
HP 670 Win7 & VL7.0

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4459
Re: Public directory
« Reply #1 on: July 29, 2017, 11:19:32 am »
Filesystem "vfat" does not support unix permissions.
Are you sure the partition is mounted "rw"?

StrayBit

  • Vectorian
  • ****
  • Posts: 542
    • Middleton Post 39
Re: Public directory
« Reply #2 on: July 29, 2017, 03:25:41 pm »
Would I need to change fstab shown above?
7.2 STD B2 built on Feb-01-2017
HP 670 Win7 & VL7.0

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4459
Re: Public directory
« Reply #3 on: July 30, 2017, 04:28:15 am »
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/

StrayBit

  • Vectorian
  • ****
  • Posts: 542
    • Middleton Post 39
Re: Public directory
« Reply #4 on: July 30, 2017, 12:00:57 pm »
Many thanks, again, nightflier.
7.2 STD B2 built on Feb-01-2017
HP 670 Win7 & VL7.0