mirror of
https://framagit.org/YunoHost-Apps/gitea_ynh.git
synced 2024-11-21 18:41:35 +01:00
Fix missing permission
This commit is contained in:
parent
a23147b3d6
commit
adf8b82b68
@ -15,6 +15,7 @@ _set_permissions() {
|
|||||||
chmod +x "$install_dir/gitea"
|
chmod +x "$install_dir/gitea"
|
||||||
|
|
||||||
chown -R "$app:$app" "$data_dir"
|
chown -R "$app:$app" "$data_dir"
|
||||||
|
chmod u=rwx,g=rx,o= "$data_dir"
|
||||||
find "$data_dir" \( \! -perm -o= \
|
find "$data_dir" \( \! -perm -o= \
|
||||||
-o \! -user "$app" \
|
-o \! -user "$app" \
|
||||||
-o \! -group "$app" \) \
|
-o \! -group "$app" \) \
|
||||||
|
Loading…
Reference in New Issue
Block a user