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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
421b97de
Commit
421b97de
authored
Oct 15, 1999
by
terry%mozilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch by holger@holger.om.org (Holger Schurig) -- get the permissions right on…
Patch by holger@holger.om.org (Holger Schurig) -- get the permissions right on the shadow directory.
parent
8790dbf3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
checksetup.pl
checksetup.pl
+2
-1
No files found.
checksetup.pl
View file @
421b97de
...
@@ -383,6 +383,7 @@ unlink "data/versioncache";
...
@@ -383,6 +383,7 @@ unlink "data/versioncache";
#
#
if
(
$webservergroup
)
{
if
(
$webservergroup
)
{
mkdir
'shadow'
,
0770
unless
-
d
'shadow'
;
# Funny! getgrname returns the GID if fed with NAME ...
# Funny! getgrname returns the GID if fed with NAME ...
my
$webservergid
=
getgrnam
(
$webservergroup
);
my
$webservergid
=
getgrnam
(
$webservergroup
);
chown
0
,
$webservergid
,
glob
(
'*'
);
chown
0
,
$webservergid
,
glob
(
'*'
);
...
@@ -394,7 +395,7 @@ if ($webservergroup) {
...
@@ -394,7 +395,7 @@ if ($webservergroup) {
'collectstats.pl'
,
'collectstats.pl'
,
'checksetup.pl'
;
'checksetup.pl'
;
chmod
0770
,
'data'
;
chmod
0770
,
'data'
,
'shadow'
;
chmod
0666
,
glob
(
'data/*'
);
chmod
0666
,
glob
(
'data/*'
);
}
}
...
...
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