View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0017122 | CentOS-8 | tar | public | 2020-03-09 14:21 | 2020-03-11 10:41 |
Reporter | cristiano.vitali@gmail.com | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | Vmware VM | OS | Centos | OS Version | 8.1 |
Product Version | 8.1.1911 | ||||
Summary | 0017122: tar fail to set file permission to match user umask | ||||
Description | When extracting file from an archive (compressed or not) the files are restored keeping the orignal permission and not the user umask. Also specifiying the option --no-same-permissions files are restored with original permissions. If UMASK of the user executing the command are more restrictive than the permission of the file on the archive then the user umask is being applied to the file. According to the man page I would expect user umask is applied by default to all files and folder --no-same-permissions Apply the user's umask when extracting permissions from the archive (default for ordinary users). | ||||
Steps To Reproduce | extract a tar archive that contain file with 600 permission with a user with umask 0002. I've tried with esx log bundle which is collected with file with permission 600 | ||||
Tags | centos 8, permission | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2020-03-09 14:21 | cristiano.vitali@gmail.com | New Issue | |
2020-03-09 14:21 | cristiano.vitali@gmail.com | Tag Attached: centos 8 | |
2020-03-09 14:21 | cristiano.vitali@gmail.com | Tag Attached: permission | |
2020-03-11 10:41 | cristiano.vitali@gmail.com | Note Added: 0036488 |