Problem in mounting disks

Roger rnodal at gmail.com
Wed Nov 18 21:32:33 UTC 2009


On Wed, Nov 18, 2009 at 4:26 PM, arshad <arshad3m at gmail.com> wrote:
> 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
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>

I think this link will help you a lot.

http://ubuntuforums.org/showthread.php?t=283131

-r




More information about the ubuntu-users mailing list