Folder/File permission inheritance.
hello everyone, I'm quite new to Linux and I've been given the following assignment.
I have to recreate a windows like folder structure that looks like this
Documents and Settings
I have to set the permissions for each subfolder to give the user and the group read and write access. but I also want any new folders/files created within this structure to inherit the same permissions as their parent folder. even when I create one as a Sudo user.
I can get it to work when a normal user creates a file within this structure, but not when I do it with Sudo.
I'm pretty sure I've missed something really small and any help on this subject is greatly appreciated.
Thanks in advance,