/[base]
ViewVC logotype

Revision 346979


Jump to revision: Previous Next
Author: asomers
Date: Wed May 1 00:00:49 2019 UTC (5 years, 2 months ago)
Changed paths: 4
Log Message:
fusefs: fix some permission checks with -o default_permissions

When mounted with -o default_permissions fusefs is supposed to validate all
permissions in the kernel, not the file system.  This commit fixes two
permissions that I had previously overlooked.

* Only root may chown a file
* Non-root users may only chgrp a file to a group to which they belong

PR:		216391
Sponsored by:	The FreeBSD Foundation


Changed paths

Path Details
Directoryprojects/fuse2/sys/fs/fuse/fuse_vnops.c modified , text changed
Directoryprojects/fuse2/tests/sys/fs/fusefs/default_permissions.cc modified , text changed
Directoryprojects/fuse2/tests/sys/fs/fusefs/utils.cc modified , text changed
Directoryprojects/fuse2/tests/sys/fs/fusefs/utils.hh modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27