mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-05-08 08:24:58 -04:00
comment
This commit is contained in:
parent
9050058bc2
commit
7c3da38bd5
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue