RenichBon
Mission Specialist
Mission Specialist
  • 404 Views

rh124-9.0 - ch07s05: removing special permissions

Well, it says here that you should be able to remove a special permission using:

 

chmod 0770 example

 

This isn't true. One should use:

 

# in simbolic
chmod g-s example

# or, in octal
chmod 00770 example
chmod =770 example

 

 

1 Reply
Chetan_Tiwary_
Moderator
Moderator
  • 378 Views

Hello @RenichBon !

Thank you for reporting this to us. 

You are right about removing the special permissions from directories require extra leading 0 :  man chmod :

Screenshot from 2023-09-28 00-56-13.png

 

I will flag this with our course development team.

0 Kudos
Join the discussion
You must log in to join this conversation.