Here /etc/dfs/sharetab is listed as a file system with "df -k" as below:
#df -k /etc/dfs/sharetab
Filesystem kbytes used avail capacity Mounted on
sharefs 0 0 0 0% /etc/dfs/sharetab
What is "sharefs"? This is not present in my other Solaris machines.
I have logged in as root user. But I am not able to change the permission of /etc/dfs/sharetab file with chmod. It gives an error as "chmod: WARNING: can't change /etc/dfs/sharetab".
Please let me know what should be done to change the permission of this file.
It seems that your Solaris machine is exposing the file /etc/dfs/sharetab this file determines which directories will be NFS-shared at boot time. Each line is a share command.
Sharefs is a file system like proc file system.
In Solaris 10, there is a new filesystem called sharefs.
The permissions on the file is 444. I want to remove read permission to group and others. I could change the permission of this file in the ealier patch levels of Solaris 10. I am facing this problem with patch level 10/08.
Could you please tell me, if this was introduced in the recent patch levels? If yes, why?