Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Feb 2002 17:12:46 -0800
From:      "Crist J. Clark" <cristjc@earthlink.net>
To:        z thompson <cublai@lastamericanempire.com>
Cc:        Timothy Lett <petersen@petersen.plus.com>, questions@FreeBSD.ORG
Subject:   Re: chflags problem
Message-ID:  <20020205171246.E368@gohan.cjclark.org>
In-Reply-To: <20020205155415.A62547@titus.lastamericanempire.com>; from cublai@lastamericanempire.com on Tue, Feb 05, 2002 at 03:54:15PM -0700
References:  <20020205153834.A62422@titus.lastamericanempire.com> <KOEDJPGCNAIOODFOCJJIGEGOCEAA.petersen@petersen.plus.com> <20020205155415.A62547@titus.lastamericanempire.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 05, 2002 at 03:54:15PM -0700, z thompson wrote:
> * Timothy Lett <petersen@petersen.plus.com> [020205 15:50]:
> > > 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. 
> > > 
> > > Anyhow, any suggestions on how I can get rid of this file or remove the
> > > flags? 
> > 
> > chflags nosappnd,noarch LC_COLLATE
> 
> Yes, I have tried this as well...no luck.

That's pretty messed up. Symbolic links are not supposed to have
flags. Can you fix it with fsdb(8)? I'd recommend dropping into single
user mode and,

  # umount /usr
  # fsdb /dev/ad0s1f    # Or whatever device /usr is on

  > cd /usr/share/locale/<whatever>/LC_COLLATE		# path to link

  > chflags 0

  > q

And fsck(8) the system as it recommends.
-- 
Crist J. Clark                     |     cjclark@alum.mit.edu
                                   |     cjclark@jhu.edu
http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

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?20020205171246.E368>