Skip to content

Commit

Permalink
fix(module): get rid of ownership changes
Browse files Browse the repository at this point in the history
  • Loading branch information
matt1432 committed Oct 30, 2024
1 parent 59dbbf2 commit 89bf72b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modules/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,6 @@ in {
# Make jellyfin-web read/write
rm -rf ${cfg.dataDir}/jellyfin-web
cp -r ${cfg.webPackage}/share/jellyfin-web ${cfg.dataDir}
chmod 770 -R ${cfg.dataDir}
chown ${cfg.user}:${cfg.group} -R ${cfg.dataDir}
backupFile() {
if [ -w "$1" ]; then
Expand All @@ -186,7 +184,7 @@ in {
cp ${metadataFile} "${cfg.configDir}/metadata.xml"
chmod 600 "${cfg.configDir}/metadata.xml"
chown jellyfin:jellyfin -R "${cfg.configDir}"
chmod u+w -R "${cfg.configDir}"
'';

serviceConfig.ExecStart = mkForce (concatStringsSep " " [
Expand Down

0 comments on commit 89bf72b

Please sign in to comment.