[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

FS-mounting as user woes



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:
    :) waldner@fsck->~ $ ls -l /home/ | grep huge
    drwxr-xr-x    2 root     root         4096 2004-07-22 09:38 huge
    :) waldner@fsck->~ $ mount /home/huge/
    :) waldner@fsck->~ $ 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:
    :) waldner@beren->/mnt $ ls -l | grep stick
    drwxrwxr-x    2 root     root         1024 Mar 29 12:39 stick
    :) waldner@beren->/mnt $ mount /mnt/stick/
    :) waldner@beren->/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).

cheers+TIA,
&rw
-- 
/ Ing. Robert Waldner | Security Engineer |  CoreTec IT-Security  \
\   <rw@coretec.at>   | T +43 1 503 72 73 | F +43 1 503 72 73 x99 /


Attachment: pgpcKLQIbEXMf.pgp
Description: PGP signature


Reply to: