What would be the proper command to remove the GPUI or both of them at the same time in the absolute mode?
Here's an example, setting and unsetting:
Code:
Original file:
[dmn@Tyana testing]$ ls -l
total 0
-rw-r--r-- 1 dmn dmn 0 Sep 6 13:45 myfile.txt
Set SUID and GUID:
[dmn@Tyana testing]$ chmod 6644 myfile.txt
[dmn@Tyana testing]$ ls -l
total 0
-rwSr-Sr-- 1 dmn dmn 0 Sep 6 13:45 myfile.txt
reverse it:
[dmn@Tyana testing]$ chmod 644 myfile.txt
[dmn@Tyana testing]$ ls -l
total 0
-rw-r--r-- 1 dmn dmn 0 Sep 6 13:45 myfile.txt
as it originally was.
Bookmarks