Timeline for How to have files extracted from archive inherit permission from parent folder
Current License: CC BY-SA 4.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 12, 2020 at 18:21 | vote | accept | Cris | ||
| Mar 12, 2020 at 18:22 | |||||
| Mar 9, 2020 at 7:49 | comment | added | Cris | yes this works, similar to the solution i found piping the tar output to xargs. Still hoping to find a simpler solution for user but for now this will do | |
| Mar 9, 2020 at 7:22 | history | edited | Stéphane Chazelas | CC BY-SA 4.0 | added 6 characters in body |
| Mar 9, 2020 at 7:19 | comment | added | Stéphane Chazelas | @Cris, you're right. It seems it works for directories but not for other types of files. I've changed the answer to use -chmod instead. | |
| Mar 9, 2020 at 5:35 | comment | added | Cris | I tried that and make no difference, files are still extracted with original permission 600 ignoring the umask set for the user (0002) | |
| Mar 8, 2020 at 8:50 | history | answered | Stéphane Chazelas | CC BY-SA 4.0 |