FS-mounting as user woes

From: Robert Waldner (rw_at_coretec.at)
Date: 08/02/04

  • Next message: John Summerfield: "Re: How to Move from 1 drive to another?"
    To: debian-user@lists.debian.org
    Date: Mon, 02 Aug 2004 12:06:47 +0200
    
    
    

    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 /
    
    

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

    • application/pgp-signature attachment: stored

  • Next message: John Summerfield: "Re: How to Move from 1 drive to another?"

    Relevant Pages

    • Re: Mount issue
      ... This is telling you that the discovered device/partition is sdb1, ... you should try to mount /dev/sdb1. ... Try renaming the volume label on the drive, or get its UUID and mount that way. ... I will try it on another Linux box when I can get to one. ...
      (Ubuntu)
    • Re: [SLE] Cant mount the UnixWare 7.1.4 drive on SUSE Linux 10.0
      ... SCSI device sdb: drive cache: write through ... looks to me like it's being treated as a primary partition (sdb1) containing ... mount: you must specify the filesystem type ...
      (SuSE)
    • Re: Mount issue
      ... This is telling you that the discovered device/partition is sdb1, ... you should try to mount /dev/sdb1. ... Try renaming the volume label on the drive, or get its UUID and mount that way. ...
      (Ubuntu)
    • Re: F8 -> 9 oops :-(
      ... my F8 system is still intact on sdb1. ... available for copying stuff from? ... I want to mount "/" from the old system... ...
      (Fedora)
    • devices showing in My Computer?
      ... Is there a way to have manually mounted devices, like sda1 and sdb1, or ... their mount points show in My Computer? ...
      (alt.os.linux.suse)