LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   create file problem (https://www.linuxquestions.org/questions/linux-newbie-8/create-file-problem-789928/)

elainelaw 02-18-2010 08:02 AM

create file problem
 
in my new server , there is a directory , it is strange that when I use root user to create directory in it , the owner is nfsnobody , now I want to change the owner to edp user but it do not allow , the error is "operation no permitted" , can advise what is wrong ?

I tried to restart nfs , but still not work .

Thx.

pixellany 02-18-2010 08:29 AM

Do you mean "edp user" literally? I would imagine that the space would be an issue.

I assume that using "chown" to change the user on a file requires that the new username exists in /etc/passwd

elainelaw 02-18-2010 08:35 AM

Quote:

Originally Posted by pixellany (Post 3868107)
Do you mean "edp user" literally? I would imagine that the space would be an issue.

I assume that using "chown" to change the user on a file requires that the new username exists in /etc/passwd

No , I use the command

chown edp:user directory

but it is not work , I found the server is mounting to another server , but I can't find the mount by /etc/mtab /etc/fstab , df command , I re-started the nfs many times but still not work . thx

chrism01 02-18-2010 05:16 PM

nfsnobody means its nfs mounted, with the secure default of root_squash option.
If you unmount it, you'll see the normal permissions/ownerships and be able to change it.
I assume you're on the nfs server here.


All times are GMT -5. The time now is 12:54 AM.