public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* ]Should ntsec & autotools work under XP prof ?
@ 2002-11-03  9:10 amores perros
  2002-11-03  9:23 ` cygwin
  2002-11-03 19:54 ` Pierre A. Humblet
  0 siblings, 2 replies; 3+ messages in thread
From: amores perros @ 2002-11-03  9:10 UTC (permalink / raw)
  To: cygwin

--- Below this line is a copy of the message.

 
   
Subject :    
Should ntsec & autotools work under XP prof ?  
   
Date :    
Sun, 03 Nov 2002 16:53:57 +0000  
   
As I have stock default security token in my "limited" account, 
and a stock cygwin distribution, AFAIK, and autotools is not 
compatible with ntsec on my system, I wonder if anyone else 
has it working ? 

That is, has anyone seen these three all work together ? 
  i) installation & use as a normal user 
ii) ntsec 
iii) autotools 


I ran the cygwin setup as my normal user, and when prompted, 
gave it credentials for an administrator. 


I deduce that the cygwin loader uses NT permissions to determine

whether I can run an executable, as all the executables in 
/user/bin list as 
   -rwx------ Administ None 
yet it still lets me run them, and in fact the NT permissions 
allow Users to Read&Execute. 

So I assume that this is a vagary of the ntsec mapping that 
the permissions are being displayed as not executable to users, 
and that this is not the reality of what the loader obeys. 

I guess that the -x shell test used in the autotools wrappers 
is actually implemented by looking at the unix permissions not
the 
NT permissions, and as the unix permissions are wrong (as
mentioned 
above) this is why the autotools wrappers fail. 

I don't know the architectural answer as to 
- should the -x shell test look at the real NT permissions 
or 
- should the unix permissions more realistically reflect the 
   NT permissions 
or 
- is it not possible to get the -x shell test correct for cygwin


Anyway, if anyone knows the answer to my compabitility curiosity

(autotools + ntsec + non-administrative user) 
or if this jogs any memories, I'd be curious to hear any
reactions. 

Cordially, 

Perry 


[I made a yahoo mail account, b/c the cygwin mail list
bounces email from hotmail, at least sometimes.)
 

__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ]Should ntsec & autotools work under XP prof ?
  2002-11-03  9:10 ]Should ntsec & autotools work under XP prof ? amores perros
@ 2002-11-03  9:23 ` cygwin
  2002-11-03 19:54 ` Pierre A. Humblet
  1 sibling, 0 replies; 3+ messages in thread
From: cygwin @ 2002-11-03  9:23 UTC (permalink / raw)
  To: cygwin

On Sun, Nov 03, 2002 at 09:10:47AM -0800, amores perros wrote:
>[I made a yahoo mail account, b/c the cygwin mail list bounces email
>from hotmail, at least sometimes.)

http://sources.redhat.com/lists.html#rbl-sucks

--
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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ]Should ntsec & autotools work under XP prof ?
  2002-11-03  9:10 ]Should ntsec & autotools work under XP prof ? amores perros
  2002-11-03  9:23 ` cygwin
@ 2002-11-03 19:54 ` Pierre A. Humblet
  1 sibling, 0 replies; 3+ messages in thread
From: Pierre A. Humblet @ 2002-11-03 19:54 UTC (permalink / raw)
  To: cygwin

On Sun, Nov 03, 2002 at 09:10:47AM -0800, amores perros wrote:
<snip>
> That is, has anyone seen these three all work together ? 
>   i) installation & use as a normal user 
> ii) ntsec 
> iii) autotools 
<snip>
> I ran the cygwin setup as my normal user, and when prompted, 
> gave it credentials for an administrator. 

Others have reported similar problems doing that. 
If you know the credentials to be administrator, why don't 
you run setup while logged in as administrator?

> I deduce that the cygwin loader uses NT permissions to determine
> whether I can run an executable, as all the executables in 
> /user/bin list as 
>    -rwx------ Administ None 
> yet it still lets me run them, and in fact the NT permissions 
> allow Users to Read&Execute. 

Your conclusions are completely right. 
Improving the mapping from acl's to Unix modes is not easy. 
However this particular problem shouldn't be that hard to fix.
  
I am curious what the output of "id" is.
According to the Windows file security GUI, who owns the files?
You say that you have a "limited" account. 
Did you install cygwin in an area under your control or in a 
public area with limited access?
What's happening when you chmod the files to 777?

Pierre

--
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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-11-04  3:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-03  9:10 ]Should ntsec & autotools work under XP prof ? amores perros
2002-11-03  9:23 ` cygwin
2002-11-03 19:54 ` Pierre A. Humblet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).