Problem in mounting disks

arshad arshad3m at gmail.com
Wed Nov 18 21:26:25 UTC 2009


ok i added the following lines to /etc/fstab and seems to work now

/dev/sda1	/media/Cdrive ntfs-3g ro,auto,user,fmask=0111,dmask=0000 0 0
/dev/sda2	/media/Ddrive ntfs-3g ro,auto,user,fmask=0111,dmask=0000 0 0

UUID=886C-4796	/media/Pendrive vfat user,auto,fmask=0111,dmask=0000   0
0


by the way i don't know why /media/Pendrive directory is not accessible
by other users. any idea?

also @ Roger can you please tell me how to give specific user/groups
access?

thank you very much
On Wed, 2009-11-18 at 16:02 -0500, Roger wrote:

> On Wed, Nov 18, 2009 at 3:58 PM, bqz69 <bqz69 at telia.com> wrote:
> >> > Edit the /etc/sudoers file, and add to the end:
> >> > username                ALL=(ALL) ALL
> >> > One line for each user.
> >> > Then save the file.
> >> > See man sudoers
> >
> >> Probably not a good idea.
> >
> > Please tell us why, I would like to know :-)
> >
> >
> > --
> > ubuntu-users mailing list
> > ubuntu-users at lists.ubuntu.com
> > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> >
> 
> Because that would give each user the ability to "sudo whatever" and
> that and giving them root access
> is the same. Unless I have overlooked something. Just mount the drive
> with a specific group id and add the users to
> that group and they should have access to the drives.
> 
> -r
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20091119/6f7bf41a/attachment.html>


More information about the ubuntu-users mailing list