feat(copyparty): set library unix permissions #105

merged
opened by a.starrysky.fyi targeting main from private/minion/push-wznllvxvuqmz

Without these, Kavita cannot access files in the library properly

Changed files
+13 -4
packetmix
systems
+13 -4
packetmix/systems/teal/copyparty.nix
··· 123 123 "minion" 124 124 ]; 125 125 }; 126 + 127 + flags = { 128 + chmod_f = "770"; 129 + chmod_d = "770"; 130 + gid = "974"; 131 + }; 126 132 }; 127 133 }; 128 134 }; ··· 287 293 virtualHosts = [ "internal.files.freshly.space" ]; 288 294 }; 289 295 290 - users.groups."copyparty+kavita".members = [ 291 - "copyparty" 292 - "kavita" 293 - ]; 296 + users.groups."copyparty+kavita" = { 297 + gid = 974; # Copied from random assignment on teal. Entirely arbitrary. 298 + members = [ 299 + "copyparty" 300 + "kavita" 301 + ]; 302 + }; 294 303 295 304 clicks.storage.impermanence.persist.directories = [ 296 305 "/var/lib/copyparty"