Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


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

Setting up a shared sftp file area



> > > Now I just need to find a way to force the permissions that sftp/scp
> > > uses.

> The -p switch is not what he wants. He wants scp/sftp to set permissions 
> based on the umask of the local system user. 

In which case UMASK and SGID (chmod g+s) are the universal way to set
the permissions.

On a Linux or Solaris or other recent POSIX compliant un*x, you can uses
ACEs (Access Control Entries) to set default permission access lists on
a directory that are inherited by new/transient files. (The older ACLs
(Access Control Lists) in AIX do not default. This something VMS got
right and was picked up by POSIX and Win-NT.)

cheers, Bill

http://en.wikipedia.org/wiki/Access_control_list






BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org