Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mounting usb device as user not working<SOLVED>
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mlmartin
n00b
n00b


Joined: 29 Aug 2004
Posts: 31

PostPosted: Sat Sep 25, 2004 9:02 pm    Post subject: Mounting usb device as user not working<SOLVED> Reply with quote

I am able to mount and explore my folders on my camera as root, but I cannot do it as a normal user. I did a chmod 777 on my folder, but when I mount my camera it makes it go to this
Code:

drwxr--r--  3 root root 8192 Dec 31  1969 usb

I mount it this way:
Code:

mount /dev/sda1 /mnt/usb


Last edited by mlmartin on Sat Sep 25, 2004 9:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Sat Sep 25, 2004 9:08 pm    Post subject: Reply with quote

Add this
Code:
/dev/sda1               /mnt/usb           auto            noauto,user                             0 0

to /etc/fstab and type
Code:
mount /mnt/usb


If you like to force permissions you can modify this line.
Code:
noauto,user,uid=1000,gid=100
(Type id as user and use the values assigned there)
Back to top
View user's profile Send private message
mlmartin
n00b
n00b


Joined: 29 Aug 2004
Posts: 31

PostPosted: Sat Sep 25, 2004 9:36 pm    Post subject: Reply with quote

SOLVED Over looked the fact that there was problems in my /etc/fstab. Works lot better now.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum