Re: group permissions (was chroot ssh and ftp)

2012-04-02 Thread Chris Davies
Dr Beco 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.

Re: group permissions (was chroot ssh and ftp)

2012-04-01 Thread Dr Beco
> To: debian-user lists.debian.org > Subject: Re: group permissions (was chroot ssh and ftp) > From: Chris Davies > > Chris wrote: > The problem with this is that you're making files executable. Personally > I think you'd be better off just fixing just the professo

Re: group permissions (was chroot ssh and ftp)

2012-04-01 Thread Chris Davies
Dr Beco wrote: > Now, for the permissions stated before, I got this until now: > Professors belong to two groups, professors and students > Students belong only to alumini > Admins belong to all > Then I run in professors /home/dirs the following command: > chown -R :professors paul peter patric

Re: group permissions (was chroot ssh and ftp)

2012-03-31 Thread Dr Beco
Dear Chris, When you pointed out there would be no serious benefit by chrooting the users, I decided to hold this configuration for a while. To isolate the system will take some time, and some bureaucratics :) Now, for the permissions stated before, I got this until now: Professors belong to two

Re: group permissions

2001-01-17 Thread Ethan Benson
On Tue, Jan 16, 2001 at 08:10:02PM -0600, Rob VanFleet wrote: > Sorry, I didn't make as much sense as I meant to. Basically, I was > wondering if it is possible for the default group permissions to change > on a created file. like: > > I create a file in /var/www called 'test' it is normally: >

Re: group permissions

2001-01-16 Thread Rob VanFleet
Sorry, I didn't make as much sense as I meant to. Basically, I was wondering if it is possible for the default group permissions to change on a created file. like: I create a file in /var/www called 'test' it is normally: -rw-r--r--1 rvf www-files0 Jan 16 20:05 test I would lik

Re: group permissions

2001-01-16 Thread Ethan Benson
On Tue, Jan 16, 2001 at 07:22:05PM +, Rob VanFleet wrote: > I have the permissions on /var/www set so that any file created within > it is owned by www-data. Currently, www-data does not have write access > to the files. What I want to do is set it up so that any file created > in /var/www is