X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Sun, 28 Nov 2010 19:26:36 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: R: Question about cygwin installation and folder permissions Message-ID: <20101129002635.GA1475@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <815077 DOT 49338 DOT qm AT web25503 DOT mail DOT ukl DOT yahoo DOT com> <1187400578 DOT 20101128010744 AT mtu-net DOT ru> <61937822 DOT 20101129020448 AT mtu-net DOT ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <61937822.20101129020448@mtu-net.ru> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 Mon, Nov 29, 2010 at 02:04:48AM +0300, Andrey Repin wrote: >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? Hmm. Good question. We certainly are not going to waste bandwidth discussing MSYS here. The sources for setup are available (of course). If you have questions, consult them. We're not going to help design a new installer for a Cygwin fork. Talk to the vast and canny team of MSYS developers if that is required. cgf -- 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