git: cd9660 - Fix unexpected file/dir mode mask in 7764eb663ae501
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed Jan 8 08:18:48 PST 2025
commit 44d26fef007fd5282db87e8bea6faec2b48d2803
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Wed Jan 8 08:09:31 2025 -0800
cd9660 - Fix unexpected file/dir mode mask in 7764eb663ae501
* 7764eb663ae501 used the modes of the underlying mount point as the
default fmask and dmask for cd9660 mounts when no masking options
are specified. This is unexpected. Prior to that commit, the modes
from ISO were used verbatim.
* This commit returns to the old (more expected) operation when
-m/-M is not specified.
* Also make some adjustments to ensure that new kernels work with
old worlds and vise-versa. Make use of the fields require the
related mount flag and also default the fields to all modes when
-m/-M is not specified. Any mismatch will have the prior (expected)
operation.
Reported-by: Sergey Zigachev (servik)
Summary of changes:
sbin/mount_cd9660/mount_cd9660.c | 19 ++++++++++++++++---
sys/vfs/isofs/cd9660/cd9660_mount.h | 1 +
sys/vfs/isofs/cd9660/cd9660_vfsops.c | 9 +++++++--
3 files changed, 24 insertions(+), 5 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/44d26fef007fd5282db87e8bea6faec2b48d2803
--
DragonFly BSD source repository
More information about the Commits
mailing list