UFS Problem removing file marked as character device

dryobates

New Member


Messages: 2

Hi,

On my disc are some files, that I cannot remove:

Code:
# rm poll.html
override ---r---wx  1735289188/1718908221 sappnd,arch,schg,snapshot,nodump,rdonly,reparse for poll.html? y
rm: poll.html: Operation not permitted
I have tried to clean flags, but I coudn't either:

Code:
# chflags 0 poll.html
chflags: poll.html: Operation not permitted
I have tried it from single user too. I have run fsck - no success either.

What I don't understand is that file is marked as character device:

Code:
# ls -lo poll.html
c---r---wx  28515 1735289188  1718908221  sappnd,arch,schg,snapshot,nodump,rdonly,reparse  0x3a297367 26 lis  2023 poll.html
I couldn't find how to change file's type.

I run on:

Code:
$ uname -a
FreeBSD STK2880 10.1-RELEASE-p15 FreeBSD 10.1-RELEASE-p15 #0: Tue Jul 21 17:57:17 UTC 2015  root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
Can you suggest some solutions?

Thank you.
 
Top