Link to home
Start Free TrialLog in
Avatar of Barry Kay
Barry KayFlag for South Africa

asked on

Linux - Set folder & File permission inheritance on sub-folders and files

We are a Linux file server.
I have created a new folder and get a group ownership to that folder. I have given the specific user access to that group.
When a use creates a file or folder it make it read only for all other users.
How can I set it so that any file and sub folder will still retain the same permissions as the parent folder?
I will then also need to run a command that will change all permissions on the all curenly folders already created.
Avatar of Haris Dulic
Haris Dulic
Flag of Austria image

SOLUTION
Avatar of Zerox Hoop
Zerox Hoop
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Barry Kay

ASKER

Hi xeroxzerox

What is the full path for the setfacl command as I get the following when trying to run it.
-bash: setfacl: command not found
Full path of setfacl
/usr/bin/setfacl

If you want any full path of command then just run below command.
#whereis setfacl
if it installed then it gives you full path....
Seems as though setfacl is not installed on the server we have.
Any alternative?
which server it is? it will help with the solutions
Which Linux Distribution You Are Using?
Running   openSUSE 12.2
Where can I download it from?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial