Mount ext3 with user permission.

Team,

I would like to mount an ext3 partition with user permission. I am able to mount the device using root but I would like to mount as user "foo" so that user "foo" will have all the permission (ie. rw).

Is there any way I can mention in /etc/fstab file? I have directory in /mnt/data and I am able to use [cmd=]sudo mount -t /dev/ads1p4/ /mnt/data[/cmd] but it's mounting as root.

---
gnmk
 
Ah no, something wrong, I have followed the document and give permission to user using vfs.usermount=1 and I tried using root to check mount info I found below error.

Code:
[root@gnmk /mnt]# mount -t ext2fs -o -m=644,-M=755 /dev/ad10s5 /mnt/emacs/
mount: illegal option -- m
usage: mount [-t fstype] [-o options] target_fs mount_point
--
gnmk
 
Back
Top