mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
optimized shared function
This commit is contained in:
parent
965b2a4933
commit
44027136c4
3 changed files with 20 additions and 10 deletions
|
@ -75,7 +75,7 @@ esac
|
|||
|
||||
# Adding host to conf
|
||||
echo "$new_str" >> $V_DB/$type.conf
|
||||
chmod 640 $V_DB/$type.conf
|
||||
chmod 660 $V_DB/$type.conf
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -162,7 +162,7 @@ chown root:$user /var/log/httpd/domains/$domain.*
|
|||
chown root:apache $conf
|
||||
|
||||
# Changing file permissions
|
||||
chmod 640 $conf
|
||||
chmod 660 $conf
|
||||
chmod 551 $V_HOME/$user/web/$domain
|
||||
chmod 751 $V_HOME/$user/web/$domain/private
|
||||
chmod 751 $V_HOME/$user/web/$domain/cgi-bin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue