Michael F Lense <michael.le...@convergys.com> writes:

> I am running Red Hat Version 5.8, and have Openssh installed
> at Version:

> # rpm -qa |grep -i openssh
> openssh-askpass-4.3p2-82.el5
> openssh-server-4.3p2-82.el5
> openssh-4.3p2-82.el5
> openssh-clients-4.3p2-82.el5
> #

> And installed rssh at:

> # rpm -qa |grep -i rssh
> rssh-2.3.3-1.el5.rf
> #

> I am trying to have all files uploaded to server with permissions of: "664"

umask sets maximum permissions, not minimum permissions.  That's why it's
a "mask"; it specifies what permissions to remove from the permissions
given by the client.  You won't be able to increase the permissions via
umask.  You have to get the user to upload the file with broader
permissions, use a cron job to change permissions, use file ACLs instead,
or something similar.

-- 
Russ Allbery (r...@stanford.edu)             <http://www.eyrie.org/~eagle/>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
rssh-discuss mailing list
rssh-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rssh-discuss

Reply via email to