Discussion Locked

Changing modes on directories

0 helpful
8 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

There are several directories that apparently installed with permissions set to 555 or
"dr-xr-xr-x" with the supreuser as the owner. How can this be chaged without having write permisson. Any attempt to change the results in an error stating theobvious, that I can't change modes. One of the directories is the home directory where I want to put users home directories.

8 replies

by kencunningham1

Have you tried chmod -f on the directories? I don't know whether it will work (all the man page says is it will not 'complain' if it doesn't work, which seems a little odd). Anyway, hope this helps.

by cpfeiffe

Are you logged in as super-user? Super-user doesn't have to have write permission to make changes in most Unix operating systems (oddly enough). If you are logged in as super-user what OS are you running?

by ghislain.levesque

Which O/S are you running.... If it's Solaris, and you are trying to use /home as the home directory for all users, you need to modify /etc/auto_master and comment the line where /home is specified. Once that done do a umount on /home, after that you will be able to change perm on it...

Hope this help ...

This discussion is closed to new replies.