You are not logged in.

#1 2010-08-16 21:10:00

herrvideman
Member
Registered: 2010-01-11
Posts: 111

[Solved] Can't change permissions on NTFS drive

I have an external HDD formatted in NTFS that I have my music collection on. I set MPD to read from it but it's not working. I think it is because only I have read permissions (since I'm the owner). When I try to change the permissions it doesn't seem to work (it is "disk" here):

[me@ArchComp media]$ ls -l
total 16
drwxr-xr-x 2 root root 4096 Jul 23 19:21 cd
drwx------ 1 me root 4096 Aug 15 21:47 disk
drwxr-xr-x 2 root root 4096 Jul 23 19:21 dvd
drwxr-xr-x 2 root root 4096 Jul 23 19:21 fl
[me@ArchComp media]$ chmod 744 disk
[me@ArchComp media]$ ls -l
total 16
drwxr-xr-x 2 root root 4096 Jul 23 19:21 cd
drwx------ 1 me root 4096 Aug 15 21:47 disk
drwxr-xr-x 2 root root 4096 Jul 23 19:21 dvd
drwxr-xr-x 2 root root 4096 Jul 23 19:21 fl

I'm not an expert with the cli, any ideas?

Last edited by herrvideman (2010-08-17 00:40:51)

Offline

#2 2010-08-16 21:25:44

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [Solved] Can't change permissions on NTFS drive

you have access to it but your group doesn't?? First change the group ownership

sudo chown me:me /media/disk

should do it. Then try changing it using chmod


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2010-08-16 21:26:56

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Can't change permissions on NTFS drive

How did you try to change the permissions and did you get any errors?

Offline

#4 2010-08-16 21:44:18

herrvideman
Member
Registered: 2010-01-11
Posts: 111

Re: [Solved] Can't change permissions on NTFS drive

[me@ArchComp media]$ sudo chown me:me /media/disk
Password: 
[me@ArchComp media]$ chmod 744 /media/disk
[me@ArchComp media]$ ls -l
total 16
drwxr-xr-x 2 root root 4096 Jul 23 19:21 cd
drwx------ 1 me root 4096 Aug 15 21:47 disk
drwxr-xr-x 2 root root 4096 Jul 23 19:21 dvd
drwxr-xr-x 2 root root 4096 Jul 23 19:21 fl

Nothing is changing. I don't get this

Offline

#5 2010-08-16 22:42:49

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Can't change permissions on NTFS drive

Unmount, remove that dir (disk), create a new one with the correct permissions.
To use NTFS you need ntfs-3g.

Offline

#6 2010-08-16 23:17:58

herrvideman
Member
Registered: 2010-01-11
Posts: 111

Re: [Solved] Can't change permissions on NTFS drive

I have ntfs-3g installed already.

I made a new directory and manually mounted it like you suggested and it worked. However I don't want to have to manually mount it every time I restart my computer. I have Xfce with Thunar and thunar-volman and that mounts it automatically with the permissions I showed earlier.

I just don't understand why when I give it the command to change the owner, the group, or the permissions it doesn't do it.

EDIT: I'm gonna try to set up mpd the alternate way so I won't have to worry about permissions. Still like to understand this current issue though.

Last edited by herrvideman (2010-08-16 23:23:20)

Offline

#7 2010-08-16 23:47:56

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [Solved] Can't change permissions on NTFS drive

ntfs as a filesystem has no concept of linux's owner/group/world permissions. Permissions set in stone at mount time via options. See mount(8).

Offline

#8 2010-08-17 00:40:18

herrvideman
Member
Registered: 2010-01-11
Posts: 111

Re: [Solved] Can't change permissions on NTFS drive

Well that explains it then. Now I can stop pulling my hair out and reformat it to ext or something. Thanks guys.

Offline

#9 2010-08-17 00:45:55

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Can't change permissions on NTFS drive

herrvideman wrote:

Well that explains it then. Now I can stop pulling my hair out and reformat it to ext or something. Thanks guys.

Why do you have it ntfs-formatted in the first place? If you want to access it from Windows, keep it in fat or ntfs. You need to change the way it's mounted and everything should be fine.

Offline

#10 2010-08-17 00:53:07

herrvideman
Member
Registered: 2010-01-11
Posts: 111

Re: [Solved] Can't change permissions on NTFS drive

It was in ntfs so I could access from Windows too (fat32 is too slow). But I don't have to worry about any more so I'm gonna reformat it.

I don't know how to change the way it's mounted with thunar-volman.

Offline

Board footer

Powered by FluxBB