• Post Reply Bookmark Topic Watch Topic
  • New Topic

chmod problem on unix  RSS feed

 
Deepti Tewari
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Everyone,
I'm facing a strange problem.
On my Solaris 8 system I'm unable to change the permission of
directory "/home".
The current permision are
# ls -ld /home
dr-xr-xr-x 1 root root 1 Jun 12 16:50 /home
When I give following command as root user
# chmod 700 /home
It gives following warning
chmod: WARNING: can't change /home

I don't understand why this is happening.
By any chance is /home directory any special???
Please help
thanks and regards
Deepti
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
as far as I recall, /home on solaris is a bit special. It's managed by the NFS automounter, even if you only have a single machine with no network mounted home directories.
I don't have access to a solaris machine at the moment, so I can't help with the details, but the Solaris manuals available for download from Sun are very good for this sort of thing.
 
Deepti Tewari
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Frank,
I downloded the admin guide from SOLARIS8 from sun's site and got the following information.
===============

Regardless of where their home directory is located, users usually access their home
directories through a mount point named /home/username.
When AutoFS is used to mount home directories, you are not permitted to create any
directories under the /home mount point on any system.
The system recognizes the special status of /home when Autofs is active.
For more information about automounting home directories, see System Administration Guide, Volume 3.

===============

So now I at least know that /home has a special status in Solaris. rest is yet to be explored.
thanks for the pointer
Deepti
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!