X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,FSL_RU_URL,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST X-Spam-Check-By: sourceware.org Message-ID: <852106.88728.qm@web25502.mail.ukl.yahoo.com> Date: Sun, 28 Nov 2010 11:46:38 +0000 (GMT) From: Marco Atzeri Subject: Re: R: Question about cygwin installation and folder permissions To: cygwin AT cygwin DOT com, Vincent Richomme In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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 --- Dom 28/11/10, Vincent Richomme ha scritto: > On Sun, 28 Nov 2010 01:07:44 +0300, > Andrey Repin > > wrote: > > Greetings, Marco Atzeri! > >=20 > >> run setup and choose the directory you want > >=20 > >> the default proposal is c:\cygwin > >=20 > > To add: > > Strongly advised against paths with spaces or national > letters. > >=20 >=20 > 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... > Where can I find cygwin installer sources if it's done by > it. http://sourceware.org/cygwin-apps/setup.html http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/?cvsroot=3Dcygwin-apps > 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 : >=20 > 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 >=20 >=20 > It means I usually have to run my application using > administrator > rights but=20 > 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. >=20 > Thanks -- 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