LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Permissions propagating to subfolders & files (https://www.linuxquestions.org/questions/linux-general-1/permissions-propagating-to-subfolders-and-files-11414/)

linus 01-09-2002 08:10 AM

Permissions propagating to subfolders & files
 
Redhat 7.2

Hi,

I noticed that when I change permissions on a folder that the subfolders and files do not receive the same permissions. Therefore I have to change the permissions on those folders and files individually.

If I want to assign the same permissions to all subfolders and files in a directory, isn't there a way to automatically change permissions for folders and their contents at the same time rather than one at a time?

Thanks for any comments.

theFuzzyOne 01-09-2002 08:19 AM

chmod
 
chmod -R [____] [____]

mjhermanso21 06-21-2007 12:58 PM

Is there a way to set is so every file you add to the directory are given rwx for a group. My example is on a fileserver and users can rwx the files they add to the shared folder but no one elses.


All times are GMT -5. The time now is 01:34 AM.