Integration of security management files.
By default, user folders are only accessible by the user himself and the members of the Administrators group.
[When you only move a user's folders] security is being inherited from the destination folder.
[Then you have the problem] that all users have full rights to all files ...
With the script, the [security and permissions] will be the same as the original locations.
PositionDefaultFolderSevenModular.ini file, if the field is AddUsername
4 is the field Security,
the following security settings are applied to the relevant files:
- Applications of all rights to the user. (+ Inheritance)
- Remove inherited rights
- Applications of all rights to the account system (+ inheritance)
- Applications of all rights to the Administrators group
Note: By default, and as for junctions, Windows does not apply to files moved the original security.
[But] the script now does! [Change] 27/07/2011
Changing the script Jonctions.cmd
Added variable %USERDOMAIN% for the application of safety issues.
The absence of this variable was a problem of access to the Temporary Internet Files
folder to a user domain.
See the script jonctions.cmd on line 156