This is the mail archive of the cygwin@cygwin.com 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: Problem: SCP and umask ?!


On Thu, 3 Apr 2003, Duncan Rubinger wrote:

> Hi all,
>
> I'm slightly new to this list and would like to say hello at first.
>
> Unfortunately I've a question too. I'm using WINSCP2 or scp to copy my files
> on my Bitvise WinSSHD using cygwin bash for the environment. When I log
> in to my account normally, everything is OK ...
>
> I've changed th umask in the profile file to 000 for private reasons
> and this works fine directly under bash!
>
> But if I copy some files using any scp application, the files will be
> created with 644 as umask! Each file gets rw-r--r-- ! Don't know why
> ...
>
> Any suggestions ? This would be very helpful concerning this
> frustrating issue.
> Best regards,
> Duncan

Two questions:
1) are you sure your "profile" is executed on scp?
2) why would Cygwin's umask affect Windows programs?  or am I missing
something?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha at cs dot nyu dot edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor at watson dot ibm dot com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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]