bcknapp
Dabbler
- Joined
- Dec 28, 2014
- Messages
- 11
Hello everyone,
Disclaimer: I am still very new to BSD and FreeNAS and am trying to learn the basics such as how users and permissions work within this environment. I come from a long history of using Windows and I am learning that permissions, users, and groups are handled very differently. Please bare with me as I am a newbie.
I have installed the Subsonic plugin in the past with no problems, but with dataset permissions which were more lax (Other was set to read and execute). With this installation I have tried to tighten up the dataset permissions (Other is set to none), but it has caused the Subsonic plugin to not be able to read my music library (I have tested this, and I think this to be the cause). Currently, I have my music library stored in a dataset called media, with permissions as such:
Owner: read, write, execute,
Group: read, write, execute,
Other: none
As of now Subsonic is unable to scan the media folder that I have linked via the "add storage" button in the jail section.
I had a similar issue when installing the BitTorrent Sync plugin, but I was able to solve the issue by following this guide posted by Cainram https://forums.freenas.org/index.php?threads/btsync-configuration-guide.22927/
In the above process there is an existing user called btsync that exists in the jail when the plugin is installed. I created a group with a group ID that matched the group owner name and ID of the dataset I wanted the plugin to be able to access, made this matched group the owner of the linked mount point (or whatever you would call it), and added the existing btsync user to that group (all within the jail), thus allowing the bittorrent sync plugin access to the freenas dataset.
I am wondering if that process or something similar can be done with the Subsonic plugin such that I don't have to allow any permissions for Other to my dataset? I compared the list of users in both my BTsync jail and my Subsonic jail to see if I can find a user Subsonic, or something equally obvious. The only 2 users that existed in the Subsonic jail that did not exist in the BTsync jail were media and cups. Is it possible that the user media is what Subsonic uses?
Again, my understanding of the way permissions work with programs and services in BSD is still very limited so I appreciate if someone more knowledgeable could steer me in the right direction.
Thank you!
Brian
Disclaimer: I am still very new to BSD and FreeNAS and am trying to learn the basics such as how users and permissions work within this environment. I come from a long history of using Windows and I am learning that permissions, users, and groups are handled very differently. Please bare with me as I am a newbie.
I have installed the Subsonic plugin in the past with no problems, but with dataset permissions which were more lax (Other was set to read and execute). With this installation I have tried to tighten up the dataset permissions (Other is set to none), but it has caused the Subsonic plugin to not be able to read my music library (I have tested this, and I think this to be the cause). Currently, I have my music library stored in a dataset called media, with permissions as such:
Owner: read, write, execute,
Group: read, write, execute,
Other: none
As of now Subsonic is unable to scan the media folder that I have linked via the "add storage" button in the jail section.
I had a similar issue when installing the BitTorrent Sync plugin, but I was able to solve the issue by following this guide posted by Cainram https://forums.freenas.org/index.php?threads/btsync-configuration-guide.22927/
In the above process there is an existing user called btsync that exists in the jail when the plugin is installed. I created a group with a group ID that matched the group owner name and ID of the dataset I wanted the plugin to be able to access, made this matched group the owner of the linked mount point (or whatever you would call it), and added the existing btsync user to that group (all within the jail), thus allowing the bittorrent sync plugin access to the freenas dataset.
I am wondering if that process or something similar can be done with the Subsonic plugin such that I don't have to allow any permissions for Other to my dataset? I compared the list of users in both my BTsync jail and my Subsonic jail to see if I can find a user Subsonic, or something equally obvious. The only 2 users that existed in the Subsonic jail that did not exist in the BTsync jail were media and cups. Is it possible that the user media is what Subsonic uses?
Again, my understanding of the way permissions work with programs and services in BSD is still very limited so I appreciate if someone more knowledgeable could steer me in the right direction.
Thank you!
Brian