[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Once patched 3.5 as root, now can't apply 025_getcwd



Well, I would first suggest doing a 'make cleandir' as root in
/usr/src or /usr/src/lib, whichever is the topmost source directory
where you would build everything from. That should clean up all files
in there that would be generated during make depend or make, and then
doing the chown command again. It looks like you have a .depend file
that is not being chown'd, so you must remove it as root (doing make
cleandir as root should do it).


On Tue, 1 Feb 2005 15:26:15 +1030, Damon McMahon
<damon.mcmahon@gmail.com> wrote:
> Jason,
> 
> Thanks for your response - I've tried:
> 
>  chown -R software:wsrc *
> 
> in both /usr/src and /usr/obj but to no avail. I still get:
> 
> ...
> /lib/libc/yp/xdr_ypresp_val.c /usr/src/lib/libc/yp/xdr_ypstat.c
> mv: .depend: set owner/group: Operation not permitted
> 
> In case its relevant, due to the small HDD on this host I do not have
> the entire source tree in /usr/src but rather only /usr/src/lib/libc/*
> and /usr/src/lib/.Makefile - would this make any difference?
> 
> Any other ideas?
> 
> Regards,
> Damon
> 
> On Mon, 31 Jan 2005 23:41:48 -0500, Jason Crawford
> <jasonrcrawford@gmail.com> wrote:
> > If you compile all software in /usr/src as software:wsrc, just (as root):
> > cd /usr/src
> > chown -R software:wsrc *
> >
> > and now everything in there will be owned by software:wsrc. If you
> > build object files in /usr/obj (which is strongly advised) make sure
> > files in /usr/obj is also owned by software:wsrc just like in /usr/src
> >
> >
> > On Tue, 1 Feb 2005 15:01:05 +1030, Damon McMahon
> > <damon.mcmahon@gmail.com> wrote:
> > > Greetings,
> > >
> > > During 'make depend' applying 025_getcwd as my build user 'software'
> > > (which is a member of wsrc) I get:
> > >
> > >   mv: .depend: set owner/group: Operation not permitted
> > >
> > > From what I understand this is most likely because (before knowing any
> > > better) I applied a patch [can't remember which one] as root [or some
> > > other priviledged user].
> > >
> > > How do I find which file/s I need to
> > >
> > >   chmod software:wsrc
> > >
> > > ?
> > >
> > > Many thanks in advance,
> > > Damon