Re: Wrong NTFS permissions

2024-01-24 Thread Vincent Rivière via Cygwin
ve be enough, instead of the obscure setfacl. Anyway, in my initial report, the "getfacl: b: Invalid argument" message looks really abnormal. Cheers, -- Vincent Rivière -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documenta

Wrong NTFS permissions

2024-01-23 Thread Vincent Rivière via Cygwin
Am I missing something, or this is a Cygwin bug? Cheers, -- Vincent Rivière -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

Re: tar 1.33 symlinks : Cannot change mode to...

2021-04-01 Thread Vincent Rivière
, -- Vincent Rivière -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

tar 1.33 symlinks : Cannot change mode to...

2021-01-11 Thread Vincent Rivière
such file or directory tar: Exiting with failure status due to previous errors Note that files and symlinks are properly extracted, but $? is set to 2 so scripts can fail. tar 1.32-2 : ok tar 1.33-1 : bug This needs to be fixed. Regards, -- Vincent Rivière -- Problem reports: https

Re: rsync performance degradation? Could be a windows issue?

2016-04-11 Thread Vincent Rivière
gwin rsync 3.0.8 binary. I get correct speed with this one. If that could matter, I use Windows XP and Cygwin 32. -- Vincent Rivière -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubs

Re: Check if a package is installed

2012-10-04 Thread Vincent Rivière
n "OK" if the list of files is missing. Sure. So I will continue to just test the presence of the .lst.gz to check if a package is installed: - missing: not correctly installed - present: installed (correctly or corrupted) -- Vincent Rivière -- Problem reports: http://cygwin.co

Re: Check if a package is installed

2012-10-03 Thread Vincent Rivière
fr-4.dll. But "cygcheck -c libmpfr4" still indicates OK... -- Vincent Rivière -- 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

Re: Check if a package is installed

2012-10-01 Thread Vincent Rivière
t its return code is still 0. This is not easy to use from scripts. -- Vincent Rivière -- 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

Check if a package is installed

2012-10-01 Thread Vincent Rivière
package information listed in /etc/setup/installed.db. Maybe this information should be considered as more reliable? -- Vincent Rivière -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html

Re: Open Windows Explorer from Cygwin prompt

2011-09-08 Thread Vincent Rivière
start ~ cygstart /etc cygstart dir1/dir2 -- Vincent Rivière -- 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

Open Windows Explorer from Cygwin prompt

2011-09-08 Thread Vincent Rivière
Did you know ? You can open the Windows Explorer from the Cygwin bash prompt simply by typing: cygstart . The Explorer shows the contents of the current bash directory. That's very handy, I have been using that tip for years. -- Vincent Rivière -- Problem reports: http://cygwi

Re: Please add 'AVG Internet Security 2011' to the BLODA list (and cygport also :-) ).

2011-02-07 Thread Vincent Rivière
ry 2 times in a row almost fixed the problem. I should try to uninstall AVG to see if this problem goes away. -- Vincent Rivière -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubs

Re: PATH with spaces

2011-01-30 Thread Vincent Rivière
. You should install Cygwin's make package, the you should clean up your path, at least locally: export PATH=/usr/bin:/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem -- Vincent Rivière -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: mintty start menu icon

2010-08-26 Thread Vincent Rivière
Andy Koppe wrote: Quite a lot of work though for what's not exactly a critical issue. I agree. But I wonder why what works for the standard console icon does not work for the mintty icon. Probably a special case. -- Vincent Rivière -- Problem reports: http://cygwin.com/problems

mintty start menu icon

2010-08-26 Thread Vincent Rivière
kage could honor the unchecking of "Add icon to Start Menu", just like the legacy Cygwin command prompt. -- Vincent Rivière -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubsc

mount segfaults with missing EOL in fstab

2010-08-13 Thread Vincent Rivière
Hello. I have just noticed that the mount utility segfaults when the last line of /etc/fstab is incorrectly terminated with a missing LF, even if it is a comment line. $ mount -a Segmentation fault (core dumped) -- Vincent Rivière -- Problem reports: http://cygwin.com/problems.html

Re: NCurses and Cygwin

2010-05-17 Thread Vincent Rivière
it is in the ncurses subdirectory. So your example simply refer to the old version. You just have to replace the includes to and so on. -- Vincent Rivière -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http

Re: did I find a cc bug??

2009-10-10 Thread Vincent Rivière
Your question is probably out of topic. The answer is you must compare strings using strcmp(), not == -- Vincent Rivière -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info

Re: Additional carriage return added by cygwin commands to DOS text files

2009-10-07 Thread Vincent Rivière
o understand is that when text files are opened using text mode (as they should always be), the programs never see the CR in memory. They are automatically stripped/appended by Cygwin when reading/writing into real files. Note that pipes (unlike real files) always contain binary data, without CR

Re: Additional carriage return added by cygwin commands to DOS text files

2009-10-07 Thread Vincent Rivière
mple repeater in textmode: exactly what we need. $ more test1 |grep -U -E 'a|b' > test2 $ xxd test2 000: 6161 610d 0a62 6262 0d0a aaa..bbb.. The result is correct. -- Vincent Rivière -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: Additional carriage return added by cygwin commands to DOS text files

2009-10-07 Thread Vincent Rivière
transparent solution :-( Cygwin's text mode handling is great, but some UNIX utilities like cat and grep are designed to act on either binary or text files, so they always open the files in binary mode, and we get that additional CR issue. -- Vincent Rivière -- Problem reports

Re: symlinks show .exe

2009-10-04 Thread Vincent Rivière
es me an idea: $ mv /bin/ls /bin/ls.bak $ ln -s /bin/ls lls $ mv /bin/ls.bak /bin/ls $ ls -l lls lrwxrwxrwx 1 vincent cygwin 7 Oct 4 22:19 lls -> /bin/ls $ ./lls The symlink looks good and it works ;-) -- Vincent Rivière -- Problem reports: http://cygwin.com/problems.html FAQ:

symlinks show .exe

2009-10-04 Thread Vincent Rivière
ell-known executables, it will not work as expected on other OS. As Cygwin allows referring to executables with or without .exe, in any context, it should be ok to remove that .exe in symlink targets. Do you agree this is a bug and it should be fixed ? -- Vincent Rivière -- Problem repo