horstepipe 422 Posted April 21, 2017 Posted April 21, 2017 (edited) hey one of my issues I'm having with the library monitor is that sometimes I need to make a chown and chmod on my library folders to give Emby server the privileges to delete the files via web gui. When changing these params the library monitor is being triggered, which triggers the new content notification for the "changed" files, again. I'm pretty sure there's a way to tell Ubuntu to give new created files and folders a specific owner, group and permissions with the umask command, but I'm not sure how to exactly do this and don't want to mess everything up. So let's say my library folders are /Emby/Movies/ /Emby/Shows/ and I want all files and folders being created within these folders to have the owner root, the group emby, and the permissions 770. A cronjob is not possible as I said this would modify the files AFTER they were being created and trigger the Emby library monitor. Thank you Edited April 21, 2017 by horstepipe
mastrmind11 722 Posted April 21, 2017 Posted April 21, 2017 hey one of my issues I'm having with the library monitor is that sometimes I need to make a chown and chmod on my library folders to give Emby server the privileges to delete the files via web gui. When changing these params the library monitor is being triggered, which triggers the new content notification for the "changed" files, again. I'm pretty sure there's a way to tell Ubuntu to give new created files and folders a specific owner, group and permissions with the umask command, but I'm not sure how to exactly do this and don't want to mess everything up. So let's say my library folders are /Emby/Movies/ /Emby/Shows/ and I want all files and folders being created within these folders to have the owner root, the group emby, and the permissions 770. A cronjob is not possible as I said this would modify the files AFTER they were being created and trigger the Emby library monitor. Thank you https://unix.stackexchange.com/questions/115631/getting-new-files-to-inherit-group-permissions-on-linux 1
horstepipe 422 Posted April 21, 2017 Author Posted April 21, 2017 https://unix.stackexchange.com/questions/115631/getting-new-files-to-inherit-group-permissions-on-linux thank you bro! 1
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