New user access /ntfs-d

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
zw963
Posts: 82
Joined: 13. Mar 2014, 18:36

New user access /ntfs-d

Post by zw963 »

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.
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: New user access /ntfs-d

Post by mimosa »

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.
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: New user access /ntfs-d

Post by gapan »

Code: Select all

sudo chown -R zw963:users /ntfs-d
and use the uid and gid options when mounting, read the mount manpage for more info.
Image
Image
zw963
Posts: 82
Joined: 13. Mar 2014, 18:36

Re: New user access /ntfs-d

Post by zw963 »

gapan wrote:

Code: Select all

sudo chown -R zw963:users /ntfs-d
and use the uid and gid options when mounting, read the mount manpage for more info.
Thanks all.
Though I don't think
gapan wrote:

Code: Select all

sudo chown -R zw963:users /ntfs-d
is a good idea.
this partition is used by win7.

I will try remount things in mtab latter, so good tips!
djemos
Salix Warrior
Posts: 1464
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: New user access /ntfs-d

Post by djemos »

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
Post Reply