Making CompactFlash user-owned partition/directory

From: Charlie Zender (zender_at_uci.edu)
Date: 10/31/04

  • Next message: Mirek Stefanski: "Re: oddity with find -exec grep -i"
    Date: Sun, 31 Oct 2004 11:15:46 -0800
    To: Debian User <debian-user@lists.debian.org>
    
    

    Hi,

    I am running a fully update Debian Sid linux with 2.6.7 kernel.
    I am mounting a CompactFlash partition through my PCMCIA adaptor as

    root@elnino:~# mount -t vfat -o umask=022 /dev/hde1 /cf

    The umask allows users to read and write to the /cf partition.
    However, I cannot figure out how to create user-owned directories.

    root@elnino:/cf# ls -ld /cf
    drwxr-xr-x 3 root root 16384 Oct 31 11:09 /cf
    root@elnino:/cf# mkdir /cf/zender
    root@elnino:/cf# chown zender zender
    chown: changing ownership of `zender': Operation not permitted
    root@elnino:/cf# ls -ld zender
    drwxr-xr-x 2 root root 16384 Oct 31 11:09 zender

    zender is a valid user account on this machine,
    why can't root changed ownership of zender directory to zender?

    Is there a mount option that I need to set?
    While I'm at it, how do I enable a user to mount and own the
    whole /cf partition?

    Any help appreciated,
    Charlie

    -- 
    Charlie Zender, surname@uci.edu, (949) 824-2987, Department of Earth
    System Science, University of California, Irvine CA 92697-3100
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Mirek Stefanski: "Re: oddity with find -exec grep -i"

    Relevant Pages

    • Making CompactFlash user-owned partition/directory
      ... The umask allows users to read and write to the /cf partition. ... root@elnino:/cf# chown zender zender ... why can't root changed ownership of zender directory to zender? ... Is there a mount option that I need to set? ...
      (comp.os.linux.misc)
    • Re: Making CompactFlash user-owned partition/directory
      ... This is a vfat partition and therefore has no concept of owners, ... On vfat all directories will be owned by the user declared at mount time ... You mounted /cf as root, so it is owned by root ... >why can't root changed ownership of zender directory to zender? ...
      (comp.os.linux.misc)