Robert Waldner wrote:
Hi!
On my 'orkstation at home, I have the following in /etc/fstab: /dev/hdd1 /home/huge auto user,noauto 0 0 /dev/sdb1 /mnt/reader vfat defaults,user,noauto 0 0 and can therefore mount it as user: :) [EMAIL PROTECTED]>~ $ ls -l /home/ | grep huge drwxr-xr-x 2 root root 4096 2004-07-22 09:38 huge :) [EMAIL PROTECTED]>~ $ mount /home/huge/ :) [EMAIL PROTECTED]>~ $ ls -l /home/ | grep huge drwxr--r-- 15 waldner waldner 8192 1970-01-01 01:00 huge
Perfect (works for sdb1, too).
But on my lapdog, the same doesn't work:
/dev/sda1 /mnt/stick vfat defaults,user,noauto 0 0
I can mount it as user, but the directory afterwards belongs to root, which isn't exactly helpful for reading the contents as user:
:) [EMAIL PROTECTED]>/mnt $ ls -l | grep stick
drwxrwxr-x 2 root root 1024 Mar 29 12:39 stick
:) [EMAIL PROTECTED]>/mnt $ mount /mnt/stick/
:) [EMAIL PROTECTED]>/mnt $ ls -l | grep stick
drwxr--r-- 4 root root 16384 Jan 1 1970 stick
Any idea what could be the problem here (other than the one between keyboard and chair)? Both boxen run well-intermixed testing/unstable, nearly the same kernel (home: 2.4.26-1-k7, lapdog: 2.4.26-1-686) and the same mount (2.12-7).
man mount man fstab
With FAT there's an option to specify who owns the files, and what {U,G}IDs apply.
--
Cheers John
-- spambait [EMAIL PROTECTED] [EMAIL PROTECTED] Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]