Date: Sat, 17 Jul 2021 08:47:50 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 243551] Cannot checkout src tree in automounted $HOME Message-ID: <bug-243551-227-xwrKMa7f7g@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-243551-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243551 --- Comment #8 from Edward Tomasz Napierala <trasz@FreeBSD.org> --- We already have a mechanism for this kind of check: special maps. Kind of how special_hosts works, but looking up usernames instead of hosts. I've done a quick test, and it appears that "cd /net/nonexistent" does not result in that directory being created. So, special case could consist of a new map, say, special_users, which would first verify the username using getent(1). Another thing we could do is to remove the (newly created) mountpoint if mount fails, before releasing the process which triggered the mount. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243551-227-xwrKMa7f7g>
