Re: group permissions (was chroot ssh and ftp)
Dr Beco <email@example.com> wrote:
> Do you mean in the script (professor branch) something like:
> chown $USU:professor $USU
> chmod go= $USU
> This way one professor cannot see each others dirs, but inside home a
> file would be created (and stayed) like: rw-rw----
> Right? Don't need the -R.
> Yes, thanks. I just add that students can wrongly do a u-r, so I added
> a u+r. Will this sequence work?
Depending on the level of competence of your students, you might want
to let them shoot themselves in the foot, and just fix up group/other
permissions. (Good learning exercise, maybe.)