Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Solaris 10 file permissions

Posted on 2012-03-14
6
Medium Priority
?
383 Views
Last Modified: 2012-03-14
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!
0
Comment
Question by:wilkescc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 31

Expert Comment

by:farzanj
ID: 37721930
chmod 2745 Dirname
0
 

Author Comment

by:wilkescc
ID: 37721952
I just tried chmod 2745 and now my permissions are drwxr-s---
0
 
LVL 31

Accepted Solution

by:
farzanj earned 1500 total points
ID: 37721961
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.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:wilkescc
ID: 37721989
Now the permissions are drwxr--r-x
0
 

Author Comment

by:wilkescc
ID: 37722034
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
0
 

Author Closing Comment

by:wilkescc
ID: 37722475
Got it to work!

Thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question