Closed
Bug 1093616
Opened 11 years ago
Closed 11 years ago
Default permissions for contrib/replyrc are wrong
Categories
(Bugzilla :: Bugzilla-General, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 6.0
People
(Reporter: gerv, Assigned: LpSolit)
References
Details
Attachments
(1 file)
|
644 bytes,
patch
|
gerv
:
review+
|
Details | Diff | Splinter Review |
gerv@hare:/usr/src/bugzilla$ git diff
gerv@hare:/usr/src/bugzilla$ ./checksetup.pl
* This is Bugzilla 5.1 on perl 5.18.2
...
Fixing file permissions...
checksetup.pl complete.
gerv@hare:/usr/src/bugzilla$ git diff
diff --git a/contrib/replyrc b/contrib/replyrc
old mode 100644
new mode 100755
gerv@hare:/usr/src/bugzilla$
Looks like the default permissions are not those that checksetup sets the permissions to.
Gerv
Comment 1•11 years ago
|
||
checksetup should probably ignore that file (or files that are not scripts).
| Assignee | ||
Comment 2•11 years ago
|
||
(In reply to Dylan William Hardison [:dylan] from comment #1)
> checksetup should probably ignore that file (or files that are not scripts).
No, permissions should be set correctly. You forgot to update Bugzilla::Install::Filesystem.pm accordingly.
| Assignee | ||
Comment 3•11 years ago
|
||
Please revert http://git.mozilla.org/?p=bugzilla/bugzilla.git;a=commit;h=da539e8c20bc4facc36002a482d07869872f1011 [github]
This change is wrong.
| Assignee | ||
Updated•11 years ago
|
Target Milestone: --- → Bugzilla 6.0
| Reporter | ||
Comment 4•11 years ago
|
||
Reverted:
To ssh://gitolite3@git.mozilla.org/bugzilla/bugzilla.git
da539e8..dd9352e master -> master
Gerv
| Reporter | ||
Comment 5•11 years ago
|
||
The current committed permissions:
-rw-rw-r-- 1 gerv gerv 904 Nov 29 12:47 contrib/replyrc
After checksetup:
-rwx------ 1 gerv www-data 904 Nov 29 12:47 contrib/replyrc
because of this:
'contrib' => { files => OWNER_EXECUTE,
dirs => DIR_OWNER_WRITE, },
I think what we actually want is:
-rw------- 1 gerv www-data 904 Nov 29 12:47 contrib/replyrc
which can be achieved by adding:
'contrib/replyrc' => { perms => OWNER_WRITE },
at line 170.
Is that right?
Gerv
| Reporter | ||
Comment 6•11 years ago
|
||
Comment on attachment 8530500 [details] [diff] [review]
patch, v1
Review of attachment 8530500 [details] [diff] [review]:
-----------------------------------------------------------------
Oh, duh. How did I not see this? Sorry.
Gerv
Attachment #8530500 -
Flags: review?(gerv) → review+
| Reporter | ||
Updated•11 years ago
|
Flags: approval?
| Assignee | ||
Comment 7•11 years ago
|
||
To ssh://gitolite3@git.mozilla.org/bugzilla/bugzilla.git
dd9352e..c0dbbc6 master -> master
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•