local admin `chmod 400` still can write

2014-07-31 Thread Ilya Basin
Hi. From cygwin shell I'm able to read and write files even though my Windows user has no permission for it. I tried `chmod` and to deny everything for Everyone in the Windows dialog, but it didn't help. How is it possible? $ id uid=48466(basin) gid=545(Users)

Re: local admin `chmod400` still can write

2014-07-31 Thread Achim Gratz
Ilya Basin basinilya at gmail.com writes: From cygwin shell I'm able to read and write files even though my Windows user has no permission for it. I tried `chmod` and to deny everything for Everyone in the Windows dialog, but it didn't help. How is it possible? The permission is granted via

Re: Simplify AD integration?

2014-07-31 Thread Achim Gratz
Corinna Vinschen corinna-cygwin at cygwin.com writes: Good points. I might have overvalued the gain of easily recognizing builtin accounts by the leading '+' separator. After some thinking with my eyes closed... not prefixing local accounts at all would at least allow the sshd to see the local

getcwd and PATH problem with moved cygwin1.dll

2014-07-31 Thread Jan Brezina
Hi, trying to make standalone build of an application with embedded Python I observe wrong values returned by getcwd and getenv(PATH) calls when cygwin1.dll is in the same directory as the executable. Python use these two calls to get absolute path of the executable (argv[0]) and to

Emacs 64-bit ahead of its time: clock skew

2014-07-31 Thread Markus Hoenicka
Hi, once in a while make complains that some of my files have timestamps in the future. I've investigated a little, and it seems that this affecs only files which I save from Emacs. The following script reproduces the problem (run it in an empty directory, especially sample.txt must not

Re: The eternal uid issue

2014-07-31 Thread D. Boland
Corinna Vinschen wrote: On Jul 29 15:36, D. Boland wrote: Corinna Vinschen wrote: The permissions of the home folder are set to 01777 by default (S_ISVTX bit!). Since we can't rely on central administration for Cygwin, this allows a user to create her own homedir automatically at

RE: Emacs 64-bit ahead of its time: clock skew

2014-07-31 Thread Nellis, Kenneth
From: Markus Hoenicka Hi, once in a while make complains that some of my files have timestamps in the future. I've investigated a little, and it seems that this affecs only snip You can get this behavior if the files are on a server whose time is not syncked to your computer. --Ken

RE: Emacs 64-bit ahead of its time: clock skew

2014-07-31 Thread Markus Hoenicka
At 2014-07-31 15:01, Nellis, Kenneth was heard to say: From: Markus Hoenicka Hi, once in a while make complains that some of my files have timestamps in the future. I've investigated a little, and it seems that this affecs only snip You can get this behavior if the files are on a server

Re: Simplify AD integration?

2014-07-31 Thread D. Boland
Corinna Vinschen wrote: So I'd like to ask a few questions to which I'd like to have some brief answers, kind of like a poll, to get a better idea how we should proceed: 1. Shall we remove the leading '+' from the builtin account names or shall we keep it? 2. Shall we stick to '+' as

RE: Emacs 64-bit ahead of its time: clock skew

2014-07-31 Thread Nellis, Kenneth
From: Markus Hoenicka Good catch. We're using roaming profiles here, so my home dir is on some network drive. If I re-run the test on a local disc, I get the following: snip That is, no time difference. But why does the network drive affect only emacs and not touch? The primary purpose

RE: Emacs 64-bit ahead of its time: clock skew

2014-07-31 Thread Markus Hoenicka
Am 2014-07-31 15:50, schrieb Nellis, Kenneth: From: Markus Hoenicka Good catch. We're using roaming profiles here, so my home dir is on some network drive. If I re-run the test on a local disc, I get the following: snip That is, no time difference. But why does the network drive affect only

Re: Emacs 64-bit ahead of its time: clock skew

2014-07-31 Thread Achim Gratz
Markus Hoenicka markus.hoenicka at mhoenicka.de writes: That is, no time difference. But why does the network drive affect only emacs and not touch? Try cat testfile or something along these lines that creates a file without explicitly resetting the timestamp as touch is doing. I think you

Re: [PATCH] openat-die: use _Noreturn markup

2014-07-31 Thread Paul Eggert
Jim Meyering wrote: Glad you found the root of the problem, and that it's not in gnulib. Likewise. For future reference, we avoid stdnoreturn.h in gnulib because MSVC mishandles it. Please see doc/posix-headers/stdnoreturn.texi for details. -- Problem reports:

Re: Simplify AD integration?

2014-07-31 Thread Eric Blake
On 07/31/2014 07:26 AM, D. Boland wrote: Corinna Vinschen wrote: So I'd like to ask a few questions to which I'd like to have some brief answers, kind of like a poll, to get a better idea how we should proceed: 1. Shall we remove the leading '+' from the builtin account names or shall we

(call-process ...) hangs in emacs

2014-07-31 Thread Peter Hull
VC integration in emacs has stopped working for me in the past few days. Using emacs debugger I found the last function call was to call-process which never returns. I can reproduce this by evaluating in Lisp Interaction mode (using ^J) (call-process pwd nil t) I would expect to see the PWD and

Re: Simplify AD integration?

2014-07-31 Thread D. Boland
Eric Blake wrote: On 07/31/2014 07:26 AM, D. Boland wrote: Corinna Vinschen wrote: So I'd like to ask a few questions to which I'd like to have some brief answers, kind of like a poll, to get a better idea how we should proceed: 1. Shall we remove the leading '+' from the builtin

[ANNOUNCEMENT] Updated: sng 1.0.6-1

2014-07-31 Thread Andrew Schulman
A new version of sng, 1.0.6-1, is available in the Cygwin distribution. This is a new upstream release, with minor bug fixes and improvements. The author of sng declines to provide a standard change log. To see the project version control history, go to:

Re: (call-process ...) hangs in emacs

2014-07-31 Thread Ken Brown
On 7/31/2014 10:51 AM, Peter Hull wrote: VC integration in emacs has stopped working for me in the past few days. Using emacs debugger I found the last function call was to call-process which never returns. I can reproduce this by evaluating in Lisp Interaction mode (using ^J) (call-process pwd

AW: Simplify AD integration?

2014-07-31 Thread Christoph H. Hochstaetter
Corinna Vinschen wrote: Default is 'auto': builtin accounts; +SYSTEM, +LOCAL, etc. primary domain corinna, cgf, ... other domain: DOMAIN1+walter, DOMAIN2+mathilda If set to 'primary': builtin accounts; +SYSTEM, +LOCAL, etc. primary domain

Withdrawing from the project

2014-07-31 Thread Christopher Faylor
In the last several months I've told various key players in the Cygwin project that I was thinking about withdrawing from the project. Today is the day that this becomes official. I was hoping that my final act for Cygwin would be to get it imported into git but it looks like that will be

Re: Withdrawing from the project

2014-07-31 Thread David Eisner
On Thu, Jul 31, 2014 at 5:27 PM, Christopher Faylor wrote: Felly hir, a diolch am yr holl bysgod And: So long and thanks for all the Cygwin. Seriously. Good luck in your future. -David -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/

Re: Simplify AD integration?

2014-07-31 Thread Andrey Repin
Greetings, D. Boland! I am not only a man of legacy, but also a very opinionated one. So give me some slack when I say: the whole thing is insane. This would mean that from now on, I have to use constructs like ~+daniel ~+SYSTEM in a Linux shell?? Bizarre. No, you don't have. Default

Withdrawing from the project

2014-07-31 Thread Christopher Faylor
As I mentioned in the cygwin mailing list: I'm withdrawing from the project. I'm sending a separate note here with information about the cygwin-apps part of this decision. The upset perl script lives in ~cygwin/setup. This is also a git repository. When you push to it, it updates the active

Re: Resize a Cygwin64 xterm on Windows 7 64-bit jumps in increments of two or three columns

2014-07-31 Thread Jon TURNEY
On 30/07/2014 19:04, C Linus Hicks wrote: I have run Cygwin on multiple versions of Windows including recently on Windows XP and don't think I ever had this problem. Resizing or specifying a geometry always resulted in the exact number of columns requested, with increments of 1 column being

Re: Resize a Cygwin64 xterm on Windows 7 64-bit jumps in increments of two or three columns

2014-07-31 Thread C Linus Hicks
On Thu, 2014-07-31 at 12:45 +0100, Jon TURNEY wrote: On 30/07/2014 19:04, C Linus Hicks wrote: I have run Cygwin on multiple versions of Windows including recently on Windows XP and don't think I ever had this problem. Resizing or specifying a geometry always resulted in the exact number of

Updated: sng 1.0.6-1

2014-07-31 Thread Andrew Schulman
A new version of sng, 1.0.6-1, is available in the Cygwin distribution. This is a new upstream release, with minor bug fixes and improvements. The author of sng declines to provide a standard change log. To see the project version control history, go to: