Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Feb 2002 15:38:34 -0700
From:      z thompson <cublai@lastamericanempire.com>
To:        questions@freebsd.org
Subject:   chflags problem
Message-ID:  <20020205153834.A62422@titus.lastamericanempire.com>

next in thread | raw e-mail | index | archive | help
Hi,

I ran into error while running make installworld, having sup'ed in the
evening on 2/4/2002. Though I have asked on the stable list I'm not
certain that the problem is associated with stable as it's an old file 
that is basically unmodifiable by any method I (and several replies)
know. So, I thought I'd try here.

Essentially, the error is as follows:


ln -fs ../la_LN.ISO8859-15/LC_COLLATE
/usr/share/locale/da_DK.ISO8859-15/LC_COLLATE
ln: /usr/share/locale/da_DK.ISO8859-15/LC_COLLATE: Operation not
permitted
*** Error code 1


So, I went and looked at /usr/share/locale/da_DK.ISO8859-15/LC_COLLATE
and it turns out that it has the sappnd,arch flags set:

lrwxr-xr-x    1 root  wheel  sappnd,arch   30 Jan 30 11:19 LC_COLLATE -> ../la_LN.ISO8859-15/LC_COLLATE


According to CHFLAGS(1) to change flags on a link you need to use some
combination of -R and -H, -L, or -P. I have tried every combination I
can think of and still am unable to remove the flags. The file that it
points to has no flags either: 

-rw-r--r--    1 root  wheel  - 6618 Feb  4 22:28 LC_COLLATE


None of the other files in /usr/share/locale have flags set so I'm at a
loss as to how it happened. 

Also, someone thought it might be due to a high securelevel. I checked
with sysctl kern.securelevel and it is at -1.

Anyhow, any suggestions on how I can get rid of this file or remove the
flags? One reply suggested that I may need to destroy the inode with
clri in sigle-user mode. He also suggested that I get more advice before
doing this ;)

Thanks,

Zach Thompson


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020205153834.A62422>