[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 'umask' and mounting of vfat filesystem.



On Mon, Aug 16, 2004 at 11:43:09PM -0700, Daniel M. wrote:
> Hello everybody,
> 
> According to the man page for 'mount', 'umask=value' is used as follows:
> 
> 
> "umask=value
>               Set  the  umask  (the  bitmask  of  the permissions that are not
> 	      present). The default is the umask of the current process.   The
> 	      value is given in octal."
> 
> But somehow I don't succeed in getting that behavior. For example,
> if I set 'umask=0000', I am supposed to get '-rwxrwxrwx' permissions.
> But some files/directories have '-r-xr-xr-x' permissions (for example,
> in the root directory of vfat's filesystem those files are: msdos.sys, 
> ntdetect.com, ntldr, io.sys, 'Program Files'. There are other (non-system)
> files, deeper in the directory structure, which also get those incorrect 
> permissions). 

VFAT doesn't support unix-style file permissions. What you're seeing
is a unix-style system trying to do the best it can on a crappy
filesystem. It won't get any better than what you've got.

-- 
Pigeon

Be kind to pigeons
Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F

Attachment: signature.asc
Description: Digital signature


Reply to: