This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Change SFTP UMask
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Thu, 10 May 2007 16:04:17 +0100
- Subject: RE: Change SFTP UMask
- References: <464332F0.6090209@scranton.edu>
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/