Executable permissions from scripts disappearing
Rafael Kitover
rkitover@cpan.org
Sat Mar 5 19:08:00 GMT 2011
Hello I'm using zsh with a recent snapshot (cygcheck -s -v -r output
attached.)
I have some perl scripts in the ActiveState perl directories in my PATH,
such as "cpan", "prove" and "perldoc".
I noticed at one point that having /c/Perl/bin in my PATH and doing a
hash -r wasn't picking up these scripts.
Then when I went to the /c/Perl/bin directory to take a look, the +x
permission from the scripts was gone.
And it wasn't gone from all the scripts, just the ones I had used (those
3 primarily.)
While in /c/Perl/site/bin, there were no executable permissions on
anything at all. I'm not sure if I ever set them there, but I think I did...
The first line of the scripts looks like this:
#!C:\Perl\bin\perl
I did a chmod +x on them, and they seem to stay that way now, but still
really strange. I had added aliases for these scripts because I didn't
know why they weren't being picked up in my PATH.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20110305/3c2c947b/attachment.ksh>
-------------- next part --------------
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list