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: setup/symlinks/gcc/chown question


Hi All...

A chown -h causes the same problem as a chown -R. So, the second script does not work around the problem...it does avoid damaging the link, but after the install, the ownership on the links are administrator.none and so I can run gcc -mno-cygwin... as a restricted user. So for now I have deleted and recreated the links by hand.

Thanks,

...Karl

From: "Karl M" Subject: setup/symlinks/gcc/chown question
Date: Sun, 18 Dec 2005 09:56:18 -0800

Hi All...

I just installed gcc/mingw with setup.

If I do

cd /lib/gcc/i686-pc-mingw32/3.4.4
chown -R administrators.none *

it breaks the symlinks in the directory. If I do

chown administrators.none *

from a clean install, the symlinks are fine. If I recreate the symlinks by hand, then both forms of the chown command work fine. That is chown -R breaks the symlinks created during the install. If I reinstall gcc/mingw, I can repeat the process. A cygcheck output is attached.

This comes from a script that I run after running setup to fix up my mounts and permissions. Is there a better way to do this fixup? Two copies of the script are attached; the first with the chown -R that now breaks the symlinks and a temporary one that uses find to to avoid the chown -R, but the second is really slow.

Thanks,

...Karl



<< cygcheck.out >>


<< cygwin-host-config >>


<< cygwin-host-config-fix >>


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


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