mount disk as normal user

Derek Broughton news at pointerstop.ca
Fri Oct 5 12:46:07 UTC 2007


Nils Kassube wrote:

> OOzy Pal wrote:
>> I am mounting a disk as follows:
>>
>> /dev/sdb1  /media/backup  ext3 rw,user,sync,auto,exec 0 0
>>
>> and yet still is mounted and owned by root. How can I mounted has
>> oozy.oozy which my acount so I can read/write with using sudo
> 
> sudo mkdir /media/backup/oozy-backup
> sudo chown oozy.oozy /media/backup/oozy-backup
> 
> Then you should be able to write to that directory.

I believe he needs "noauto" in fstab.  If it's mounted "auto", root's going
to be the mounter.  You need to mount it yourself to own it.
-- 
derek





More information about the ubuntu-users mailing list