delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/02/25/19:33:58

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <4.1.19990226010239.016a17b0@mail.club-internet.fr>
Message-Id: <4.1.19990226010239.016a17b0@mail.club-internet.fr>
X-Sender: sbarre AT mail DOT club-internet DOT fr
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1
Date: Fri, 26 Feb 1999 01:05:18 +0100
To: John Fortin <fortinj AT ibm DOT net>
From: Sebastien Barre <Sebastien DOT Barre AT utc DOT fr>
Subject: Re: ... is not writable by you
Cc: Dennis Newbold <dnewbold AT blackberry DOT ivs DOT com>, cygwin AT sourceware DOT cygnus DOT com
In-Reply-To: <36D59F7D.81FA327@ibm.net>
References: <4 DOT 1 DOT 19990225124802 DOT 02724850 AT mail DOT club-internet DOT fr>
<4 DOT 1 DOT 19990225182034 DOT 016a2f10 AT mail DOT club-internet DOT fr>
Mime-Version: 1.0

At 14:07 25/02/99 -0500, John Fortin wrote:

>What is you userid though.  If the files were created by you and you are part
>of the administrator group, the files are OWNED by the administrator ID.  If
>your userid is not the administrator then you only have read/execute rights.

As seen in my example, the prompt PS1 shows that *I* am the administrator,
it's a standalone workstation which belongs to me :)

It might be related to Perl anyway, because the install script is written
in Perl. Here is the problematic part :

if ($d_dosuid && $>) { die "You must run as root to install suidperl\n"; }
   $installbin		|| die "No installbin directory in config.sh\n";
-d $installbin		|| mkpath($installbin, 1, 0777);
-d $installbin		|| $nonono || die "$installbin is not a directory\n";
-w $installbin		|| $nonono || die "$installbin is not writable by you\n"
	unless $installbin =~ m#^/afs/# || $nonono;

I removed the -w line, and it works. But I'd like to *understand* the problem.

______________________________________________________________
Sebastien Barre                  http://www.hds.utc.fr/~barre/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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