delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/08/11:37:10

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <114780-220021028153656764@M2W089.mail2web.com>
X-Priority: 3
Reply-To: lhall AT rfk DOT com
X-Originating-IP: 209.113.174.244
From: "lhall AT pop DOT ma DOT ultranet DOT com" <lhall AT pop DOT ma DOT ultranet DOT com>
To: mseritan AT jacent DOT com, cygwin AT cygwin DOT com
Subject: Re: Problem with Station/Desktop permissions
Date: Tue, 8 Oct 2002 11:36:56 -0400
MIME-Version: 1.0
X-OriginalArrivalTime: 08 Oct 2002 15:36:56.0927 (UTC) FILETIME=[88F4CEF0:01C26EE0]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g98Fb9d08115

You're not an expert?  Oh well then never mind.  We only want 
experts! ;-)  (Just kidding)

Take a look at http://cygwin.com/contrib.html w.r.t. contributing a patch.
It should get through the basics.  I expect the maintainers of the Cygwin 
code to do this similar function would prefer a patch to that code rather
than linking in some other library so if it's all the same to you, I'd
suggest you pursue that approach.

Thanks for your time and input!

Larry



Original Message:
-----------------
From: Marius Seritan mseritan AT jacent DOT com
Date: Tue, 8 Oct 2002 08:06:19 -0700
To: lhall AT rfk DOT com, cygwin AT cygwin DOT com
Subject: Re: Problem with Station/Desktop permissions


Larry and cygwin-list readers,

In my own code I am using the fksec C++ library,
http://www.mvps.org/win32/security/fksec.html. I am not sure if people are
willing to link that library in cygwin. In the affirmative I can suggest a
patch to the list that would add the appropriate ACEs to the Station and
Desktop SDs, instead of replacing them with a null SD. 

Note that I am not an NT security expert, I can only contribute some code
that is working for me.

Marius

----- Original Message ----- 
From: <lhall AT pop DOT ma DOT ultranet DOT com>
To: <mseritan AT jacent DOT com>; <cygwin AT cygwin DOT com>
Sent: Tuesday, October 08, 2002 7:54 AM
Subject: RE: Problem with Station/Desktop permissions


Hi Marius,

I don't believe there is any active work going on in the area that you 
mention.  It seems to change and improve on an "as-needed" basis based
on bug reports and the like.  If you are interested in suggesting a 
patch, I'm sure the list would be interested in reviewing your ideas.

Larry

Original Message:
-----------------
From: Marius Seritan mseritan AT jacent DOT com
Date: Mon, 7 Oct 2002 14:32:47 -0700
To: cygwin AT cygwin DOT com
Subject: Problem with Station/Desktop permissions



<snip>

From what I see from the sources, cygwin is also adjusting the permissions
on the station\desktop. The approach taken in spawn.cc is a lot more
radical though, the security descriptor is basically blown away. This seems
to break my code. 

Has anybody else encountered this problem? Are there plans to move to a
more nuanced approach when adjusting the permissions on the window
stations/desktop?

Thanks for any pointers/comments.

Marius Seritan
Engineering
mseritan AT jacent DOT com


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .



--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019