Solaris rstchown and norstchown mount options are invalid for VxFS file systems
book
Article ID: 100008203
calendar_today
Updated On:
Description
Error Message
# mount -F vxfs -o norstchown /dev/vx/dsk/demodg/demovol /mnt
UX:vxfs mount: ERROR: V-3-21298: illegal -o suboption -- norstchown
Resolution
The "norstchown" and "rstchown" mount-time options were implemented by Oracle in the mount_ufs binaries. These options are not file system global options.
Because this has not been a previous requirement for VxFS file systems as the feature has, up until recently, been a system level setting, no implementation for support of these options has been designed for VxFS.
This feature set is included from Storage Foundation 6.0.1 release.
Issue/Introduction
POSIX standards state that the owner of a file is restricted from changing the ownership of that file to another user, unless the user issuing the 'chown' is root.
Solaris introduced a kernel option called "rstchown" (restricted chown) and allowed users to set this option as 0 in /etc/system to enable file ownership changes for non-root users.
Oracle has identified this as a security flaw and is migrating the feature to be a per-filesystem specification that can be set during mount as an option, removing the ability to set this at the kernel level.
VxFS does not support this option yet so attempts to mount with "-o norstchown" will fail.
Additional Information
ETrack: 2752084
Was this article helpful?
thumb_up
Yes
thumb_down
No