Date: Wed, 15 Mar 1995 20:46:14 -0800 (PST) From: "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com> To: phk@ref.tfs.com (Poul-Henning Kamp) Cc: hackers@FreeBSD.org Subject: Re: cpio bug ? Message-ID: <199503160446.UAA14348@gndrsh.aac.dev.com> In-Reply-To: <199503160431.UAA09849@ref.tfs.com> from "Poul-Henning Kamp" at Mar 15, 95 08:31:27 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> > I think I have found one of the things which have troubled us in the > install procedure, and would like to hear people opinions: > > In a cpio file I have: > file usr/bin/passwd (root,bin, setuid+0555) > symlink usr/bin/yppasswd (bin,bin,0755) -> passwd > > Now, cpio will do a chown(bin) on usr/bin/yppasswd, and this will > make usr/bin/passwd owned by bin instead of root. > > Obviously wrong. > > How to fix this ? CPIO should stop doing chown/chmod's on symlinks since symlinks no longer have there own protection. > Who will do it for me ? I am digging through the cpio source code now... looks like several things will need to be tweaked :-(. -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503160446.UAA14348>