LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 08-09-2005, 07:29 AM   #1
loopoo
Member
 
Registered: Aug 2005
Posts: 40

Rep: Reputation: 15
chown


Hi!

I am the owner of some files, but I want to change the owner to antoher user.
Is this possible?

I execute this:

chown tom awk.log


and I get the following message:

chown: awk.log: Operation not permitted.


Thanks in advance!
LooPoo
 
Old 08-09-2005, 08:06 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Re: chown

Quote:
Originally posted by loopoo
Hi!

I am the owner of some files, but I want to change the owner to antoher user.
Is this possible?

I execute this:

chown tom awk.log


and I get the following message:

chown: awk.log: Operation not permitted.


Thanks in advance!
LooPoo
Try doing it as root.
 
Old 08-09-2005, 08:16 AM   #3
loopoo
Member
 
Registered: Aug 2005
Posts: 40

Original Poster
Rep: Reputation: 15
I do not have root rights on this compuer.

It's a server and I connect using putty.

Thanks,
LooPoo

Last edited by loopoo; 08-09-2005 at 08:24 AM.
 
Old 08-09-2005, 09:29 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Well, if you don't have roots rights, then ask the administrator to do it for you (if they are willng to).
 
Old 08-09-2005, 09:33 AM   #5
loopoo
Member
 
Registered: Aug 2005
Posts: 40

Original Poster
Rep: Reputation: 15
So only the root can change the owner of a file/directory ???
The actual owner can't do that?

Thanks!
 
Old 08-09-2005, 09:38 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally posted by loopoo
So only the root can change the owner of a file/directory ???
The actual owner can't do that?

Thanks!
I don't think you can change your own files to be owned by another user and vice-versa, only root can do that.
 
  


Reply



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
Chown -R Jakeh2k1 Linux - General 3 10-31-2004 04:23 PM
chown issues tsayles21 Linux - Newbie 1 03-30-2004 08:10 AM
chown -R ujotne Programming 3 02-25-2004 12:02 PM
chown Sathe Linux - General 13 10-14-2002 11:25 AM
chown? joetec Linux - Newbie 6 04-07-2002 04:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:11 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
Open Source Consulting | Domain Registration