2013-12-19, 23:30
I use NFS for my sources. I have a Synology NAS (DS212+). My exports file looks like this:
This works great in XBMC except for when I download a subtitle and want to open it on my PC (ie. by opening the movie). I just can't open it. I noticed the permissions set on files created by XBMC (so through NFS) have the following permissions: -rw-------
While the default permissions set to files when created through a network mount or just through the web interface from the NAS
is: -rw-rw-r--
From what I understand this is the problem. Only the root has rw permissions, but other groups/users have no access.
I looked up the options that can be set in the exports file, like changing root_squash to no_root_squash (as in the above example), but clearly I don't fully understand how NFS works.
How can I set the permissions to rw for everyone for files created through NFS?
edit: I notice this topic might be more suitable in the Linux forum. Apologies if this is the case. My network drives are mounted on different windows PC which can't open the files, so that's why I initially posted it in the Windows forum.
Code:
/volume1/Films *(rw,async,no_wdelay,insecure,no_root_squash,anonuid=1025,anongid=100)
/volume1/Series *(rw,async,no_wdelay,insecure,no_root_squash,anonuid=1025,anongid=100)
/volume1/Cabaret *(rw,async,no_wdelay,insecure,no_root_squash,anonuid=1025,anongid=100)
This works great in XBMC except for when I download a subtitle and want to open it on my PC (ie. by opening the movie). I just can't open it. I noticed the permissions set on files created by XBMC (so through NFS) have the following permissions: -rw-------
While the default permissions set to files when created through a network mount or just through the web interface from the NAS
is: -rw-rw-r--
From what I understand this is the problem. Only the root has rw permissions, but other groups/users have no access.
I looked up the options that can be set in the exports file, like changing root_squash to no_root_squash (as in the above example), but clearly I don't fully understand how NFS works.
How can I set the permissions to rw for everyone for files created through NFS?
edit: I notice this topic might be more suitable in the Linux forum. Apologies if this is the case. My network drives are mounted on different windows PC which can't open the files, so that's why I initially posted it in the Windows forum.