diff options
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/share/mirror/examples/deb/update-smith122deb.sh | 4 | ||||
-rwxr-xr-x | usr/share/mirror/examples/rpm/update-smith122rpm.sh | 4 | ||||
-rwxr-xr-x | usr/share/mirror/examples/tar/update-smith122tar.sh | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/usr/share/mirror/examples/deb/update-smith122deb.sh b/usr/share/mirror/examples/deb/update-smith122deb.sh index 03f5726..7d8242b 100755 --- a/usr/share/mirror/examples/deb/update-smith122deb.sh +++ b/usr/share/mirror/examples/deb/update-smith122deb.sh @@ -6,8 +6,8 @@ repodir=/mnt/public/www/smith122/repo/deb/ ownership="apache:admins" filetypes="deb" find "${repodir}" -exec chown "${ownership}" {} + 1>/dev/null 2>&1 -find "${repodir}" -type f -exec chmod "0644" {} + 1>/dev/null 2>&1 -find "${repodir}" -type d -exec chmod "0755" {} + 1>/dev/null 2>&1 +find "${repodir}" -type f -exec chmod "0664" {} + 1>/dev/null 2>&1 +find "${repodir}" -type d -exec chmod "0775" {} + 1>/dev/null 2>&1 chmod 0754 "$0" restorecon -RF "${repodir}" diff --git a/usr/share/mirror/examples/rpm/update-smith122rpm.sh b/usr/share/mirror/examples/rpm/update-smith122rpm.sh index 0a91952..aaaca96 100755 --- a/usr/share/mirror/examples/rpm/update-smith122rpm.sh +++ b/usr/share/mirror/examples/rpm/update-smith122rpm.sh @@ -6,8 +6,8 @@ repodir=/mnt/public/www/smith122/repo/rpm/ ownership="apache:admins" filetypes="rpm" find "${repodir}" -exec chown "${ownership}" {} + 1>/dev/null 2>&1 -find "${repodir}" -type f -exec chmod "0644" {} + 1>/dev/null 2>&1 -find "${repodir}" -type d -exec chmod "0755" {} + 1>/dev/null 2>&1 +find "${repodir}" -type f -exec chmod "0664" {} + 1>/dev/null 2>&1 +find "${repodir}" -type d -exec chmod "0775" {} + 1>/dev/null 2>&1 chmod 0754 "$0" restorecon -RF "${repodir}" diff --git a/usr/share/mirror/examples/tar/update-smith122tar.sh b/usr/share/mirror/examples/tar/update-smith122tar.sh index 3cefe19..c2d8bbc 100755 --- a/usr/share/mirror/examples/tar/update-smith122tar.sh +++ b/usr/share/mirror/examples/tar/update-smith122tar.sh @@ -6,8 +6,8 @@ repodir=/mnt/public/www/smith122/repo/tar/ ownership="apache:admins" filetypes="tar" find "${repodir}" -exec chown "${ownership}" {} + 1>/dev/null 2>&1 -find "${repodir}" -type f -exec chmod "0644" {} + 1>/dev/null 2>&1 -find "${repodir}" -type d -exec chmod "0755" {} + 1>/dev/null 2>&1 +find "${repodir}" -type f -exec chmod "0664" {} + 1>/dev/null 2>&1 +find "${repodir}" -type d -exec chmod "0775" {} + 1>/dev/null 2>&1 chmod 0754 "$0" restorecon -RF "${repodir}" |