When I install Salix, I create a new user zw963:users, and I have a NTFS partition mount as /ntfs-d,
this partition can access with root, but can not access with user zw963,
What can i to do if i want to access NTFS partition with new create user?
Thanks.
New user access /ntfs-d
Re: New user access /ntfs-d
Edit /etc/fstab so that partition is mounted automatically with more permissive rights. I think there is something about fstab in the Guide, and failing that, I believe there is an excellent wikipedia article explaining it. It's possible to set this up durig installation, though I can't remember whether there is an option to specify permissions. Wikipedia is also excellent on the latter.
Re: New user access /ntfs-d
Code: Select all
sudo chown -R zw963:users /ntfs-d
Re: New user access /ntfs-d
Thanks all.gapan wrote:and use the uid and gid options when mounting, read the mount manpage for more info.Code: Select all
sudo chown -R zw963:users /ntfs-d
Though I don't think
gapan wrote:is a good idea.Code: Select all
sudo chown -R zw963:users /ntfs-d
this partition is used by win7.
I will try remount things in mtab latter, so good tips!
Re: New user access /ntfs-d
Do not mount ntfs partitions in fstab.
Salix will do it for you, so the user will have full access read/write permissions.
Or put something like this in fstab
/dev/sda1 /media/Windows ntfs-3g nosuid, noexec, nodev, noatime, fmask=0133, uid=$UID, gid=$GID, utf8
Salix will do it for you, so the user will have full access read/write permissions.
Or put something like this in fstab
/dev/sda1 /media/Windows ntfs-3g nosuid, noexec, nodev, noatime, fmask=0133, uid=$UID, gid=$GID, utf8