delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/28/17:37:54

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=3.2 required=5.0 tests=AWL,BAYES_00,BOTNET,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
Message-id: <4D90FF9D.7030405@cygwin.com>
Date: Mon, 28 Mar 2011 17:37:33 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Root Privileges related
References: <AANLkTinKogOVPHy5+yNqefs3AweH7UZOi7HXj0fMq2Mg AT mail DOT gmail DOT com> <4D90E075 DOT 1030106 AT cygwin DOT com> <AANLkTina1eQX6u9WDgGY82hJ+BB4RSnWV4mHCZQ18dj_ AT mail DOT gmail DOT com>
In-reply-to: <AANLkTina1eQX6u9WDgGY82hJ+BB4RSnWV4mHCZQ18dj_@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On 3/28/2011 4:23 PM, world peace wrote:
> Hi Larry,
>
> Thank you for your interest in my question first of all.
>
> When i try to do make or make install, the installer tries to write
> files to a location where I do not have permission and so it reports
> error and exits.
>
> When i check for permissions using ls -l, all the files and folders
> have nothing but blanks.
>
> ----------+ 1 Lab None 1057390384 Feb 15 20:58 test1.txt
> ----------+ 1 Lab None  300573141 Feb 15 21:58 test2.txt
> ----------+ 1 Lab None  645853504 Feb 15 22:09 test3.txt
> d---------+ 1 Lab None          0 Mar 23 14:21 ../
> d---------+ 1 Lab None          0 Mar 28 15:44 ./
>
> In this example, "Lab" is my windows username. Please see if it helps
> at all to understand this situation and any possible solution for me.

I can think of a number of reasons why you see the permissions the way
you are seeing them.  Before I speculate though, I recommend you try a
simple "chmod -R ug+rwx <dir>" where <dir> is the directory on which you
want to change permissions.  If that doesn't work for you, I recommend you
read and follow the problem reporting guidelines found here:

<http://cygwin.com/problems.html>

That will allow anyone on this list to evaluate the basics of your
installation and ask intelligent follow-up questions, if not provide
a solution.

-- 
Larry

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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