"No such file or directory" in daily setuid checks
J. Hellenthal
jhell at DataIX.net
Mon Apr 25 09:18:59 UTC 2011
On Sun, Apr 24, 2011 at 07:24:03AM -0400, Glen Barber wrote:
>Hi,
>
>Files/directories do exist, however:
>
>kaos % ll /usr/backup/hourly.14/orion/usr/
>total 4
>drwxr-xr-x 5 root wheel 5 Apr 23 17:01 home
>drwxr-xr-x 4 root wheel 5 Apr 23 17:01 local
>
Hi Glen, ;)
By chance do you have these properties set on the pool or datasets:
listsnaps (zpool property)
snapdir (zfs property)
A ( ls -A ) in the offending directory should verify this by
showing a hidden snapdir that would normally not be shown. It
might be wise to update the script to just not take those
special directories into consideration unless some rc_var is
turned on.
Recommended naming convention for the var:
? daily_status_security_chksetuid_snapdir_recursive="NO"
If so can you flip these off and test it again by running the same
commands that are run in the 100.chksetuid script ?
Actually I just looked over the script, "That syntax is just fuggin
crazy"
( find /path/to/offending/directory ) should do it.
--
Regards,
J. Hellenthal
WWJD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 522 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20110425/4c99cde0/attachment.pgp
More information about the freebsd-current
mailing list