This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: R: Question about cygwin installation and folder permissions


On Sun, 28 Nov 2010 01:07:44 +0300, Andrey Repin
<anrdaemon@freemail.ru> wrote:
> Greetings, Marco Atzeri!
> 
>> 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...
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


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.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]