View previous topic :: View next topic |
Author |
Message |
ckenda1 Tux's lil' helper
Joined: 19 Feb 2004 Posts: 126
|
Posted: Sat Sep 03, 2005 2:15 am Post subject: user access to /dev/sda* help! |
|
|
Hello Everyone.
I have a FujiPix S5100 Camera and it works great. When I plug it into the computer via USB it connects and its memory card is listed as /dev/sda1. I have edited fstab to mount /dev/sda1 to /mnt/camera. I also checked the UDEV rules and noticed that to access sd* you need to be in the disk group. So I added my user to the disk group.
Even after doing all this my user still cannot access /mnt/camera, just root can. Am I missing something? Any help would be much appreciated! TIA!
-ckenda1 |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Sat Sep 03, 2005 3:22 am Post subject: |
|
|
Hi.
How is your memory card mounted? Please post the output of the following after mounting the card.
If you have parted installed do the next line, if not do the other one.
Code: | # parted -s /dev/sda print
# mount |
_________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
fn42 n00b
Joined: 03 Sep 2005 Posts: 1
|
Posted: Sat Sep 03, 2005 3:54 pm Post subject: |
|
|
What does your fstab entry look like? Does it have the 'user' option?
E.g.:
/dev/sda1 /mnt/camera auto user 0 0
The 'user' mount option allows users to mount the drive. From `man mount`:
(iii) Normally, only the superuser can mount file systems. However,
when fstab contains the user option on a line, then anybody can mount
the corresponding system.
Thus, given a line
/dev/cdrom /cd iso9660 ro,user,noauto,unhide
any user can mount the iso9660 file system found on his CDROM using the
command
mount /dev/cdrom
or
mount /cd
For more details, see fstab(5). Only the user that mounted a filesys-
tem can unmount it again. If any user should be able to unmount, then
use users instead of user in the fstab line. The owner option is simi-
lar to the user option, with the restriction that the user must be the
owner of the special file. This may be useful e.g. for /dev/fd if a
login script makes the console user owner of this device. |
|
Back to top |
|
|
|
|
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
|
|