Hello

Daniel M. (<[EMAIL PROTECTED]>) 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 <[EMAIL PROTECTED]>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to