Find the answer to your Linux question:
Results 1 to 2 of 2
hi every one. first post so I've been looking how to change special mods (uid/gid/sticky) with chmod command. i found out how to do that with numbers like this chmod ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2014
    Posts
    1

    changing special mods using chmod


    hi every one. first post
    so I've been looking how to change special mods (uid/gid/sticky) with chmod command. i found out how to do that with numbers like this chmod 2755 file .
    but what i'm asking is how to change with characters.
    you know, like this chmod -R u+w,go-w docs
    thanks in advance, new to unix

  2. #2
    Linux Engineer
    Join Date
    Dec 2013
    Posts
    1,305
    The sticky bit uses t symbolically and the setuid/gid uses s.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •