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: Path confusion

On 31 Mar, Igor Pechtchanski wrote:
>  > The problem is then that there are two /home directories: the real 
>  > /home that's mounted on, say d:/home, and the fake /home, formed by 
>  > re-writing "c:/cygwin" as "/", and tacking on the home subdirectory. 
>  > 
>  > I think the solution is that I simply have to remove or rename 
>  > c:/cygwin/home. 
>  FWIW, this still won't allow you to access /home via c:/cygwin/home... 

Excellent, since it isn't the /home directory!  :-)

/home is what mount has been told (typically, d:/home).

I was surprised initially when doing a find c:/cygwin that it entered
the d:/home area - but a -xdev option takes care of that issue.

If you don't want to require the original Cywgin installer to be the
only person who can later install or remove Cygwin packages, you can
change ownership of all Cygwin files to allow anyone with adminstrators
privilege for the machine to do it, by making sure the person who
installs running this:

    find `cygpath -m /` -xdev -user $USER -print \
       | tr "\n" "\000" \
       | xargs -0 chown Administrators.SYSTEM



Unsubscribe info:
Problem reports:

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