[Bug 48325] [patch] /etc/periodic/security/100.chksetuid doesn't work with spaces in mount points

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 3 14:24:40 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=48325

aaron at baugher.biz changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aaron at baugher.biz

--- Comment #1 from aaron at baugher.biz ---
I came to report this, and found this old bug report.  I discovered it on a ZFS
filesystem with a space in the name, which I'd imagine is more common now that
it's so easy to create new ZFS filesystems.

With a single space in the filesystem name, awk $3 returns a mountpoint of "on"
instead of the correct value.  I could parse it out with perl, getting
everything between ' on ' and ' ('.  That would work for all my filesystems,
but I'm not certain it would be universal.  Also, is it okay to use perl in the
base system like that, or would it be better to use something like sed?  I'd be
glad to make a patch, but I haven't offered a patch for FreeBSD itself before.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list