Hello everybody !
I'm looking for help to give specifics rights on a directory tree ... like this one:
├───.android
├───.gimp-2.8
│ ├───brushes
│ ├───TEST
│ ├───curves
│ ├───dynamics
│ ├───environ
│ ├───fonts
│ ├───fractalexplorer
│ ├───gfig
│ ├───gflare
│ ├───gimpressionist
│ ├───gradients
│ ├───interpreters
│ ├───levels
│ ├───modules
│ ├───palettes
│ ├───patterns
│ ├───plug-ins
│ ├───scripts
│ ├───templates
│ ├───themes
│ ├───tmp
│ ├───tool-options
│ └───tool-presets
├───.thumbnails
│ └───normal
├───.VirtualBox
├───Desktop
├───Intel
│ └───Logs
├───ownCloud
└───VirtualBox VMs
For each directory, I have a group who manage some rights like TEST_R, TEST_W, TEST_D. I want to set these rights on the folder with the same name (brushes = brushes_(R|W|D), TEST = TEST_(R|W|D) ) with the "Administrators" one.
Except that I only need these rights to apply to the current folder, to the files in this folder, and to any files or folders that users will create.
So, "brushes" will have brushes_R, brushes_W, brushes_D, Administrators. All "brushes" files will have these too but not the "known" folders already created. However, the folders and files created by the users will have brushes"s rights too.
I tried this but it didn't work :
- icacls /reset
- icacls /inheritance:e
- icacls /grant:r "DOSSIER_R":(OI)(droits) /grant:r "DOSSIER_W":(OI)(droits) /grant:r "DOSSIER_D":(OI)(droits)
- icacls /inheritance:r
Hope to find a solution,
Kind regards.