You are not logged in.
Pages: 1
Hi,
I have problems accessing ntfs partitions as a non root user. The user trying to acces the partition is in usergroup wheel and has sudo acces.
/etc/fstab looks like this:
/dev/sda5 /media/winC ntfs defaults 0 2
/dev/sdb1 /media/winD ntfs defaults 0 2It does not matter where I mount them (e.g. /home/user/media/winC), if i try cd-ing into the directory, it tells me:
cd /medi/winC
-bash: cd: /media/winC: Permission deniedWhen i try the following, it tells me:
sudo cd /medi/winC
sudo: cd: command not foundwhich I find a bit strange, but ok.
Any pointers what I am doing wrong? cd-ing as root works, but i would like to acces it as a normal user too. Using the following options did not work for me:
rw,suid,dev,exec,auto,users,asyncmount -l tells me the following when using the options stated above:
/dev/sda5 on /media/winC type ntfs (ro,nosuid,nodev,noexec,relatime,uid=0,gid=0,fmask=0177,dmask=077,nls=utf8,errors=continue,mtf_zone_multiplier=1)Thanks for any pointers!
Offline
You should use ntfs-3g instead of ntfs. I'm not sure if that will solve this problem, though it might, but it will prevent others.
As for "sudo cp" failing, that is not odd at all: `cd` is not a program, it is a shell builtin - there is no `cd` binary for sudo to execute.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
You should use ntfs-3g instead of ntfs. I'm not sure if that will solve this problem, though it might, but it will prevent others.
As for "sudo cp" failing, that is not odd at all: `cd` is not a program, it is a shell builtin - there is no `cd` binary for sudo to execute.
Thanks for the explanation. I will try ntfs-3g as soon as I manage to connect to the internet again.
Offline
In addition to trying ntfs-3g, how are you mounting the drive. Using the mount command will make the file system read only for users. You can try udisks --mount /dev/sdx to get read/write permission. (assuming your DE doesn't already automount the drive, in that case, you should get rw access already).
Offline
Pages: 1