Can't mkdir in /home


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Can't mkdir in /home
# 1  
Old 03-05-2003
Can't mkdir in /home

I've just loaded Solaris 5.7 on an Ultra 10 and I'm trying to mkdir in /home as root. I'm getting the following message:

mkdir: Failed to make directory "test"; Operation not applicable

When I do an ls -al on /home, I get:

dr-xr-xr-x 1 root root


If I do a df -ak, I get for /home:

auto_home 0 0 0 0% /home


Can anyone tell me what going on and what I need to do to be able to create a directiory in /home?

Thanks,
Leon
# 2  
Old 03-05-2003
It isn't a UFS file system, it's a NIS/NFS auto mount for mounting home directories from a NFS server.


To create a directory in /home, you have to be on the server that is serving out the home directories. Otherwise, if you are looking to create a local account, then create the home directory in /export/home/.

Check out the man page on automount and automountd.
# 3  
Old 03-05-2003
RTM,

Thanks for the reply.

When Solaris was loaded, it asked for remote file naming / system. I replyed none. Why do you think it's a NIS/NFS auto mount. And if it is, how can I get rid of it?

Leon
# 4  
Old 03-05-2003
Quote:
Why do you think it's a NIS/NFS auto mount
You told us it was.
auto_home 0 0 0 0% /home

Read the man pages suggested in first response. If you have problems after that, post back (read and learn )
# 5  
Old 03-05-2003
Read this thread.
# 6  
Old 03-05-2003
RTM & Perderabo

Thanks for the help.

We found the problem. Part of our loading procedure is to # the /home line in /etc/auto_master.

That wasn't done on this load.

We did it and it works fine.

Thanks again,
Leon
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Mkdir: cannot create directory `/home/phpmy/html': Permission denied centos

for incompatibility installation problems, I've decided to reinstall Centos 6.3 as can be seem from the df output, I've partitioned both / and and /home directories $ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda8 12G 5.3G 6.5G 45% / tmpfs ... (2 Replies)
Discussion started by: jediwannabe
2 Replies

2. Shell Programming and Scripting

mkdir home directory

Is there a way to create a directory in home directory through a bash script? And if yes then the files we want to put in there have to be put by the time is created in the bash script? (3 Replies)
Discussion started by: vlm
3 Replies

3. Programming

how to simulate "mkdir -p /home/blah1/blah2/blah3" in "c" where only /home exist

I'm trying to make use of mkdir(char *pathname, S_IRWXU) to create the directories. but it only creates one directory at a time. so I have to separate the tokens for "/home/blah1/blah2/blah3" as "home blah1 blah2 blah3" using delimiter "/", but it is again hectic to create such directory... (8 Replies)
Discussion started by: platinumedge
8 Replies

4. Shell Programming and Scripting

What are the differences between 'bash' and 'sh'

Hopefully this doesn't come off as too much of a "newbie" question or a flamebait. But I have recently begun working with a Sun Solaris box after having spent the past five years working with RedHat. From what i can tell, thing look fairly similar and the 'man' command is some help. But I've... (7 Replies)
Discussion started by: deckard
7 Replies

5. UNIX for Advanced & Expert Users

How to remove a file with a leading dash '-' in it's name?

Somehow someone created a file named '-ov' in the root directory. Given the name, the how was probably the result of some cpio command they bozo'ed. I've tried a number of different ways to get rid of it using * and ? wildcards, '\' escape patterns etc.. They all fail with " illegal option --... (3 Replies)
Discussion started by: GSalisbury
3 Replies

6. UNIX for Advanced & Expert Users

Can't change anything in /home

Can someone explain to me why I cannot access or change anything to my solaris /home directory on my sun machine? It has permissions of dr-xr-xr-x so I tried to change them to chmod +w /home, tried chmod 755 /home tried chmod -R 755 home and it always says operation unavailable. And I'm in as... (1 Reply)
Discussion started by: kymberm
1 Replies

7. UNIX for Dummies Questions & Answers

quoting echo 'it's friday'

echo 'it's friday' why appear the > (3 Replies)
Discussion started by: yls177
3 Replies

8. Filesystems, Disks and Memory

HELP! The '/var/adm/message' file increase every few seconds???

Hi, guys, I have a big problem. I've got a sun solaris 4.1.4 workstation, and the /var/adm/message file will add one row every few seconds. It soon becomes a large file. I wander if there are some mistakes configuring the workstation. the /var/adm/message is as follow: ... (1 Reply)
Discussion started by: cloudsmell
1 Replies

9. Shell Programming and Scripting

Clearify what it means under 'WHAT' when hit the 'w'-command

I wonder how I shall read the result below, especially 'what' shown below. The result was shown when I entered 'w'. E.g what is TOP? What is gosh ( what does selmgr mean?)? login@ idle JCPU PCPU what 6:15am 7:04 39 39 TOP 6:34am 6:45 45 45 TOP 6:41am ... (1 Reply)
Discussion started by: Aelgen
1 Replies

10. Programming

i can't use 'make' in my computer?

I need to compile a file,but 'make' does not work.please tell me how to use it or need which tools? (3 Replies)
Discussion started by: dsun5
3 Replies
Login or Register to Ask a Question