Access Rights

Discussion in 'Linux, BSD and Other OS's' started by StimpE, Sep 23, 2006.

  1. StimpE

    StimpE lol, Internet!

    Likes Received:
    1
    Trophy Points:
    18
    I can't enter my hdb mountpoint because my user apparently doesn't have the access rights to do so. When I try as root it of course allows me. So how do I give myself access rights to view the drive?
    Here's a pic:
    http://igotsubs.com/wallpaperrz/snapshot1.png
     
  2. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    how are you trying to change the permissions ? i would have though you'd be best to edit fstab

    [ot]BTW: hows mandy[/ot]
     
  3. Anti-Trend

    Anti-Trend Nonconformist Geek

    Likes Received:
    118
    Trophy Points:
    63
    Please do this:
    Code:
    ls -lah /mnt/
    ...and post the results here. Also, the contents of your /etc/fstab file would be useful as well.

    Thanks,
    -AT
     
  4. StimpE

    StimpE lol, Internet!

    Likes Received:
    1
    Trophy Points:
    18
    Code:
    [landon@localhost ~]$ ls -lah /mnt/
    total 18K
    drwxr-xr-x   6 root root 4.0K Sep 20 15:39 ./
    drwxr-xr-x  19 root root 4.0K Sep 24 12:58 ../
    dr-xr-xr-x   1 root root 2.0K Dec 20  1999 cdrom/
    drwxr-xr-x   2 root root 4.0K Sep 20 15:09 cdrom2/
    drwxrwxrwx   0 root root    0 Sep 24 12:58 floppy/
    drwxr-xr-x   2 root root 4.0K Sep 20 15:39 hdb/
     
  5. Anti-Trend

    Anti-Trend Nonconformist Geek

    Likes Received:
    118
    Trophy Points:
    63
    OK, thanks. Now please post the contents of your fstab:
    Code:
    cat /etc/fstab
     
  6. StimpE

    StimpE lol, Internet!

    Likes Received:
    1
    Trophy Points:
    18
    Code:
    [landon@localhost ~]$ cat /etc/fstab
    # This file is edited by fstab-sync - see 'man fstab-sync' for details
    /dev/hda1 / ext3 defaults 1 1
    /dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0
    /dev/hdd /mnt/cdrom2 auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0
    none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,sync,codepage=850 0 0
    /dev/hdb1 /mnt/hdb/ ntfs defaults 0 0
    none /proc proc defaults 0 0
    /dev/hda2 swap swap defaults 0 0
    The drive isn't plugged in right now im just doing some data transfer/backup, so if somethings missing thats why.
     
  7. kenji san

    kenji san Geek Trainee

    Likes Received:
    0
    Trophy Points:
    0
    Code:
    /dev/hdb1 /mnt/hdb/ ntfs [B]defaults[/B] 0 0
    The setting is defaults and this will not allow regular users to access.
    Code:
    /dev/hdb1 /mnt/hdb ntfs [B]rw,users[/B] 0  0
    should work but I am not familiar with ntfs mount options in mandriva.
     

Share This Page