Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
a162877b
Commit
a162877b
authored
Jun 04, 2002
by
bbaetz%student.usyd.edu.au
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 144285 - checksetup.pl fails to set data dir (and other dir)
permissions properly r=justdave, myk
parent
4ca74bcb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
checksetup.pl
checksetup.pl
+10
-0
No files found.
checksetup.pl
View file @
a162877b
...
...
@@ -1077,7 +1077,12 @@ if ($my_webservergroup) {
fixPerms
(
'css'
,
$<
,
$webservergid
,
027
,
1
);
chmod
0644
,
'globals.pl'
;
chmod
0644
,
'RelationSet.pm'
;
# Don't use fixPerms here, because it won't change perms on the directory
# unless its using recursion
chown
$<
,
$webservergid
,
'data'
;
chmod
0771
,
'data'
;
chown
$<
,
$webservergid
,
'graphs'
;
chmod
0770
,
'graphs'
;
}
else
{
# get current gid from $( list
...
...
@@ -1090,7 +1095,12 @@ if ($my_webservergroup) {
fixPerms
(
'*'
,
$<
,
$gid
,
022
);
fixPerms
(
'template'
,
$<
,
$gid
,
022
,
1
);
fixPerms
(
'css'
,
$<
,
$gid
,
022
,
1
);
# Don't use fixPerms here, because it won't change perms on the directory
# unless its using recursion
chown
$<
,
$gid
,
'data'
;
chmod
0777
,
'data'
;
chown
$<
,
$gid
,
'graphs'
;
chmod
01777
,
'graphs'
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment