We help IT Professionals succeed at work.

Solaris 10 file permissions

wilkescc
wilkescc asked
on
I have a solaris directory with the following permissions drwsrwx--- that I need to change to these permissions  drwxr-Sr-x  Can someone give me the chmod string that I need to make the change? Thanks!
Comment
Watch Question

CERTIFIED EXPERT

Commented:
chmod 2745 Dirname

Author

Commented:
I just tried chmod 2745 and now my permissions are drwxr-s---
CERTIFIED EXPERT
Commented:
Well, I am pretty sure that should not have happened.  However, I can tell you another way.

Now you do this
chmod g-x,o+rx Dirname

Open in new window


See how this works out.

Author

Commented:
Now the permissions are drwxr--r-x

Author

Commented:
Let me explain more of what I need to do. I need to rename an existing directory that has permissions of  drwxr-Sr-x

Then I need to create a new directory to replace the one I renamed and set the permissions to match the one I renamed.

When I create the new directory it has permissions of drwxrws---

I need the permissions to be drwxr-Sr-x

Author

Commented:
Got it to work!

Thanks

Explore More ContentExplore courses, solutions, and other research materials related to this topic.