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]

sed 4.2.1-1 locks files on windows


see here: http://stackoverflow.com/questions/9368783/cygwin-bash-sed-locks-my-files

When I change files in cygwin bash with the sed command, the file gets locked.

Reproduce:

    Open cmd and cd to non-user directory (f.e. temp)
    echo aaa > test.txt
    Open in texteditor, add line, try to save => works
    %CYGWIN_HOME%\bin\bash -c "sed -i 's/aaa/bbb/' test.txt
    In texteditor, add another line and try to save => "Access denied"

-- 
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!                                  
Jetzt informieren: http://www.gmx.net/de/go/freephone/

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


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