mirror of
https://github.com/Terranom674/Piwigo_Bratonien_Tools.git
synced 2026-11-05 21:12:15 +00:00
Make WebDAV placeholder source writable by runtime group
This commit is contained in:
1 parent
f0f7556aaf
commit
db21cf2c5e
1 file changed
+5
@@ -94,6 +94,11 @@ python3 "$SCRIPT_DIR/lib/build_webdav_placeholder_source.py" \
|
|||||||
--manifest "$MANIFEST" \
|
--manifest "$MANIFEST" \
|
||||||
--mapping "$WEBDAV_MAPPING_FILE"
|
--mapping "$WEBDAV_MAPPING_FILE"
|
||||||
|
|
||||||
|
find "$WEBDAV_SOURCE_DIR" -type d -exec chgrp www-data -- {} +
|
||||||
|
find "$WEBDAV_SOURCE_DIR" -type d -exec chmod 0775 -- {} +
|
||||||
|
find "$WEBDAV_SOURCE_DIR" -type f -exec chgrp www-data -- {} +
|
||||||
|
find "$WEBDAV_SOURCE_DIR" -type f -exec chmod 0664 -- {} +
|
||||||
|
|
||||||
chgrp www-data -- "$WEBDAV_MAPPING_FILE"
|
chgrp www-data -- "$WEBDAV_MAPPING_FILE"
|
||||||
chmod 0640 -- "$WEBDAV_MAPPING_FILE"
|
chmod 0640 -- "$WEBDAV_MAPPING_FILE"
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user