summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2001-04-20 05:46:53 +0200
committerjustdave%syndicomm.com <>2001-04-20 05:46:53 +0200
commit7e7c4e20b8fa00c156f6ba06a371482d29d8a7ce (patch)
treee27636485279e0b521c7ea5300e846d6cb263d8a
parent8718b8e4709d9b81bacb7e065c2939e8e9f37a0a (diff)
downloadbugzilla-7e7c4e20b8fa00c156f6ba06a371482d29d8a7ce.tar.gz
bugzilla-7e7c4e20b8fa00c156f6ba06a371482d29d8a7ce.tar.xz
Changing all chmod 1777 to chmod 01777. Without the leading 0 it's interpreted as decimal instead of octal (oops)
-rwxr-xr-xchecksetup.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/checksetup.pl b/checksetup.pl
index 0978d4e25..b2c479c83 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -448,7 +448,7 @@ unless (-d 'data') {
print "Creating data directory ...\n";
mkdir 'data', 0770;
if ($my_webservergroup eq "") {
- chmod 1777, 'data';
+ chmod 01777, 'data';
}
open FILE, '>>data/comments'; close FILE;
open FILE, '>>data/nomail'; close FILE;
@@ -542,7 +542,7 @@ if ($my_webservergroup) {
# make sure that contrib keeps the permissions it had (don't touch it)
chmod 0770, 'data', 'shadow', 'graphs';
chmod 0666, glob('data/*');
- chmod 1777, glob('data/*/'); # directories stay executable
+ chmod 01777, glob('data/*/'); # directories stay executable
}
@@ -2057,7 +2057,7 @@ unless (-d 'graphs') {
print "Creating graphs directory...\n";
mkdir 'graphs', 1770;
if ($my_webservergroup eq "") {
- chmod 1777, 'graphs';
+ chmod 01777, 'graphs';
}
# Upgrade data format
@@ -2158,7 +2158,7 @@ unless (-d 'data/duplicates') {
print "Creating duplicates directory...\n";
mkdir 'data/duplicates', 0770;
if ($my_webservergroup eq "") {
- chmod 1777, 'data/duplicates';
+ chmod 01777, 'data/duplicates';
}
}