Thread: Configure fstab to change ownership to specific user
haylo all,
want mount ntfs partition 'dbs' (user) owner mount point , files inside mount.
tried changing permissions first on mount point directories, e.g., /media/data using:
sudo chown dbs /media/data
, did change ownership, after mounting, ownership changed root.
fstab entry looks like:
/dev/sda2 /media/data ntfs rw,auto,dbs,sync 0 0
want mount /dev/sda2 @ /media/data owner 'dbs' , permission 777 on every file , folder.
please me on , keep simple.
http://opensuse.swerdna.org/susentfs.html
the source mentions open suse, fstab kin of global linux thing can safely use information. use uid, set userid , gid set groupid, after use umask set permissions on mounting point. (umask complete opposite of standard permissions. (calculate performing 7777-'desired permission'=umask)/dev/sdb1 /path_to/mount_point ntfs-3g uid=suzette,gid=users,umask=0022 0 0
ntfs doesn't use permissions linux uses ext[1-4]. using above set permissions on mounting point not files in teh ntfs filesystem.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Configure fstab to change ownership to specific user
Ubuntu
Comments
Post a Comment