[Bug 243551] Cannot checkout src tree in automounted $HOME
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 17 Jul 2021 08:47:50 UTC
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.