You are not logged in.

#1 2009-02-10 22:03:38

LonelyStar
Member
Registered: 2007-12-09
Posts: 123

Can not access usb hd as normal user

Hi,

I am trying to give read and write permissions to a normal user on my usb hd. This is in my fstab:

#/dev/sdc1 /media/usb  auto rw,user,exec,dev,suid,user 0 0
/dev/sdc1 /media/usb  auto defaults,user 0 0

(I tried the commented as well as the not commented line).
I can mount /media/usb as a normal user succesfully, but then:

> ls /media/usb/
ls: cannot open directory /media/usb/: Permission denied

The permisions of /media/usb are:

drwxr-xr-x 2 ls   users 4096 2008-11-28 21:41 usb

(ls is my username).
I can access as root.

What could be wrong?

Thanks!
Nathan

Last edited by LonelyStar (2009-02-10 22:03:55)

Offline

#2 2009-02-10 22:26:53

Nezmer
Member
Registered: 2008-10-24
Posts: 559
Website

Re: Can not access usb hd as normal user

What is the filesystem used in your partition ?
Can you post the output of 'cat /proc/mounts' .


English is not my native language .

Offline

#3 2009-02-10 22:55:10

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,503
Website

Re: Can not access usb hd as normal user

Look at the hal wiki article.

Offline

Board footer

Powered by FluxBB