mirror of
git://f0xx.org/ac/ac-deploy
synced 2026-08-12 18:12:19 +03:00
prepare-be-builder-dirs: chown -R existing build artifact trees for nobody.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -25,7 +25,7 @@ chmod -R 775 "${DOWNLOADS}" "${OTA_ROOT}" 2>/dev/null || true
|
|||||||
# PHP-FPM www pool is often nobody; artifact dirs must be writable by that user.
|
# PHP-FPM www pool is often nobody; artifact dirs must be writable by that user.
|
||||||
chown nobody:nginx "${BUILDS}" 2>/dev/null || true
|
chown nobody:nginx "${BUILDS}" 2>/dev/null || true
|
||||||
chmod 2775 "${BUILDS}" 2>/dev/null || true
|
chmod 2775 "${BUILDS}" 2>/dev/null || true
|
||||||
find "${BUILDS}" -mindepth 1 -maxdepth 1 -type d -exec chown nobody:nginx {} \; 2>/dev/null || true
|
find "${BUILDS}" -mindepth 1 -maxdepth 1 -type d -exec chown -R nobody:nginx {} \; 2>/dev/null || true
|
||||||
find "${BUILDS}" -mindepth 1 -maxdepth 1 -type d -exec chmod 2775 {} \; 2>/dev/null || true
|
find "${BUILDS}" -mindepth 1 -maxdepth 1 -type d -exec chmod 2775 {} \; 2>/dev/null || true
|
||||||
chown nobody:nobody "${DOCKER_HOME}/.docker" 2>/dev/null || true
|
chown nobody:nobody "${DOCKER_HOME}/.docker" 2>/dev/null || true
|
||||||
chmod 775 "${DOCKER_HOME}/.docker" 2>/dev/null || true
|
chmod 775 "${DOCKER_HOME}/.docker" 2>/dev/null || true
|
||||||
|
|||||||
Reference in New Issue
Block a user