X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.9 required=5.0	tests=AWL,BAYES_40
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Date: Mon, 29 Nov 2010 10:24:17 +0100
From: Vincent Richomme <forumer@smartmobili.com>
To: Andrey Repin <cygwin@cygwin.com>
Subject: Re: R: Question about cygwin installation and folder permissions
In-Reply-To: <61937822.20101129020448@mtu-net.ru>
References: <815077.49338.qm@web25503.mail.ukl.yahoo.com> <1187400578.20101128010744@mtu-net.ru> <f62d7504fa0d796d2cc37124b1af6511@mail.smartmobili.com> <61937822.20101129020448@mtu-net.ru>
Message-ID: <aaff76b39e3d1bf0f2a38a8a1507ce67@mail.smartmobili.com>
X-Sender: forumer@smartmobili.com
User-Agent: RoundCube Webmail/0.2
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

> Greetings, Vincent Richomme!
> 
>>>> run setup and choose the directory you want
>>>
>>>> the default proposal is c:\cygwin
>>>
>>> To add:
>>> Strongly advised against paths with spaces or national letters.
>>>
> 
>> Again I was not very clear I don't want to know how to install cygwin
>> because even a monkey can do it.
>> No what I want to know is in the installer how do you change folder
>> permissions, what kind of API, is it done by the installer or by some post
>> install script...
> 
> Erm, wat? Sorry, but I quite don't understand, what the end-result you want?
> Cygwin is installed in userspace. You could even install it in your profile
> directory (assuming you're on Vista/W7).
> 
>> Where can I find cygwin installer sources if it's done by it.
>> Actually I built a custom installer for msys/mingw-w64 and when I
>> install it in C:/Developer/MaxGW, if I run it without permissions I cannot
>> create new folder :
> 
>> mkdir: cannot create directory `/home': Permission denied
>> cp: cannot create regular file `/home/Vincent/.inputrc': No such file
>> or direry
>> bash: cd: /home/Vincent: No such file or directory
> 
> Then you don't have permissions to write to that folder.
> 
>> It means I usually have to run my application using administrator
>> rights but I don't like to do this.
>> Cygwin seems to allow user to create folder inside its installation
>> path so I would like to know how it's possible.
> 
> Sorry my, is this question regarding Cygwin, or msys?
> 

Forget my question because it's not the right place here but
my remark about README is related to cygwin.
So I don't care but it wouldn't hurt to update your document.





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

