mirror of
https://github.com/YunoHost-Apps/freshrss_ynh.git
synced 2024-09-03 18:36:33 +02:00
fix permission on user data directory
This commit is contained in:
parent
06a8d8b56d
commit
b159c2a417
2 changed files with 2 additions and 2 deletions
|
@ -13,6 +13,6 @@ then
|
|||
do
|
||||
user_token=$(ynh_string_random)
|
||||
$app_path/cli/create-user.php --user $myuser --language en --token $user_token
|
||||
sudo chown -R www-data: $app_path/data/users/$myuser/
|
||||
sudo chown -R $app: $app_path/data/users/$myuser/
|
||||
done
|
||||
fi
|
||||
|
|
|
@ -9,4 +9,4 @@ myuser=$1
|
|||
|
||||
user_token=$(ynh_string_random)
|
||||
sudo $app_path/cli/create-user.php --user $myuser --language en --token $user_token
|
||||
sudo chown -R www-data: $app_path/data/users/$myuser/
|
||||
sudo chown -R $app: $app_path/data/users/$myuser/
|
||||
|
|
Loading…
Add table
Reference in a new issue