what is sticky bit,setuid setgid and setfacl used for

Answer Posted / norton anti virus

sticky bit is used to protect the directory of one user
from the other users so that they cant delete it
chmod +t /ibm - add sticky bit we have to use this command
chomod -t /ibm - to remove sticky bit

setuid and setgid is also to give user some admin
authorities
chmod u+s /export/home/user1- to give user the permission
chmod g+s /export/home/user1 - to give group the permission

setfacl is used to give permission to a directory of the
user
setfacl -m user:user1:rw- /user1/file1
getfacl is to see the permission
setfacl -d is to remove the permission

Is This Answer Correct ?    28 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi, I need information regarding LDOMS.Like What is LDOMS ,Creation of LDOMS, errors on LDOMS, troubleshooting LDOMS...etc.... pls post the info. Regards, Naresh

2837


How to create a gateway?

6610


what is mean by netfmd in sun cluster what is the use of netfmd and what is the relation between ccd and netfmd?

2373


What is cachefs?

2019


Local zone in shutting down state.how to bring state of zone to installed?

1737






What is the zone in DNS?

1985


How do u know that,what patch can be applicable on the system?

1898


when i am starting solaris10 with 'fail safe mode' on intel machine it is asking "#starting shell".what is it and how to solve this problem?

2119


how can u give space garentee for volume in netapp storage

2902


hi to all,, i need few real time issues please provide me,, if you have any,,,

1830


In a two node cluster i have typed #hastart command in one node.The cluster is starting in second node also,what is going in background?

1845


What is the use of Sam utility in solaris

2472