LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   RHEL 4 can't create local user in /home (https://www.linuxquestions.org/questions/red-hat-31/rhel-4-cant-create-local-user-in-home-446346/)

fredag 05-19-2006 03:44 AM

RHEL 4 can't create local user in /home
 
I can’t create a new user home directory in /home.
I can’t touch a file or make a directory in /home as root. What is wrong?
I’m using NIS (/export/home). But I want to create local users.
So what do I do to make this go away?


/fredag

fredag 05-19-2006 04:21 AM

[root@lx004 /]# cd home
[root@lx004 home]# ls -la
total 8
drwxrwxrwx 2 root root 0 May 19 10:53 .
drwxr-xr-x 28 root root 4096 May 19 10:53 ..
[root@lx004 home]# who am i
root pts/1 May 19 10:55 (192.168.69.65:0.0)
[root@lx004 home]# mkdir test
mkdir: cannot create directory `test': Permission denied
[root@lx004 home]# touch test
touch: cannot touch `test': Permission denied


/fredag

jackylau 05-23-2006 01:06 AM

try run command:ls -l /

jeremy 05-23-2006 08:34 PM

Is /home an NFS mount? If so, root permission don't necessarily work across mounts like that. See no_root_squash for more details.

--jeremy


All times are GMT -5. The time now is 06:36 PM.