[wplug] Compact Flash Directories

Eric C. Cooper ecc at cmu.edu
Mon Dec 15 19:21:36 EST 2003


On Mon, Dec 15, 2003 at 07:14:46PM -0500, Tim Quinlan wrote:
> I have a CF reader that i use to copy photos from CF cards.  After I
> mount the CF reader the photos show up in /mnt/cf-reader/dcim/cannon
> 
> As root this works fine, I can go in and look at the files.  But as a
> normal user the dcim folder shows up as a regular file, and therefore I
> cannot cd into it.
> [...]
> When I mount the device all I do is 
> mount /dev/sdc1 /mnt/cf-reader.  

VFAT files don't really have user or group ids, so
instead you pick them for the whole filesystem at mount time:

mount /dev/sdc1 /mnt/cf-reader -o uid=yourlogin,gid=yourgroup

-- 
Eric C. Cooper          e c c @ c m u . e d u



More information about the wplug mailing list