delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/04/09:20: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: <3E8D9544.CDF81CD3@ieee.org>
Date: Fri, 04 Apr 2003 09:23:00 -0500
From: "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org>
X-Accept-Language: en,pdf
MIME-Version: 1.0
To: Rudiyanto Gunawan <rudiyantogunawan AT hotmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: Postinstall failure: file not found
References: <F21cm9t0CI76rOJhKPc00004613 AT hotmail DOT com>

Rudiyanto Gunawan wrote:
>
> Ok, here is what I got
> 
> bash-2.05b$ /usr/bin/sh -c /etc/postinstall/passwd-grp.sh.done
> /etc/postinstall/passwd-grp.sh.done: not found
> 
> I don't have /etc/passwd. After mkpasswd and mkgroup,
> getfacl /etc gave me:
> bash-2.05b$ /usr/bin/getfacl /etc
> # file: /etc
> # owner: Administrators
> # group: Users
> user::---
> user:ryg:rwx
> user:Administrator:rwx
> group::---
> group:SYSTEM:rwx
> mask:rwx
> other:---
> default:user:ryg:rwx
> default:user:Administrator:rwx
> default:group:SYSTEM:rwx
> default:mask:rwx

We are making some progress.
1) At this site, the acl goesn't give any access to Users
2) Because Rudiyanto is in Administrators, the owner is Administrators
3) But the acl doesn't give any access to Administrators either.
   1 and 3 are very unusual conditions
3) If setup had the 2nd ntsec patch I sent a while ago, the owner would
   be ryg and everything would be allright.
4) Still the basic problem remains: why does sh -c script.sh  fail although
   script.sh is rxw by the current user?
   I tried to reproduce it here, but everything is fine

/> cat sayhi
echo hi
/> getfacl sayhi
# file: sayhi
# owner: AdministratorS
# group: Users
user::---
user:PHumblet:rwx
group::---
mask:rwx
other:---
/> sh -c sayhi
hi

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/

- Raw text -


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