|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Cannot change the permission of /etc/dfs/sharetab
I am using a Solaris 5.10 with patch level 10/08. Here /etc/dfs/sharetab is listed as a file system with "df -k" as below: Code:
#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. Last edited by varunla; 10-14-2011 at 08:45 AM.. |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
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 Following User Says Thank You to h@foorsa.biz For This Useful Post: | ||
varunla (10-18-2011) | ||
| Sponsored Links | ||
|
|
#3
|
||||
|
||||
|
Quote:
|
|
#4
|
|||
|
|||
|
Thanks a lot for your reply. Do you mean I cannot change the permission of this in-memory file? If yes, why not?
|
| Sponsored Links | |
|
|
#6
|
|||
|
|||
|
Permissions of this file can't be changed as the sharefs pseudo file system is read-only by design.
If you want to (indirectly) modify the content of this file, simply use one of the share, sharemgr, sharectl or zfs commands. |
| The Following User Says Thank You to jlliagre For This Useful Post: | ||
varunla (10-17-2011) | ||
| Sponsored Links | |
|
|
#7
|
|||
|
|||
|
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? |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| could not able change permission of /home dir | expert | HP-UX | 1 | 06-24-2010 02:50 AM |
| Change permission for a set of files | karthickrn | UNIX for Dummies Questions & Answers | 2 | 06-29-2009 11:54 AM |
| Permission change query | krishmaths | UNIX for Dummies Questions & Answers | 4 | 07-19-2008 09:55 AM |
| Solaris Boot Problems, random messages [/etc/rcS: /etc/dfs/sharetab: cannot create] | ranjtech | Solaris | 9 | 02-02-2008 07:50 PM |
| change permission chmod | Minguccio75 | UNIX for Advanced & Expert Users | 2 | 11-30-2006 03:48 AM |
|
|