sftp removing writable bit

2007-09-12 Thread John J. Culkin

Hello

I am seeing an issue with Cygwin's sftp. It seems that after I upload a 
file that overwrites an existing file, the writable bit is removed. This 
prevents me from uploading a new version of the file.


The files are owned by the SFTP user.

Any Ideas?

Thanks,

-- John C.

--
John J. Culkin  Systems Administrator
[EMAIL PROTECTED]   The University of Scranton
Phone: (570) 941-7665


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



SFTP Umask not propagating to sub folder

2007-05-15 Thread John J. Culkin

All:

I was having a hard time setting a Umask for files that were transfered 
via SFTP until Dave Korn kindly pointed me to this link  - 
http://www.derkeiler.com/Newsgroups/comp.security.ssh/2005-09/0094.html


I made a wrapper that sets the umask to 002 before starting the sftp 
server. Files in the root directory are set with the correct permissions 
but then files in subdirectories are created with permissions of 755 - 
any ideas?


Thanks,

-- John C.

--
John J. Culkin  Systems Administrator
[EMAIL PROTECTED]   The University of Scranton
Phone: (570) 941-7665


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



setfacl

2007-05-11 Thread John J. Culkin

Has anyone tried using setfacl so set ACL's on files?

-- John C.

John J. Culkin wrote:
I tried putting UMask commands in both places and neither seem to have 
any effect on files created by sftp


-- John C.



--
John J. Culkin  Systems Administrator
[EMAIL PROTECTED]   The University of Scranton
Phone: (570) 941-7665


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



Re: Change SFTP UMask

2007-05-10 Thread John J. Culkin
I tried putting UMask commands in both places and neither seem to have 
any effect on files created by sftp


-- John C.

--
John J. Culkin  Systems Administrator
[EMAIL PROTECTED]   The University of Scranton
Phone: (570) 941-7665


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



Change SFTP UMask

2007-05-10 Thread John J. Culkin

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)


Did anyone try anything like this? http://sftplogging.sourceforge.net/

Any information would be very helpful.

Thanks,

-- John C.

--
John J. Culkin  Systems Administrator
[EMAIL PROTECTED]   The University of Scranton
Phone: (570) 941-7665


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