[Ilugc] External hard disk with RW permission

  • From: linuxdassa@xxxxxxxxx (Anu-Linux)
  • Date: Sat Jan 31 16:44:45 2009

Hi Padhu,


On Sat, Jan 31, 2009 at 4:20 PM, ????????? <indianathann@xxxxxxxxx> wrote:

Dear LUGs,
                      I am having external Hard Disk of 80GB with ext3 file
system. I am using Ubuntu 8.10Whenever usb Disk is mounted, i could not
write anything in normal user. I todo my things in terminal by root user. I
want an auto mount provision with Read/Write permissions for all users.


you can set the permission with the 'chmod' command and ownerships with
'chown' command.

First give the owner ship of the mount point,

# chown [users]
# chmod 775

you can give all the permission to every one with the notation 777.

and add  a line in /etc/fstab and in /etc/mtab to make it auto mount,

with fstab, it'll auto mount any disk stated in /etc/fstab file, with mtab,
it'll mount the disk is inserted.

/dev/sda1 /media/usbdisk ext3 rw, (state the options you want).

here make sure, your mount point is /media/usbdisk or what ever the name you
give in the /media/[directory]

ATB,
-- 
??????????? ??????.
D. AnuradhA
Step to the future with FOSS!

My Blog : http://blog.mihikatha.net/
????? blog ?????: http://anuradha-life.blogspot.com/
My Photo Galleries : http://www.flickr.com/photos/dasun
http://picasaweb.google.com/linuxdassa

Other related posts: