Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Feb 2021 10:09:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 224601] autofs: Make automount(8) call chdir("/") before create_directory()
Message-ID:  <bug-224601-3630-h3HkyQGf9T@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-224601-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-224601-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224601

--- Comment #9 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D63640b2f552c0476f50484635eb9888ea=
fcd22dc

commit 63640b2f552c0476f50484635eb9888eafcd22dc
Author:     Robert Wing <rew@FreeBSD.org>
AuthorDate: 2021-02-17 09:22:23 +0000
Commit:     Robert Wing <rew@FreeBSD.org>
CommitDate: 2021-02-17 10:02:56 +0000

    automount(8): fix absolute path when creating a mountpoint

    When executing automount(8), it will attempt to create the directory wh=
ere
an
    autofs filesystem is to be mounted. Explicity set the root path for this
    directory to "/".

    This fixes the issue where the directory being created was being treate=
d as
a
    relative path instead of an absolute path (as expected).

    PR:     224601
    Reported by:    kusumi.tomohiro@gmail.com
    Reviewed by:    trasz
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D27832

 usr.sbin/autofs/common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224601-3630-h3HkyQGf9T>