Re: Registry keys not only accessible when user

2012-10-16 Thread julien2412
strace gives an error: $ strace -o ls.trace /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft strace: error creating process C:\cygwin\proc\registry\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft, (error 3) Here's the result of cygcheck strace $ cygcheck strace Found: C:\cygwin\bin\strace.exe

Re: Registry keys not only accessible when user

2012-10-16 Thread julien2412
Thank you for your quick feedback Corinna, it worked. Here's the result of the grep command: 73 143048 [main] ls 2212 stat_worker: 0 = (/proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft,0x2004AD88) 67 146386 [main] ls 2212 stat_worker: 0 =

Re: Registry keys not only accessible when user

2012-10-16 Thread julien2412
Corinna, the commands you gave seem to show a pb with Windows registry. So I launched a free Windows registry tool (glary utilities) to search for errors + defrag Windows registry I also runned a scandisk on C: and now it works! Registry keys appear now with Cygwin without needing to launch it

Re: Registry keys not only accessible when user

2012-10-14 Thread julien2412
Andrey Repin-3 wrote Greetings, julien2412! Now if I just run an ls /proc/registry/ abbreviated HKLM/SOFTWARE/Microsoft, I can see the registry keys I quoted only if I launch Cygwin with admin rights. Sounds like incorrect installation or something environmental getting in the way

Re: Registry keys not only accessible when user

2012-10-10 Thread julien2412
Larry Hall (Cygwin) wrote On 10/9/2012 4:51 PM, julien2412 wrote: Anyway, I noticed that with regtool, everything was ok. Is regtool the recommanded way to access (in read only) registry keys? And so we should avoid to run things like this Perl script line: open($fhandle, /proc/registry/$key

Re: Registry keys not only accessible when user

2012-10-10 Thread julien2412
Corinna Vinschen-2 wrote On Oct 9 23:32, julien2412 wrote: ... 1) Why with no admin rights, ls /proc/registry doesn't map all the keys? After all, the goal is just to read only 2) Is there a way to have access to any registry keys without admin rights and without using regtool? If you

Re: Registry keys not only accessible when user

2012-10-10 Thread julien2412
Corinna Vinschen-2 wrote On Oct 10 03:17, julien2412 wrote: For example, there's nothing there : /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/VCExpress And there's nothing cause permissions aren't ok : ls -l /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/ d- 1 400

Registry keys not only accessible when user

2012-10-09 Thread julien2412
Hello, I'm trying to compile LibreOffice on Windows but configuration tool search some keys on /proc/registry/HKLM which appear only if I launch Cygwin with Admin rights. (Visual Studio/VCExpress keys). How to workaround launching Cygwin with admin rights and still access these registry keys?

Cppcheck full report

2012-10-09 Thread julien2412
Hello, I runned cppcheck (a static analyzer) on Cygwin sources this week-end. I thought you could be interested by its report. Of course there must be some false positives but hope it can help. Julien. cppcheck_all.txt.gz http://cygwin.1069669.n5.nabble.com/file/n93407/cppcheck_all.txt.gz

Re: Registry keys not only accessible when user

2012-10-09 Thread julien2412
Larry Hall (Cygwin) wrote On 10/9/2012 2:37 PM, julien2412 wrote: How to workaround launching Cygwin with admin rights and still access these registry keys? Windows won't let programs run by unprivileged users manipulate this registry hive. If you only need read access, you will need

Re: git clone in cygwin is failing

2012-10-09 Thread julien2412
preeetammn wrote Hi, I ran git clone command in cygwin and it is failing with below error. Please help on this. ... error: cannot fork() for fetch-pack: Resource temporarily unavailable ... Did you take a look to this link? http://cygwin.com/faq-nochunks.html#faq.using.fixing-fork-failures