Once a file is downloaded, I move it from my download folder to another to organize it.
To read these downloaded files I use Plex which needs Execute in the permissions for the file.
The problem is that all files downloaded have permissions set to 666 and requires me to chmod all files all the time, and however i set the umask files are always downloaded with 666 as permissions.
How do I go to set downloaded files (and not just the folders) to be downloaded with rx permissions and not just rw?
This is my config:
Code: Select all
start on filesystem and static-network-up
stop on runlevel [016]
respawn
respawn limit 5 30
env uid=deluge
env gid=deluge
env umask=011
exec start-stop-daemon -S -c $uid:$gid -k $umask -x /usr/bin/deluged -- -d