On Thu, 9 Aug 2007, Aaron P. Martinez wrote:
> Ted Unangst wrote:
> > On 3/15/06, Jinxi Cheng <[EMAIL PROTECTED]> wrote:
> >
> > > Hi, I'm getting operation not permited when I do this:
> > >
> > > # chflags -R schg /bin
> > > chflags: /bin/chmod: Operation not permitted
> > > chflags: /bin/md5: Operation not permitted
> > > chflags: /bin/mt: Operation not permitted
> > > chflags: /bin/pax: Operation not permitted
> > > chflags: /bin/rksh: Operation not permitted
> > > chflags: /bin/rmd160: Operation not permitted
> > >
> >
> > you can't change the flags on immutable files. (hint: you already
> > changed the flag).
> >
> >
> I'm experiencing this as well.. I'm using 4.1 fresh install and I haven't set
> (well now i have, that's how i got this message), i hadn't set anything
> immutable and "ls -lo" showed no files in /bin with schg set, but upon running
> the
>
> #chflags -R schg /bin
>
> i too get the above error. when i do an ls -lo on /bin everything is set
> schg now.
>
> Do these files somehow have the flag set on them at all times, during install,
> hidden flag until you manually run the command on them?
>
> Thanks,
>
> Aaron
These files are hard linked. The firts link succeeds, but the op on
the second one referring to the same file fails.
-Otto