Avatar of wilkescc
wilkescc
Flag for United States of America asked on

Solaris 10 file permissions

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!
Unix OS

Avatar of undefined
Last Comment
wilkescc

8/22/2022 - Mon
farzanj

chmod 2745 Dirname
wilkescc

ASKER
I just tried chmod 2745 and now my permissions are drwxr-s---
ASKER CERTIFIED SOLUTION
farzanj

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
wilkescc

ASKER
Now the permissions are drwxr--r-x
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
wilkescc

ASKER
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
wilkescc

ASKER
Got it to work!

Thanks