projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of feistymeow.org:feisty_meow
[feisty_meow.git]
/
scripts
/
system
/
common_sysadmin.sh
diff --git
a/scripts/system/common_sysadmin.sh
b/scripts/system/common_sysadmin.sh
index 435b474f9bf207ca97d3e6e5dde2cbdc639ea5e3..223067f6ce7443b56f2fc929c94613ec55773910 100644
(file)
--- a/
scripts/system/common_sysadmin.sh
+++ b/
scripts/system/common_sysadmin.sh
@@
-191,7
+191,6
@@
function restart_bind()
# removes a config file for apache given the app name and site name.
function remove_apache_config()
{
# removes a config file for apache given the app name and site name.
function remove_apache_config()
{
- local appname="$1"; shift
local sitename="$1"; shift
local site_config="/etc/apache2/sites-available/${sitename}.conf"
local sitename="$1"; shift
local site_config="/etc/apache2/sites-available/${sitename}.conf"
@@
-338,7
+337,7
@@
function maybe_create_site_storage()
chmod -R g+rx "$chow_path"
# walk backwards up the path and fix perms.
while [[ $chow_path != $HOME ]]; do
chmod -R g+rx "$chow_path"
# walk backwards up the path and fix perms.
while [[ $chow_path != $HOME ]]; do
-echo chow path is now $chow_path
+
#
echo chow path is now $chow_path
chmod g+rx "$chow_path"
test_or_die "Failed to add group permissions on the path: $chow_path"
# reassert the user's ownership of any directories we might have just created.
chmod g+rx "$chow_path"
test_or_die "Failed to add group permissions on the path: $chow_path"
# reassert the user's ownership of any directories we might have just created.