bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: chown - Operation not permitted


From: Kumar, Ashok
Subject: RE: chown - Operation not permitted
Date: Fri, 2 Sep 2005 00:19:53 -0400

Thanks a lot for quick reply. We are running on RedHat AS 3.2. 

address@hidden root]# cat /proc/version
Linux version 2.4.21-27.0.4.ELsmp (address@hidden)
(gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-52)) #1 SMP Sat Apr 16
18:43:06 EDT 2005

Do we have any fix or workaround (preferably fix) for the same.

Regards,
Ashok Kumar
Timex, India
Tel: + 91 120 2568668, 669 Ext: 233
Mobile: +91-9350001845
-----Original Message-----
From: Bob Proulx [mailto:address@hidden 
Sent: Thursday, September 01, 2005 9:00 PM
To: Kumar, Ashok
Cc: address@hidden
Subject: Re: chown - Operation not permitted

Kumar, Ashok wrote:
> Why can't a user change the ownership of his file. I need this to
> working. Can u please tell me the fix?

The GNU chown program will change the ownership if the operating
system it is running upon allows it.  If you can't change file
ownership then it is the operating system which is restricting you and
not the chown program.

Please see this frequently given answer in the reference below.

  http://www.gnu.org/software/coreutils/faq/

Look for "Why can only root chown files?"

Bob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]