My Oracle Support Banner

per-filesystem rstchown obsoletes rstchown=0 in /etc/system (Doc ID 1400909.1)

Last updated on DECEMBER 18, 2023

Applies to:

Solaris Operating System - Version 10 8/11 U10 and later
Information in this document applies to any platform.
this document explains changes in behavior of chown and add new mount option rstchown


Symptoms

attempts to chown a file as non root user fails with error message:  chown: {filename}: Not owner

a truss output of this command looks like this:
248 3891/1: 0.0101 chown("/tmp/x", 14842, -1) Err#1 EPERM [file_chown_self]
-- snip --
255 3891/1: 0.0105 write(2, " c h o w n : ", 7) = 7
256 3891/1: 0.0105 write(2, " / t m p / x", 6) = 6
257 3891/1: 0.0106 write(2, " : ", 2) = 2
258 3891/1: 0.0106 write(2, " N o t o w n e r", 9) = 9
259 3891/1: 0.0106 write(2, "\n", 1) = 1

Changes

PSARC/2010/334 independent rstchown

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.