mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-10-01 08:25:45 -04:00
comment
This commit is contained in:
parent
9050058bc2
commit
7c3da38bd5
@ -34,6 +34,7 @@ undo_all() {
|
||||
stat -c "%n %a %U %G" "$file_name" || true
|
||||
|
||||
chown "${owner}:${group}" "$file_name" || exit_code=202
|
||||
## chmod need to be run after chown since chown would remove suid.
|
||||
chmod "$mode" "$file_name" || exit_code=203
|
||||
|
||||
stat -c "%n %a %U %G" "$file_name" || true
|
||||
|
Loading…
Reference in New Issue
Block a user