Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to chmod /home

Status
Not open for further replies.

lpblauen

Technical User
Dec 2, 2004
193
US
I am root and im trying to chmod /home to 755 but it fails.
I need to add home directries for users. Any ideas?

I do this as root
chmod 755 home

and i get this error
chmod: changing permissions of `home': Operation not applicable
 
this is in sun solaris 10 that im getting the failure.
 
I always create an /export/home filesystem, and use that whether right or wrong. Call me a traditionalist!

The internet - allowing those who don't know what they're talking about to have their say.
 
This is because it is ran by autofs,

you have to make the modifications in /etc/auto_master

To see what you need to set it as, do a man on autofs,automount,autmountd

than restart the service:

svcadm restart svc:/system/filesystem/autofs:default



Also, what may work for you since you are saying you want to chmod it. You may be able to change the permissions on the directory once autofs has been stopped.

Code:
# svcadm disable svc:/system/filesystem/autofs:default
# chmod 755 /home
# svcadm enable svc:/system/filesystem/autofs:default


David
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top