mirror of
https://github.com/YunoHost-Apps/dokuwiki_ynh.git
synced 2024-09-03 18:26:20 +02:00
Delete sudo before find
This commit is contained in:
parent
018388d835
commit
df22a05569
1 changed files with 2 additions and 2 deletions
|
@ -57,8 +57,8 @@ sudo cp ../conf/dokuwiki.php $final_path/conf
|
|||
sudo cp ../conf/acl.auth.php $final_path/conf
|
||||
|
||||
# Files owned by root, www-data can just read
|
||||
sudo find $final_path -type f -print0 | sudo xargs -0 chmod 0644
|
||||
sudo find $final_path -type d -print0 | sudo xargs -0 chmod 0755
|
||||
find $final_path -type f -print0 | sudo xargs -0 chmod 0644
|
||||
find $final_path -type d -print0 | sudo xargs -0 chmod 0755
|
||||
sudo chown -R www-data: $final_path
|
||||
|
||||
# except for conf, data, some data subfolders, and lib/plugin, where www-data must have write permissions
|
||||
|
|
Loading…
Add table
Reference in a new issue