User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39 Build ID: 20160107220223 Steps to reproduce: I extracted firefox-52.0.1.source.tar.xz into a directory with rwxrwxr-x (0775) permissions. Actual results: The current directory permissions were changed to rwxr-xr-x (0755). Expected results: The permissions of the current directory should not have been changed. Note that the tarball has the entry: drwxr-xr-x 0/0 0 2017-03-17 07:04 ./ Which should not be there. In addition, the uid and gid are toot.root. The script that generates the tarball should be changed to do: tar -Jcf firefox-<version>.source.tar.xz firefox-<version> instead of the current 'tar -Jcf firefox-<version>.source.tar.xz .' Note also that if the user does something dumb and extracts the tarball as the root user, then the ownership of the current directory changes. I suggest creating the tarball as a regular user.
Upon further review, thunderbird and seamonkey have the same problem.
catlee: I have no clue what bug component this belongs under. But I'm pretty sure your team is responsible for generating these archives. Could you please triage it?
https://hg.mozilla.org/mozilla-central/rev/18df6f749b47 is where I added --transform and changed the target dir to be ./