Added chmod 751 to images folder so nginx can see it
This commit is contained in:
1 parent
c2279d18e1
commit
c8fcd5beb5
1 file changed
+1
-1
+1
-1
@@ -170,7 +170,7 @@ fi
|
|||||||
echo "${SFTP_USER}:${SFTP_PASS}" | chpasswd
|
echo "${SFTP_USER}:${SFTP_PASS}" | chpasswd
|
||||||
|
|
||||||
chown "${SFTP_USER}:${SFTP_USER}" "${IMAGES_DIR}"
|
chown "${SFTP_USER}:${SFTP_USER}" "${IMAGES_DIR}"
|
||||||
chmod 750 "${IMAGES_DIR}"
|
chmod 751 "${IMAGES_DIR}"
|
||||||
|
|
||||||
success "User '${SFTP_USER}' created with chroot at ${CHROOT_DIR}."
|
success "User '${SFTP_USER}' created with chroot at ${CHROOT_DIR}."
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user