UFS chflags

Its developer walked away many, many years ago. It still uses the deprecated jail_* rc.conf variables. It cannot handle jails based on different versions. Do I need to go on?
 
I suggest you start using it, then find out for yourself.
SirDice ROFL, I *do* use Ezjail since more than a decade to my utmost satisfaction, primarily for jail creation by the method installing from a previous built world. That is just as simple as ezjail-admin update -i which is upgrading all your created jails in one go. I do have common jail configuration created manually in /etc/jail.conf and per jail configurations in /etc/jail.conf.d.

You might recognize that I'm using it with custom jail configuration and I do know what I'm talking about, while others spending "thumps-up" may not. Popcorn!
 
Here is what I get:-

Code:
./fd:
total 1
dr-xr-xr-x   2 root wheel - 512 Jan 22 20:01 .
drwx-wxr-x  14 root wheel - 512 Jan 24 22:30 ..
cr-xr-xr-x   1 root wheel - 0x3 Jan 22 20:01 0
cr-xr-xr-x   1 root wheel - 0x4 Jan 22 20:01 1
cr-xr-xr-x   1 root wheel - 0xd Jan 22 20:01 10
cr-xr-xr-x   1 root wheel - 0xf Jan 22 20:01 12
cr-xr-xr-x   1 root wheel - 0x5 Jan 22 20:01 2
cr-xr-xr-x   1 root wheel - 0x6 Jan 22 20:01 3
cr-xr-xr-x   1 root wheel - 0x7 Jan 22 20:01 4
cr-xr-xr-x   1 root wheel - 0x8 Jan 22 20:01 5
cr-xr-xr-x   1 root wheel - 0x9 Jan 22 20:01 6


I'm trying to delete some files and think the chflags are set.

There aren't any cflags, but these aren't files either. They're device nodes from devfs.

What's going on here?
 
Maybe OP was in /dev/fd(?)
Most likely, yes.

But I am rather wondering: in normal times anybody running unix would see this at the first glance: no size and a hex value in the size column means device node (or the b/c character before the permissions). But here a whole couple of folks running unix look at it and don't recognize. And this is the third time only today I am noticing this pattern (in all kinds of different regards). Folks, something frighteningly wrong is happening on this panet.
 
To check a particular file, ls -lo may be sufficient, but if you want to find all the files with flags under some path, use find.

find /some/path -flags +schg -print

will print all the files under /some/path with schg flag.
 
If it is fdescfs, trying to remove (, chown, chflags, and so on) the file in the filesystem will turn into deleting a file somewhere in the system you did not imagine to delete. Be careful.
 
Back
Top