Closed
Bug 483229
Opened 15 years ago
Closed 15 years ago
ReleaseUpdatesFactory should chmod 644 before uploading MAR files
Categories
(Release Engineering :: General, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bhearsum, Assigned: bhearsum)
References
Details
Attachments
(1 file)
1.14 KB,
patch
|
nthomas
:
review+
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Updated•15 years ago
|
Priority: -- → P2
Assignee | ||
Comment 1•15 years ago
|
||
I gave this a good test in staging and it seemed to work correctly. A bustage fix from a previous patch snuck in here, too (run 'cvs co -d build mozilla/tools/patcher' in '.' instead of 'build').
Attachment #368578 -
Flags: review?(nthomas)
Updated•15 years ago
|
Attachment #368578 -
Flags: review?(nthomas) → review+
Comment 2•15 years ago
|
||
Comment on attachment 368578 [details] [diff] [review] chmod files/dirs to 644/755 before rsync'ing back to stage Looks good, r+. >+ self.addStep(ShellCommand, >+ command=['find', marDir, '-type', 'd', >+ '-exec', 'chmod', '755', '{}', ';'], >+ workdir='.', >+ description=['chmod 755', 'partial mar dirs'] >+ ) Do you know if we enforce 755 on a $version-candidates/buildN/ dir before this point ? Appears that post_upload.py doesn't do anything like that.
Assignee | ||
Comment 3•15 years ago
|
||
(In reply to comment #2) > (From update of attachment 368578 [details] [diff] [review]) > Looks good, r+. > > >+ self.addStep(ShellCommand, > >+ command=['find', marDir, '-type', 'd', > >+ '-exec', 'chmod', '755', '{}', ';'], > >+ workdir='.', > >+ description=['chmod 755', 'partial mar dirs'] > >+ ) > > Do you know if we enforce 755 on a $version-candidates/buildN/ dir before this > point ? Appears that post_upload.py doesn't do anything like that. That...I'm not sure of. I did my testing by 'wget -r'ing a candidates dir and then setting permissions 644/755, then running Updates - which worked, obviously. I guess if that's not the case in a full run Updates would end up fixing it (or bailing because of permissions problems). Probably the best thing to do here is file a follow up on fixing post_upload.py to set permissions for --release-to-candidates-dir. How does that sound to you?
Assignee | ||
Comment 4•15 years ago
|
||
(In reply to comment #3) > I guess if that's not the case in a full run Updates would end up fixing it (or > bailing because of permissions problems). Probably the best thing to do here is > file a follow up on fixing post_upload.py to set permissions for > --release-to-candidates-dir. How does that sound to you? I just filed bug 484972 about this.
Assignee | ||
Comment 5•15 years ago
|
||
Comment on attachment 368578 [details] [diff] [review] chmod files/dirs to 644/755 before rsync'ing back to stage changeset: 228:335d8c29c29e
Attachment #368578 -
Flags: checked‑in+ checked‑in+
Assignee | ||
Comment 6•15 years ago
|
||
I think we're all done here.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•