The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
changing permissions on a 444 file (ie chmod 444) ajcannon UNIX for Dummies Questions & Answers 1 08-31-2007 10:48 AM
Unix chmod permissions whiterabbit UNIX for Dummies Questions & Answers 2 04-25-2006 06:02 PM
ls and chmod numeric permissions rondebbs UNIX for Dummies Questions & Answers 1 12-29-2005 12:57 AM
chmod (permissions) * not working on remote server sdlayeeq UNIX for Advanced & Expert Users 3 05-06-2005 02:02 PM
chmod permissions himurak UNIX for Dummies Questions & Answers 1 11-30-2004 10:13 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-14-2002
ncarmstrong ncarmstrong is offline
Registered User
  
 

Join Date: Jun 2002
Posts: 2
Question directory permissions and CHMOD

I am working on a new UNIX box that has been delivered to us, and noticed that the /home directory has 555 permissions on it (dr-xr-xr-x). Any attempt to create write permissions fails on this directory (such as chmod 777), responding only with a message;

chmod: WARNING: can't change home

This is despite the fact that I am logged in as root. Is there a way out of this, or am I toast?
  #2 (permalink)  
Old 08-14-2002
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
It may be that /home should have those permissions.

On Solaris:
dr-xr-xr-x 2 root root 2 Aug 14 10:37 /home
df -k /home
Filesystem kbytes used avail capacity Mounted on
auto_home 0 0 0 0% /home

What OS and is /home an auto_mount?
  #3 (permalink)  
Old 08-14-2002
ncarmstrong ncarmstrong is offline
Registered User
  
 

Join Date: Jun 2002
Posts: 2
Good guess, this is Solaris. We are trying to create users with "useradd -m", but getting the error message "unable to create the home directory, operation not applicable". Thinking that this was related to permissions in "home" we've been trying to change it -this is a dummies site, after all .

The "df -k /home" command returned the results you anticipated.

"Filesystem kbytes used avail capacity Mounted on
auto_home 0 0 0 0% /home "

interestingly enough, this listing does not appear at all when "df -k" is run without home as argument.
  #4 (permalink)  
Old 08-14-2002
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Our site uses NIS with home directories on a NetApp server. The only way to create directories with this configuration is to be on a server that is Master in NIS and a Master of the NetApp server.

You may be hitting the same type of situation. If you are adding a local user, then put their home directory as /export/home/userX.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:08 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0