Re: 'umask' and mounting of vfat filesystem.

From: Pigeon (jah.pigeon_at_ukonline.co.uk)
Date: 08/17/04

  • Next message: Rus Gre: "Re: getting too many the document contains no data"
    Date: Tue, 17 Aug 2004 00:34:28 +0100
    To: debian-user@lists.debian.org
    
    
    

    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
    
    

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    


  • Next message: Rus Gre: "Re: getting too many the document contains no data"

    Relevant Pages

    • Re: Chaos on a Linux box!
      ... has access to the root password on one of our servers and while writing ... Any tips on how to login to that system and remedy the situation by ... Once everything in the root directory has been moved elsewhere, ... on the filesystem used - which for servers would illogically but most ...
      (comp.os.linux.misc)
    • Re: Newbie how do I designate a disk to install software from the DVD?
      ... You do not install software "on other disks". ... Digital Research's CP/M operating system, ... sitting on the root filesystem - i.e. the main filesystem. ... directories in the root directory (or of nested directories in those ...
      (comp.os.linux.misc)
    • [PATCH] keys & keyring management: key filesystem
      ... Here's a preliminary look a patch I've concocted to make keys accessible ... it makes a filesystem that looks like: ... lookupon the root directory. ... Accessing keys this way requires more syscall invocations, ...
      (Linux-Kernel)
    • Whats the weirdest filesystem out there?
      ... I'm working on code which needs to break the pathname in a Java File ... An optional filesystem identifier. ... An optional root directory. ... Is there any platform out there that uses something than its directory ...
      (comp.programming)
    • Re: Do too many files hurt a directory?
      ... Directories don't shrink in UNIX? ... $ mkdir dir && cd dir && pwd ... > filesystem, it will generally be necessary to recreate the filesystem. ... > except the root directory of a filesystem). ...
      (comp.unix.questions)