If changing the owner of file with chown command, suid and sgid are missing from file mode.
Issue
-
If changing the owner of file with chown command, suid and sgid are missing from file mode.
# ls -l testfile -rwxrwsrwx 1 testusr1 testusr1 0 Nov 27 18:40 testfile # chown testusr2:testgrp testfile # ls -l testfile -rwxrwxrwx 1 testusr2 testgrp 0 Nov 27 18:40 testfile
Environment
- Red Hat Enterprise Linux
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.