(un)mounting smb shares

From: Joerg Johannes (liste_joerg_at_gmx.de)
Date: 01/30/04

  • Next message: Ina Mentis: "Urgent maybe simple request"
    To: Debian-user <debian-user@lists.debian.org>
    Date: Fri, 30 Jan 2004 12:18:32 +0100
    
    
    

    Hi everybody

    At our university, I can mount a smb directory at our computing centre
    by giving my username and password. I have in my /etc/fstab:

    //myusername.files.uni-freiburg.de/windows /home/jorg/files
    smb username=myusername,user,noauto,rw 0 0

    When I type "mount files/" in my home directory, I am asked to give my
    password, and then I can read/write to the network dir without problems.
    The problem comes when I want to umount the directory:

    umount files/
    umount: only root can unmount //myusername.files.uni-freiburg.de/windows
    from /home/jorg/files

    Can anybody tell my why, and how to fix it? I'd like to umount this dir
    as normal user.

    Thanks,
    joerg

    -- 
    Gib GATES keine Chance!
    
    

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


  • Next message: Ina Mentis: "Urgent maybe simple request"

    Relevant Pages

    • Re: (un)mounting smb shares
      ... I can mount a smb directory at our computing centre ... > The problem comes when I want to umount the directory: ... > as normal user. ... Consider using autofs to automatically mount and umount the shares on ...
      (Debian-User)
    • Re: Unable to unmount idle filesystem on 6.2
      ... devfs on /dev ... # umount -f /usr/ports ... # mount -o ro /usr/ports ... The filesystem was mounted read-only, then upgraded to rw so I could update the ports tree. ...
      (freebsd-questions)
    • Re: Switch-off problem
      ... - I mount the remote usb drive. ... - my wife switches off her computer. ... I suppose the shutdown program also tries to umount nfs mounts, but fails, and then instead of skipping this step, just hangs. ... system hangs immediately after typing the first 3 characters" sounds very strange. ...
      (Debian-User)
    • Re: Unable to unmount idle filesystem on 6.2
      ... devfs on /dev ... # umount -f /usr/ports ... # mount -o ro /usr/ports ... The filesystem was mounted read-only, then upgraded to rw so I could update the ports tree. ...
      (freebsd-questions)
    • Re: [opensuse] Root receives "mount: permission denied" [solved]
      ... Run 'env' from both kinds of terminals, ones that can and can't mount, ... nimrodel:~ # env | grep XAUTHORITY ... umount: /home2: must be superuser to umount ...
      (SuSE)