You are not logged in.
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
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
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
How did you try to change the permissions and did you get any errors?
Offline
[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
Unmount, remove that dir (disk), create a new one with the correct permissions.
To use NTFS you need ntfs-3g.
Offline
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
Offline
Well that explains it then. Now I can stop pulling my hair out and reformat it to ext or something. Thanks guys.
Offline
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
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