NetBSD-Users archive

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

Re: Files I cannot delete/chown/chmod as root?



Jan Schaumann <jschauma%netmeister.org@localhost> wrote:
>yancm%sdf.org@localhost wrote:
>> On NetBSD 9_3_Stable, amd64, long time user...
>>
>> I have ended up with some files that I am unable to delete as root.
>> # ls -las
>
>Try adding '-o' to see file flags.  Looks to me like
>you might have 'schg' set on the file.
>
>ls -lo $file
>chflags noschg $file

Yep! In 20+ years on NetBSD, first time I tripped on that one...wow...
That's at least the second thing I've learned today!
Thank you!!!



Home | Main Index | Thread Index | Old Index