[OT] Re: Serious problem with perl -pi -e

2002-05-06 Thread Shawn
Setting this variable will be helpful, and will make the FS behave more like a std unix one. It will support things like sticky bit, 000 perms, etc etc by mapping NTFS acl stuff. However, the cygwin files you have in your system, after setting this, will be like rwxrwxrwx. This is because when y

RE: Serious problem with perl -pi -e

2002-05-05 Thread Sharan Hiremath
: Serious problem with perl -pi -e On 04/30, sharan said something like: > Hello Peter, > > I did this on Cygwin. I followed the same steps as mentioned by you. But > still file got deleted. > > sharan@SHARAN ~ > $ cat foo > cat: foo: No such file or directory So far s

Re: Serious problem with perl -pi -e

2002-04-30 Thread Shawn
On 04/30, sharan said something like: > Hello Peter, > > I did this on Cygwin. I followed the same steps as mentioned by you. But > still file got deleted. > > sharan@SHARAN ~ > $ cat foo > cat: foo: No such file or directory So far so good. > sharan@SHARAN ~ > $ echo "foo" > foo > > sharan@

Re: Serious problem with perl -pi -e

2002-04-30 Thread drieux
On Monday, April 29, 2002, at 10:13 , sharan wrote: [..] first off note that chmod 400 did not take you where you expected. > sharan@SHARAN ~ > $ ll foo > -r--r--r--1 sharan None4 Apr 30 10:39 foo ls -l foo -rw-r--r-- 1 drieux wheel 4 Apr 30 09:54 foo [jeeves:/tmp/drieux] d

Re: Serious problem with perl -pi -e

2002-04-30 Thread sharan
Hello Peter, I did this on Cygwin. I followed the same steps as mentioned by you. But still file got deleted. sharan@SHARAN ~ $ cat foo cat: foo: No such file or directory sharan@SHARAN ~ $ echo "foo" > foo sharan@SHARAN ~ $ chmod 400 foo sharan@SHARAN ~ $ ll foo -r--r--r--1 sharan No

Re: Serious problem with perl -pi -e

2002-04-29 Thread Peter Scott
At 12:35 PM 4/27/02 +0530, sharan wrote: >Hello, > >I lost my files, while using perl -pi -e. >I wanted to replace a world in a set of files, "perl -pi -e >'s/somestring/somethingelse/g' *.pl" >but, it gave error saying permission denied and all the files got deleted. > >If it cant rewrite the fil

Re: Serious problem with perl -pi -e

2002-04-27 Thread John W. Krahn
Sharan wrote: > > Hello, Hello, > I lost my files, while using perl -pi -e. > I wanted to replace a world in a set of files, "perl -pi -e > 's/somestring/somethingelse/g' *.pl" > but, it gave error saying permission denied and all the files got deleted. > > If it cant rewrite the files, at lea

Re: Serious problem with perl -pi -e

2002-04-27 Thread Paul Johnson
On Sat, Apr 27, 2002 at 12:35:38PM +0530, sharan wrote: > Hello, > > I lost my files, while using perl -pi -e. > I wanted to replace a world in a set of files, "perl -pi -e > 's/somestring/somethingelse/g' *.pl" > but, it gave error saying permission denied and all the files got deleted. > > If