Change SFTP UMask
Dave Korn
dave.korn@artimi.com
Thu May 10 16:05:00 GMT 2007
On 10 May 2007 16:04, Dave Korn wrote:
> On 10 May 2007 15:58, John J. Culkin wrote:
>
>> Hello
>>
>> Does anyone know of an easy way to change the UMask of SFTP on CYGWIN? For
>> one user and/or globally?
>>
>> For example when I create a via via SFTP, I want its permissions to be
>> 774 instead 664 (the default)
>
> Set it in the .bashrc of the user you're logging in as at the destination
> end.
Erk. Or possibly the .bash_profile; I'm not sure whether sftp counts as an
interactive login and therefore precisely which startup scripts it would run.
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list