[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: group permissions (was chroot ssh and ftp)



Dr Beco <rcb@beco.cc> wrote:
> Do you mean in the script (professor branch) something like:
>   chown $USU:professor $USU
>   chmod go= $USU

Yes.

> 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.

Correct.



> 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.)

Chris


Reply to: