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



On 5/21/05, Zack Cerza <zcerza at coe.neu.edu> wrote:
> chmod g+s $DIR should help. man stat(2) and look for the paragraph about
> S_ISGID. That in combination with a umask that gives the group the
> permissions you want should be enough. As for how to set that umask for all
> your users but only for that folder, I can't help you there :(
>
Thanks, this gets me really close to what I wanted. Forcing my users' umask is
actually no problem but it doesn't do anything because sftp/scp ignores the
umask and maintains the permissions on the source file. Now I just need to
find a way to force the permissions that sftp/scp uses.

-Ben




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