Ticket #354 (new task)
Opened 9 years ago
Find a better way to sanitise permissions after unpack
|Reported by:||dleverton||Owned by:||dleverton|
Some tarballs contain files with restrictive permissions (for example, read-only). Portage works around this by changing to permissions of all the files in the current directory and subdirectories after every unpack. r3455 added the same to Paludis, but it's rather crude as it affects any files that were there before unpacking. It would be nice to find a cleaner way, but unfortunately tar at least doesn't seem to give enough control over permissions of unpacked files (the choice is permissions from the tarball, or permissions from the tarball & ~unmask).