Closed Bug 175400 Opened 23 years ago Closed 23 years ago

Files permissions not preserved after installation

Categories

(Core Graveyard :: Installer: XPInstall Engine, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED WORKSFORME
mozilla1.4beta

People

(Reporter: jimmykenlee, Assigned: ssu0262)

References

Details

(Keywords: platform-parity, Whiteboard: [adt2])

Build: 2002-10-18-08-trunk (OS X) 1. From http://jimbob/trigger3.html, enter http://jimbob/jars/f_addfile_diffperms_osx in File URL field 2. Click Trigger button 3. Click Install button from dialog 4. Click OK button confirming installation successful RESULT: Install.log looks correct...files installed. File permissions are incorrect. All installed files show -rw-r---r--. Extracting xpi from zip utility does preserve file permissions. EXPECTED RESULT: -rwxrw-r-x xpinstall1.txt -rw-rwxr-- xpinstall2.txt -r-xrw-rwx xpinstall3.txt -r--rwx-wx xpinstall4.txt
Nominating for beta. I'm not sure how important this one is, so I'll put it on the radar for now.
Keywords: nsbeta1, pp
I forgot the ".xpi" :-( Build: 2002-10-18-08-trunk (OS X) 1. From http://jimbob/trigger3.html, enter http://jimbob/jars/f_addfile_diffperms_osx.xpi in File URL field
Keywords: nsbeta1 → nsbeta1-
I'm not sure I agree with the nsbeta1-. If binaries lose their permissions, and they do, then it seems to me that non-binary files would have to be considered as well. Changing nsbeta1- to nsbeta1 to get on radar for formal triage with Samir.
Keywords: nsbeta1- → nsbeta1
Installer triage team: nsbeta1+/adt2 Probably a libjar issue.
Keywords: nsbeta1 → nsbeta1+
Whiteboard: [adt2]
-> ssu
Assignee: dveditz → ssu
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.4beta
Blocks: 197105
The files in f_addfile_diffperms_osx.xpi all have perms of 644. I then unzipped the archive, changed permissions (each file having a different permission from each other), zipped them back up, and tested this new .xpi file The permissions were preservered in install under osx and linux. marking this as worksforme now. Please reopen if someone is seeing something different from me.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
wfm- same results on Linux and Mac OSX
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.