By default only root can change ownership on Solaris 10 (Even owner of the file can't change it)
If you want owner of the file/directory to update the owner:
Update the /etc/system with the following and reboot
rstchown=0
or
Following if you want to change (Enter commands in the RED) with out reboot (It is not persistent)
# adb -w -k /dev/ksyms /dev/mem
physmem 3ee50a8
rstchown/D
rstchown:rstchown: 1
rstchown?W0x0
rstchown: 0x1 = 0x0
rstchown/D
rstchown:rstchown: 0
The error message that Solaris gives to the owner of the file is "Not owner". That error message is, er, in error. "Not root" would be a much more appropriate message.
ReplyDelete