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

Re: 'umask' and mounting of vfat filesystem.



Hello

Daniel M. (<xt@nm.ru>) wrote:

> Another question: my shell process's file creation mask is '0022',
> which means that if 'umask' option is not used in 'mount' command
> when mounting vfat filesystem, the default permissions would be
> '-rwxr-xr-x'. But the actual permissions I get are: '-rwxr--r--'
> (the files mentioned above once again get different permissions:
> '-r-xr--r--'). Why is that so?

Recent versions of mount use a fixed umask and ignore the current umask.
I think it was done to create /etc/mtab with safer permissions, but has
side effects. Check the bug database for more info.

best regards
        Andreas Janssen

-- 
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps.html



Reply to: