permission problem again
tomahadi at gmail.com
Sat Mar 14 22:22:56 UTC 2009
> Message: 4
> Date: Sat, 14 Mar 2009 16:29:54 -0200
> From: Norberto Bensa <nbensa at gmail.com>
> Subject: Re: permission problem
> To: "Ubuntu user technical support, not for general discussions"
> <ubuntu-users at lists.ubuntu.com>
> <84250c9c0903141129m6e9f0690kd7dbb61af321c0c9 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> On Sat, Mar 14, 2009 at 4:19 PM, Mahadi Hasan <tomahadi at gmail.com> wrote:
>> I have recently installed Ubuntu 8.10. Every time ?I boot ubuntu I
>> need to mount windows drives, formatted with FAT32, manually. But I
>> want them to mount automatically every time I boot Ubuntu. How do I do
> echo "/dev/your-parition /your-mount-point vfat defaults 0 0" | sudo
> tee -a /etc/fstab
>> One of the drives is only accessible by me ( I'm the administrator)
>> while other users don't have the permission neither to read nor write.
>> How do I make the drive accessible for others?
> Is this the same drive you describe above?
> You could create a group, add the users to that group and finally
> mount the drive with permissions for the group:
> sudo groupadd canseedrive
> sudo gpasswd -a user1 canseedrive
> sudo gpaaswd -a user2 canseedrive
> sudo gpasswd -a user3 canseedrive
> sudo mount -o devgid=canseedrive,devmode=0660 -t vfat /dev/partition
> Note that f you want to mount on boot, you should replace "defaults"
> with "devgid=....." in the fstab line I wrote above.
After lots of studying and thinking I have finally had the drives
mounted automatically when I boot Ubuntu, and made it accessible for
I did this:
Below is the fstab file of my system including the bottom two lines added by me:
# /etc/fstab: static file system information.
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
UUID=1f66d389-9ee8-47d8-8ee6-9c384ee1c700 / ext3
relatime,errors=remount-ro 0 1
UUID=5ec0269f-6867-4350-ab8c-e1d9ed7a03d6 none swap sw
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
UUID=6488EB4A88EB18F6 /media/c ntfs-3g
UUID=28A7-268E /media/d vfat
Now it can mount automatically and be accessible by other users. But I
can't change permissions of folders/files inside the drives even the
folders/files inside my home directory. I used:
But did not work. What do I do?
More information about the ubuntu-users