Re: Sorting out owner and group permissions...

2009-04-21 Thread Mister Olli
hi, I have the same problem on some fileservers I do the administration for. But in my case the users send the files via SSH to the server. A solution for this, based on some OS mechanism would be really great :-) Anyone ever had to solve that problem? Regards, --- Mr. Olli On Mo, 2009-04-20

Re: Sorting out owner and group permissions...

2009-04-21 Thread Mel Flynn
On Tuesday 21 April 2009 11:17:40 Mister Olli wrote: hi, I have the same problem on some fileservers I do the administration for. But in my case the users send the files via SSH to the server. A solution for this, based on some OS mechanism would be really great :-) umask(1). -- Mel

Re: Sorting out owner and group permissions...

2009-04-21 Thread Mister Olli
hi, no does not work, since using SSH / SFTP does not involve starting a shell. so umask settings don't work. Regards, --- Mr. Olli On Di, 2009-04-21 at 14:36 +0200, Mel Flynn wrote: On Tuesday 21 April 2009 11:17:40 Mister Olli wrote: hi, I have the same problem on some fileservers I

Re: Sorting out owner and group permissions...

2009-04-21 Thread Mel Flynn
On Tuesday 21 April 2009 15:13:47 Mister Olli wrote: no does not work, since using SSH / SFTP does not involve starting a shell. so umask settings don't work. Then you're using the wrong system for the task. The OS can't make assumptions about what the ownership/modes of a file should really

Re: Sorting out owner and group permissions...

2009-04-21 Thread Mister Olli
Hi, I understand your point. But since a application can modify it to a arbritary value there must be some way to keep the app from doing nasty stuff. FreeBSD has MAC implementations ;-))) Regards, --- Mr. Olli On Di, 2009-04-21 at 17:02 +0200, Mel Flynn wrote: On Tuesday 21 April 2009

Sorting out owner and group permissions...

2009-04-20 Thread John Almberg
I have a directory called 'scans' that is owned by 'master', but I want to allow 'customer' to FTP images to that directory. This is the way I have permissions set: # ls -l drwxrwxr-x 5 master customer 251904 Apr 20 10:29 scans The problem is that when customer ftp's a file to the

Re: Sorting out owner and group permissions...

2009-04-20 Thread John Almberg
On Apr 20, 2009, at 2:48 PM, John Almberg wrote: I have a directory called 'scans' that is owned by 'master', but I want to allow 'customer' to FTP images to that directory. This is the way I have permissions set: # ls -l drwxrwxr-x 5 master customer 251904 Apr 20 10:29 scans The