first
This commit is contained in:
9
permission.sh
Normal file
9
permission.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
user=www-data
|
||||
|
||||
grep '^$user' /etc/passwd | wc -l > /dev/null
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
chown -R www-data:www-data storage bootstrap/cache modules.json
|
||||
fi
|
||||
Reference in New Issue
Block a user