LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-18-2010, 08:02 AM   #1
elainelaw
Member
 
Registered: Jan 2008
Posts: 258

Rep: Reputation: 30
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.
 
Old 02-18-2010, 08:29 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
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
 
Old 02-18-2010, 08:35 AM   #3
elainelaw
Member
 
Registered: Jan 2008
Posts: 258

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by pixellany View Post
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
 
Old 02-18-2010, 05:16 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,286

Rep: Reputation: 2347Reputation: 2347Reputation: 2347Reputation: 2347Reputation: 2347Reputation: 2347Reputation: 2347Reputation: 2347Reputation: 2347Reputation: 2347Reputation: 2347
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Create a script that asks the user for a file and then appends the date to the file larry5757 Linux - Newbie 2 12-04-2009 06:33 AM
How to create symbolic link to html file and avoid page link problem? haxpor Linux - General 2 01-29-2008 07:40 AM
Can we system log file will it create any problem nileshwadhwani Linux - Hardware 1 06-17-2007 05:10 AM
create RPMs : problem with spec file 80n Red Hat 0 03-01-2006 02:54 AM
Problem with lpr - cannot create temporary file fclifton Linux - General 3 09-18-2004 04:43 PM


All times are GMT -5. The time now is 02:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration