You are not logged in.
I would like to mount the NTFS partition automatically with the current user ownership, is this possible?
For example, if the current user is "hikaya", then the NTFS partition is mounted automatically when the user is login, the owner and group is under "hikaya". Besides that, the umask of the NTFS is defined with umask=003.
I have tried in fstab, but the user and group is defined with uid and gid.
Another questions is, when the USB storage is plugin, it is auto mounted, but I also wish to mount it with umask=003, how to configure this? Is it related to HAL configuration?
Last edited by allencch (2011-04-09 15:19:20)
Offline
man mount.ntfs-3g, see what uid/gid/fmask/dmask/umask does.
Edit: No, it has nothing to do with hal, in fact you shouldn't be using hal at all.
And for internal discs, mount them in fstab instead of using automounting.
Last edited by Mr.Elendig (2011-04-09 11:43:05)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
This might help.
$ mount /mnt/win-backup
Unprivileged user can not mount NTFS block devices using the external FUSE
library. Either mount the volume as root, or rebuild NTFS-3G with integrated
FUSE support and make it setuid root. Please see more information at
http://ntfs-3g.org/support.html#unprivileged
Offline
/dev/sda2 /media/data ntfs-3g defaults,umask=002,fmask=113,gid=100,uid=1000 0 0
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Thank you. I think I will stick the the fstab to solve the umask problem.
Offline