Closed Bug 974226 Opened 10 years ago Closed 10 years ago

[mozfile] remove() changes source tree permissions

Categories

(Testing :: Mozbase, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla30

People

(Reporter: mcomella, Assigned: whimboo)

References

Details

Attachments

(1 file)

Attached file Output of `hg diff`
It seems to be adding executable bits to all of the source files - see the attached output.

Worth noting that this is after clobber fails because of bug 974225.
Caused by 949600 which has been backed out.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
This is actually a mozbase issue in mozfile. So moving to the right component. I think we should fix bug 974225 first before checking what's wrong here. I believe that we are wrongly handling symlinks.
Blocks: 949600
Status: RESOLVED → REOPENED
Component: mach → Mozbase
Depends on: 974225
OS: Linux → All
Product: Core → Testing
QA Contact: hskupin
Hardware: x86_64 → All
Resolution: DUPLICATE → ---
Summary: `mach clobber` changes source tree permissions → [mozfile] remove() changes source tree permissions
Michael, would you mind to check if that is still a problem for you with my patch on bug 974225? I'm not able to get this problem reproduced locally. Do you have specific steps?
Status: REOPENED → NEW
Flags: needinfo?(michael.l.comella)
Actually, this seems to no longer occur on fx-team changeset 750e90d5ee9a (without the given patch).
Flags: needinfo?(michael.l.comella)
That's because the mozbase sync got backed out. We'll need to double check when it gets re-landed.
The only reason for this might be individual symlinks which point to the idl file in the source dir. We stopped updating the permissions for symlinks. So this should be fixed by the other bug.
Ok, I checked the obj dir again and the problem was indeed $obj-dir/dist/idl. All listed idl files are symlinks to the source tree. So given that we do not change symlinks anymore, this bug is also fixed via my patch on bug 974225.
Assignee: nobody → hskupin
Status: NEW → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: