X-Spam-Check-By: sourceware.org Message-ID: <BAY108-F33CD6DC5C1EA6969B8AC44B53C0@phx.gbl> X-Sender: karlm30 AT hotmail DOT com In-Reply-To: <BAY108-F200EFFBAC2ACF6F62B413AB53C0@phx.gbl> From: "Karl M" <karlm30 AT hotmail DOT com> To: karlm30 AT hotmail DOT com, cygwin AT cygwin DOT com Subject: RE: setup/symlinks/gcc/chown question Date: Sun, 18 Dec 2005 10:18:11 -0800 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sourceware.org/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/