Mounting a partition without root permissions

From: Lev Aronsky (aronsky_at_gmail.com)
Date: 09/30/05


Date: 30 Sep 2005 07:23:24 -0700

Hello!

I have a problem, a solution to which I've been looking for a while
now.
I have a dual-boot system, with Fedora Core 4 installed on one
partition, and Windows XP installed on another.
Among the partitions I have, there's an NTFS partition at /dev/sda4,
which I would like to mount under Linux. Problem is - I cannot do this
without root permissions. All the solutions I found all over the
internet, refer to the file /etc/fstab and suggest to add the 'user'
option to the device I would like to mount without root access. Now,
I've done that, and it solves the problem - partially:
I do get the permission to mount the drive as non-root - but at the
moment I do that, the mount point's ownership changes to root, and
everybody else loses the access to the mount point. All this, of
course, until I unmount - at that stage the mount point's ownership
reverts to my user. One thing I thought would help is to give my user
permissions to access the /dev/sda4 device, yet it doesn't help even
with full permissions on the device... I'm totally frustrated by that,
and stuck without any ideas...

I would appreciate any help...
Thanks in advance,
Lev.



Relevant Pages

  • Re: R/W access of a vfat partition by any user ?
    ... FAT32 partition will be writable by any user instead of just root. ... users Allow every user to mount and unmount the file system. ... The 'umask=022' makes all files and directories have rwxr-xr-x permissions. ... If you want different perms and you don't speak binary, ...
    (alt.os.linux.suse)
  • Re: writeprotection of unmounted mountpoints automaitcally - possible??
    ... >>options should change the permissions. ... Changing the mount point options does not affect the mount ... root can still write to the raw device, ... will be usable by the regular user, but the directory will not be ...
    (Fedora)
  • Re: Write access to a VFAT partition
    ... Only root has write access. ... > VFAT partition when it is mounted under Linux. ... Changing the permissions of the mount point won't help. ...
    (comp.os.linux.misc)
  • Re: Mounting a partition without root permissions
    ... > option to the device I would like to mount without root access. ... the user option is /etc/fstab. ... > with full permissions on the device. ...
    (comp.os.linux.misc)
  • Re: writeprotection of unmounted mountpoints automaitcally - possible??
    ... but change the permissions didn't help. ... >Changing the mount point options does not affect the mount ... root can still write to the raw device, ... >will be usable by the regular user, but the directory will not be ...
    (Fedora)