--- - branch: MAIN date: Tue Apr 23 22:12:48 UTC 2024 files: - new: '1.35' old: '1.34' path: src/usr.sbin/makefs/walk.c pathrev: src/usr.sbin/makefs/walk.c@1.35 type: modified id: 20240423T221248Z.e92965a43586f93c13817b20a076e394c495df25 log: | makefs: Fix symlink permission bits Permission bits for symlinks are taken straight from `lstat()`. However, the actual bits presented to the user are filesystem/kernel specific. For example, Linux with ext2/3/4 will use 0777 for symlinks, whereas NetBSD/FFS will show 0755. As far as `makefs` is in the loop, the target filesystem will likely be FFS, so use 0755. module: src subject: 'CVS commit: src/usr.sbin/makefs' unixtime: '1713910368' user: christos