Make install similar to chmod
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
---
|
||||
description: This can be run with elevated privileges to change permissions and then read, write, or execute a file.
|
||||
description: This can be run with elevated privileges to change permissions (`6` denotes the SUID bits) and then read, write, or execute a file.
|
||||
functions:
|
||||
suid:
|
||||
- code: |
|
||||
LFILE=file_to_change
|
||||
./chmod 0777 $LFILE
|
||||
./chmod 6777 $LFILE
|
||||
sudo:
|
||||
- code: |
|
||||
LFILE=file_to_change
|
||||
sudo chmod 0777 $LFILE
|
||||
sudo chmod 6777 $LFILE
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user