This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: File permission problem


I think about a year ago there was a patch added to the cygwin core to
allow you to use 'umask' to change apparent permissions on a FAT32
partition.  The idea was you could then do something like:

umask 077; ssh foo.bar.com

I do not know if this code is still in the cygwin libraries, and if it
will solve your problem.

                             Bill



On Thu, 23 Sep 2004 22:52:21 -0400, Larry Hall
<lh-no-personal-replies-please@cygwin.com> wrote:
> At 09:59 PM 9/23/2004, you wrote:
> >Dear all,
> >
> >    I have try to generate a private key file so that I don't need
> >to enter password everytime I "ssh" to a remote machine. However, "ssh"
> >complaints me about the permission of key file. I don't know why "chmod"
> >always return 666 or 444 even I want to change the file to 600 or 400.
> >
> >    Does anymore have idea? Thanks.
> 
> 
> Does this describe your situation?
> 
> Why doesn't chmod work?
> <http://cygwin.com/faq/faq_toc.html#TOC41>
> 
> --
> Larry Hall                              http://www.rfk.com
> RFK Partners, Inc.                      (508) 893-9779 - RFK Office
> 838 Washington Street                   (508) 893-9889 - FAX
> Holliston, MA 01746                     
> 
> 
> 
> 
> --
> 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/
> 
>

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]