1827136 Members
2886 Online
109716 Solutions
New Discussion

Re: Permissions

 
SOLVED
Go to solution

Permissions

How do I set the following permissions?
1. -r----s---
2. -r-S------
4 REPLIES 4
John Poff
Honored Contributor
Solution

Re: Permissions

Hi,

Like this:

# touch mytest.txt
# chmod 2410 my*
# ls -l my*
-r----s--- 1 root sys 0 Apr 29 13:35 mytest.txt

# chmod 4400 my*
# ls -l my*
-r-S------ 1 root sys 0 Apr 29 13:35 mytest.txt

Studying for a test? :)

JP

Re: Permissions

No just been a while since working with bits. Thanks bunches.
Sachin Patel
Honored Contributor

Re: Permissions

#chmod 2400 filename
#chmod 4400 filename

Sachin
Is photography a hobby or another way to spend $
Ramkumar Devanathan
Honored Contributor

Re: Permissions

1. chmod 2410
2. chmod 4400

- ramd.
HPE Software Rocks!