Up to [LON-CAPA] / loncom
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Current tag: version_1_2_99_0
When the auth mode is being changed to internal, and the user has a /home/username dir (has authorship role), prior to setting the permissions and ownership, write a script named restore_n.sh in the users's /home/username diretory that will restore all currently extant files to their prior ownershp and permissions. This is done in case a filesystem user is accidently changed into an internal user and then is changed back... the default action of lchtmldir in that case may leave files without the prior permissions, if the user did some interesting stuff with group ownership, or had sensitive stuff. The user can the login, locate the most recent version of the script and execute it to get back to something close to what they had before