Advertisement

02.21.2008 at 03:26AM PST, ID: 23180736
[x]
Attachment Details

how to setuid using setfacl

Asked by D_wathi in Linux Network Security, Samba File Server

Dear Sir/Madam:

I have redhat enterprise linux version 5 working as a samba pdc  , configured the same with the acl feature , now for the few samba share i want to give full control (rwx) but only the owner or the root user should be able to delete the file or directory also the share should inherit the same permissions to all the subfolders and the files

1, think should use the SUID but making use of chmod command chmod -R 4775 but how to use the same with the setfacl command i mean iam looking for the equivalent of chmod -R 4775 for the setfacl

for example : if the default acl is set by making use of teh setfacl command:
# setfacl -d --set u:rwx,u:tippy:rwx,uaxel:rx,g:lensmen:rx,o:: plato
this will inherit all the permissions from the parent directory

similarly how i can i make use of the default acl for the SUID

please help me on this




Start Free Trial
[+][-]02.21.2008 at 09:01PM PST, ID: 20954744

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Linux Network Security, Samba File Server
Sign Up Now!
Solution Provided By: Redimido
Participating Experts: 2
Solution Grade: B
 
 
[+][-]02.21.2008 at 11:28PM PST, ID: 20955281

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.22.2008 at 12:21AM PST, ID: 20955451

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.22.2008 at 05:58AM PST, ID: 20957245

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.22.2008 at 08:51AM PST, ID: 20959143

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]02.22.2008 at 10:43AM PST, ID: 20960103

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628