mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
nixos/transmission: Allow others to read the directory
Directory mode 755 is standard for running services. Without this, downloadDirPermissions doesn't have any use since other users can't even look inside the main transmission directory
This commit is contained in:
parent
8cbb538be5
commit
6d92e54174
@ -23,7 +23,8 @@ let
|
||||
for DIR in "${homeDir}" "${settingsDir}" "${fullSettings.download-dir}" "${fullSettings.incomplete-dir}"; do
|
||||
mkdir -p "$DIR"
|
||||
done
|
||||
chmod 700 "${homeDir}" "${settingsDir}"
|
||||
chmod 755 "${homeDir}"
|
||||
chmod 700 "${settingsDir}"
|
||||
chmod ${downloadDirPermissions} "${fullSettings.download-dir}" "${fullSettings.incomplete-dir}"
|
||||
cp -f ${settingsFile} ${settingsDir}/settings.json
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user