Re: More about permissions

2015-03-31 Thread Andrey Repin
Greetings, Eliot Moss! >>> I am not sure this particular program (CrashPlan) works that way. >> >> That's not program property, but the user you run the program from. > Perhaps, but it runs as a background service. I never explicitly said what > user it runs as, etc. > Looking in Services, I s

RE: Adding font path to X server

2015-03-31 Thread Boylan, Ross
I did see your answer, and it worked! Thanks very much. I now have a very simple .startxwinrc. I noticed the default one does a lot of stuff. Should I try to include it or copy from it? Is it getting sourced automatically anyway? It looked as if the system startxwinrc sources the user .sta

Re: More about permissions

2015-03-31 Thread Eliot Moss
On 3/31/2015 4:55 PM, Andrey Repin wrote: >> I am not sure this particular program (CrashPlan) works that way. That's not program property, but the user you run the program from. Perhaps, but it runs as a background service. I never explicitly said what user it runs as, etc. Looking in Serv

Re: More about permissions

2015-03-31 Thread Andrey Repin
Greetings, Eliot Moss! >> Why does SYSTEM need full access to the files? If it's a backup tool, >> it has SE_BACKUP_NAME/SE_RESTORE_NAME access anyway. Every tool with >> Administrators in the token has the right to enable these access rights >> anyway. > I am not sure this particular program (

Re: [PATCH] Add FAQ entry on how Cygwin counters man-in-the-middle (MITM) attacks

2015-03-31 Thread David A. Wheeler
On Tue, 31 Mar 2015 21:29:51 +0200, Corinna Vinschen wrote: > On Mar 31 14:08, David A. Wheeler wrote: > > Signed-off-by: David A. Wheeler > > Ugh! *Short* patches are ok for the cygwin mailing list. Short being a > handful of lines, not entire novels. Novels go to cygwin-patches, please :)

Re: [PATCH] Add FAQ entry on how Cygwin counters man-in-the-middle (MITM) attacks

2015-03-31 Thread Corinna Vinschen
On Mar 31 14:08, David A. Wheeler wrote: > Signed-off-by: David A. Wheeler Ugh! *Short* patches are ok for the cygwin mailing list. Short being a handful of lines, not entire novels. Novels go to cygwin-patches, please :) Other than that, patch looks almost ok. I only scanned it for now since

[PATCH] Add FAQ entry on how Cygwin counters man-in-the-middle (MITM) attacks

2015-03-31 Thread David A. Wheeler
Signed-off-by: David A. Wheeler --- winsup/doc/faq-setup.xml | 129 ++- 1 file changed, 128 insertions(+), 1 deletion(-) diff --git a/winsup/doc/faq-setup.xml b/winsup/doc/faq-setup.xml index 614d4a9..3764214 100644 --- a/winsup/doc/faq-setup.xml +++ b

Re: cygrunsrv no longer allows domain user

2015-03-31 Thread Len Giambrone
On 03/31/2015 02:00 PM, Len Giambrone wrote: On 03/31/2015 06:04 AM, Corinna Vinschen wrote: On Mar 30 14:07, Len Giambrone wrote: This used to work (before Corinna's db work): $ cygrunsrv -I myservice -d 'myservice' -u 'ISCINTERNAL\build' -w donotuseme -p /cygdrive/f/tut/install.sh cygrun

Re: cygrunsrv no longer allows domain user

2015-03-31 Thread Len Giambrone
On 03/31/2015 06:04 AM, Corinna Vinschen wrote: On Mar 30 14:07, Len Giambrone wrote: This used to work (before Corinna's db work): $ cygrunsrv -I myservice -d 'myservice' -u 'ISCINTERNAL\build' -w donotuseme -p /cygdrive/f/tut/install.sh cygrunsrv: Error installing a service: CreateService:

Re: static vs. shared linking

2015-03-31 Thread David Stacey
On 31/03/15 10:05, Corinna Vinschen wrote: On Mar 30 20:15, David Stacey wrote: Back to the matter in hand - I don't suppose you had thoughts on why my simple application crashes when linked as shared, but works fine when linked statically? No, sorry. This may be a c++11 thingy which requires

Re: [64 bit] linking with gfortran: error message in w32api/libkernel32.a

2015-03-31 Thread Corinna Vinschen
On Mar 31 12:57, Seher, Holger Dr. wrote: > Dear Cygwin community, > I'm trying to compile and link some software we recently acquired using > gfortran (4.9.2) under Cygwin64 (1.7.35-1) on Windows 7 (see attachment for > installed packages). On Linux the program is linked correctly with both > g

Re: More about permissions

2015-03-31 Thread Corinna Vinschen
On Mar 31 08:21, Eliot Moss wrote: > On 3/31/2015 6:15 AM, Corinna Vinschen wrote: > >On Mar 30 23:26, Eliot Moss wrote: > >Taking the group s-bit into account is part of my work-in-progress for > >Cygwin 1.7.36. > > Step by step! Right. Baby steps :} > >>- I could not find an explanation of th

Yet more about permissions

2015-03-31 Thread Thomas Wolff
[Not sure whether this has been described before] I copied a zip file from my dropbox folder, where it has the following permissions by means of Dropbox: rwx---+ 1 towo None 691436 30. Mrz 18:32 m.zip # file: m.zip # owner: towo # group: None user::--- group::--- group:root:rwx group:Authent

[64 bit] linking with gfortran: error message in w32api/libkernel32.a

2015-03-31 Thread Seher, Holger Dr.
Dear Cygwin community, I'm trying to compile and link some software we recently acquired using gfortran (4.9.2) under Cygwin64 (1.7.35-1) on Windows 7 (see attachment for installed packages). On Linux the program is linked correctly with both gfortran and ifort. However while linking with Cygwin

Re: More about permissions

2015-03-31 Thread Eliot Moss
On 3/31/2015 6:15 AM, Corinna Vinschen wrote: On Mar 30 23:26, Eliot Moss wrote: The group s-bit is not yet taken into account. If you have "Cygwin" as your primary group in /etc/passwd or the account DB of choice (SAM/AD), using 0755 as permissions should do the same thing. Ok -- since I w

Re: Compiling nano from source

2015-03-31 Thread Marco Atzeri
On 3/31/2015 2:09 PM, Fergus Daly wrote: The editor nano-2.4.0 comes with Cygwin. But recently a patch to nano-2.4.0 has been made available on nano-devel which I would like to try on a Cygwin platform. I'll need to patch nano from source. So I downloaded the source direct from the nano site

Compiling nano from source

2015-03-31 Thread Fergus Daly
The editor nano-2.4.0 comes with Cygwin. But recently a patch to nano-2.4.0 has been made available on nano-devel which I would like to try on a Cygwin platform. I'll need to patch nano from source. So I downloaded the source direct from the nano site. Starting with ./configure works fine. Then

Re: How can I contribute a FAQ entry for MITM? Should there be a FAQ entry on how to add FAQ entries?

2015-03-31 Thread Corinna Vinschen
On Mar 31 00:11, David A. Wheeler wrote: > I'd like to propose text to add to the Cygwin FAQ (https://cygwin.com/faq/ ) > about how Cygwin counters MITM attacks. > > How can I propose such text? Ideally, clone the git repo per https://cygwin.com/git.html and send patches to the cygwin-patches ma

Re: More about permissions

2015-03-31 Thread Corinna Vinschen
On Mar 30 23:26, Eliot Moss wrote: > Dear Cygwin community -- > > Along with some others, I've been struggling a little to accommodate > the changes to permissions handling that came lately. I think I about > have it figured out to work mostly Unix-like within my cygwin tree, > but have one remai

Re: cygrunsrv no longer allows domain user

2015-03-31 Thread Corinna Vinschen
On Mar 30 14:07, Len Giambrone wrote: > This used to work (before Corinna's db work): > > $ cygrunsrv -I myservice -d 'myservice' -u 'ISCINTERNAL\build' -w donotuseme > -p /cygdrive/f/tut/install.sh > cygrunsrv: Error installing a service: CreateService: Win32 error 1057: > The account name is in

Re: static vs. shared linking

2015-03-31 Thread Corinna Vinschen
On Mar 31 08:04, Achim Gratz wrote: > David Stacey writes: > > Thank you for your reply. I tried this two different ways: > > > > - Running 'rebase -s' on cygcrash_library.dll; > > Better try 'rebase -O' if you're just experimenting. > > > - Moving 'cygcrash_library.dll' into /usr/bin and tri

Re: static vs. shared linking

2015-03-31 Thread Corinna Vinschen
On Mar 30 20:15, David Stacey wrote: > On 30/03/15 11:55, Corinna Vinschen wrote: > >On Mar 25 22:42, David Stacey wrote: > >>I've never had much joy out of addr2line before, and I'm struggling to > >>recreate what you've done. I've added '-g' to the command line, run 'go.sh' > >>again. This genera