88fingerslukee 2 Posted November 2, 2015 Share Posted November 2, 2015 Apologies if this has been asked before but I can't seem to find any info on this. How can I change the permissions that Emby assigns to downloaded images? It seems it will only download them with 644 (rw-r-r) and I don't know how to change that. It's causing an issue with my SickRage renamer. Link to comment Share on other sites More sharing options...
Luke 37136 Posted November 2, 2015 Share Posted November 2, 2015 We don't currently have a setting for this. i wonder if it changing the security on the emby service account might have an effect? i'm not sure. Link to comment Share on other sites More sharing options...
88fingerslukee 2 Posted November 2, 2015 Author Share Posted November 2, 2015 Okay, I fixed this. I'm running this on Fedora 21 using a systemd script. You have to add UMask=0002 to the options. My file looks like this: [Unit] Description=Emby Media Server After=network.target [Service] EnvironmentFile=/etc/emby-server.conf ExecStart=/usr/lib/emby-server/emby-server.sh start UMask=0002 Restart=on-abort TimeoutSec=20 ExecStopPost=/usr/lib/emby-server/emby-server.sh clear [Install] WantedBy=multi-user.target 0002 will give 664 permissions like I'm looking for. I hope this helps somebody else. Link to comment Share on other sites More sharing options...
Luke 37136 Posted November 2, 2015 Share Posted November 2, 2015 Well done. Link to comment Share on other sites More sharing options...
ressu 13 Posted December 13, 2015 Share Posted December 13, 2015 I wish it was possible to set this from inside emby. It's not the most convenient way of setting umask. I just had to update my configuration files after package upgrade replaced the previous modification. Link to comment Share on other sites More sharing options...
88fingerslukee 2 Posted January 27, 2016 Author Share Posted January 27, 2016 I wish it was possible to set this from inside emby. It's not the most convenient way of setting umask. I just had to update my configuration files after package upgrade replaced the previous modification. Agreed, this is annoying and unnecessary. Please add this feature. Link to comment Share on other sites More sharing options...
Luke 37136 Posted January 27, 2016 Share Posted January 27, 2016 you're saying downloaded images are marked as read-only? Link to comment Share on other sites More sharing options...
88fingerslukee 2 Posted January 27, 2016 Author Share Posted January 27, 2016 you're saying downloaded images are marked as read-only? No, they're marked as rw-rw-r-- but I need them to be rwxrwxr--. I use a different user to move/rename the files into the directory where emby monitors/downloads images. Those users are in the same groups but I need to alter the permissions slightly. It would just make sense, to me anyway, to allow the emby admin the flexibility to change how the files it downloads are stored. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now