Summary: | executables in ZFS VM images have permission issues | ||
---|---|---|---|
Product: | Base System | Reporter: | Mark Johnston <markj> |
Component: | bin | Assignee: | Mark Johnston <markj> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | emaste, grahamperrin, karels, lwhsu, re |
Priority: | --- | ||
Version: | 14.0-RELEASE | ||
Hardware: | Any | ||
OS: | Any | ||
Bug Depends on: | |||
Bug Blocks: | 271607 |
Description
Mark Johnston
![]() ![]() To be clear, this is very likely a makefs -t zfs bug, not a ZFS bug. Read and write permission types appear to be honoured. I tested this on an amd64 system installed by bsdinstall from iso. It does not have the problem, so it must be makefs. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=50565cf514d32ee02a24f420551c7e65631b0716 commit 50565cf514d32ee02a24f420551c7e65631b0716 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2023-11-08 12:00:43 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2023-11-08 12:04:12 +0000 makefs/zfs: Don't set ZFS_NO_EXECS_DENIED in file flags This flag was leftover from testing and should have been removed. PR: 274938 MFC after: 3 days Sponsored by: The FreeBSD Foundation usr.sbin/makefs/zfs/fs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=a8043cc0d49bec7bebc4afc43b8bf5f6ab730b23 commit a8043cc0d49bec7bebc4afc43b8bf5f6ab730b23 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2023-11-08 12:00:43 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2023-11-09 14:41:09 +0000 makefs/zfs: Don't set ZFS_NO_EXECS_DENIED in file flags This flag was leftover from testing and should have been removed. PR: 274938 MFC after: 3 days Sponsored by: The FreeBSD Foundation (cherry picked from commit 50565cf514d32ee02a24f420551c7e65631b0716) usr.sbin/makefs/zfs/fs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) I will merge to releng/14.0 later today. A commit in branch releng/14.0 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=ac3db6ea0e968338bbe68c0d89505242b246d66f commit ac3db6ea0e968338bbe68c0d89505242b246d66f Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2023-11-08 12:00:43 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2023-11-09 16:26:33 +0000 makefs/zfs: Don't set ZFS_NO_EXECS_DENIED in file flags This flag was leftover from testing and should have been removed. Approved by: re (cperciva) PR: 274938 MFC after: 3 days Sponsored by: The FreeBSD Foundation (cherry picked from commit 50565cf514d32ee02a24f420551c7e65631b0716) (cherry picked from commit a8043cc0d49bec7bebc4afc43b8bf5f6ab730b23) usr.sbin/makefs/zfs/fs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) |