summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Charette <francois@archlinux.org>2009-05-06 21:31:26 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2009-05-06 21:31:26 +0200
commitdbca654de502b1a6fb925544256dcfc3b54cc623 (patch)
tree4412b583f2f2cd7027ffffaae3ca99ca07788b75
parenta86adff4ee619d90b5c7d49797cc77bd550e7dd6 (diff)
downloaddbscripts-dbca654de502b1a6fb925544256dcfc3b54cc623.tar.gz
dbscripts-dbca654de502b1a6fb925544256dcfc3b54cc623.tar.xz
adjust_permissions: Add 'any' architecture
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rwxr-xr-xcron-jobs/adjust-permissions3
1 files changed, 3 insertions, 0 deletions
diff --git a/cron-jobs/adjust-permissions b/cron-jobs/adjust-permissions
index 307c319..947c021 100755
--- a/cron-jobs/adjust-permissions
+++ b/cron-jobs/adjust-permissions
@@ -10,13 +10,16 @@ fi
/usr/bin/renice +10 -p $$ > /dev/null
cd /srv/ftp
+/bin/chown -R ftp:ftp-arch core/os/any
/bin/chown -R ftp:ftp-arch core/os/i686
/bin/chown -R ftp:ftp-arch core/os/x86_64
+/bin/chown -R ftp:ftp-extra {extra,testing}/os/any
/bin/chown -R ftp:ftp-extra {extra,testing}/os/i686
/bin/chown -R ftp:ftp-extra {extra,testing}/os/x86_64
/bin/chown -R ftp:aur community
for d in core extra testing community; do
+ /bin/chmod -R g+w $d/os/any
/bin/chmod -R g+w $d/os/i686
/bin/chmod -R g+w $d/os/x86_64
done