Root isn't God

Bruce W. Bigby bbigby at rochester.rr.com
Sat Dec 20 13:53:09 UTC 2003


On Sat, 2003-12-20 at 06:43, Ivan F. Martinez wrote:
> On Sat, 20 Dec 2003 12:19:53 +0100
> Nicolò Nepote <nepote at cclinf.polito.it> wrote:
> 
> NN> I have mounted a fat32 partition 7dev/hda2 on /mnt/data with the
> NN> vfat option and added an entry in /etc/fstab with auto option. The
> NN> folder /mnt/data was created with default umask and has 755
> NN> permissions. In order to have the possibility to write on that disk
> NN> when I login as "nepote" (that is my usual identity and is part of
> NN> the group "root") i logged in as root and:
> NN> 
> NN> chmod 775 /mnt/data -R
> NN> 
> NN> the command returns a list off "you don't have enough permissions
> NN> (requested 775, was 755)"
> NN> 
> NN> ?????????
> 
> 
> You can't change permissions on vfat with chown and chmod.
> man mount 
> and look the options to specify this parameters at mount time.
> 

Here's an example of my fstab entry:

/dev/hda1       /c          vfat   
defaults,uid=bigby,gid=bigby,umask=007   1 2

The umask makes the files and directories rwx for user and group, and
NOT readable, writable, or executable by other.  The bigby is my family
group. Anyone in my family can read, write, or search/execute the
files.  Noone else can do a thing.
-- 
Bruce W. Bigby
http://home.rochester.rr.com/bigbyofrocny
Don't be fooled by sale pitches.  The only money that you save is
money that you keep.  Anything less is a deception.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20031220/b493b772/attachment-0002.bin 


More information about the users mailing list