I'm trying to change the ownership of a file that I as user oracle own to
user u55646 the following occurs
-rw-r--r--1 u55646 dba 583 2003-09-18 13:01 rfc1953.log
-rw-rw-rw-1 oracle oinstall 418 2003-09-18 12:55 rfc1953.sql
-rw-r--r--1 oracle oinstall 583
You need to be root to do that. One user cannot change file ownerships to
another user.
Mark Post
-Original Message-
From: Little, Chris [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 3:48 PM
To: [EMAIL PROTECTED]
Subject: chown problems
I'm trying to change
The man page on RHL 9.0 shows the format as:
chown u55646:dba rfc1953.sql
On Thu, 2003-09-18 at 14:47, Little, Chris wrote:
I'm trying to change the ownership of a file that I as user oracle own to
user u55646 the following occurs
-rw-r--r--1 u55646 dba 583 2003-09-18 13:01
Operation not permitted
Only root can chown.
-Mike MacIsaac, IBM mikemac at us.ibm.com (845) 433-7061
I'm trying to change the ownership of a file that I as user oracle own
to
user u55646 the following occurs
Short version: Linux does not allow non-privileged use of chown. You have
to be root to do it.
Longer version:
Actually Linux supports capabilities. You can give the capability to use
OK, scratch that... I tried it your way and the period is accepted.
On Thu, 2003-09-18 at 14:47, Little, Chris wrote:
I'm trying to change the ownership of a file that I as user oracle own to
user u55646 the following occurs
-rw-r--r--1 u55646 dba 583 2003-09-18 13:01
Everybody wang chown tonight ;)
-Original Message-
From: Michael MacIsaac [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 2:56 PM
To: [EMAIL PROTECTED]
Subject: Re: chown problems
Operation not permitted
Only root can chown.
-Mike MacIsaac, IBM mikemac
A period works just as well (I use it all the time out of habit). He's not
getting a syntax error, it's permissions related.
Mark Post
-Original Message-
From: Rich Smrcina [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 3:55 PM
To: [EMAIL PROTECTED]
Subject: Re: chown
yuck. coming from HP-UX, it allows you to give a file to another owner.
-Original Message-
From: Post, Mark K [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 2:51 PM
To: [EMAIL PROTECTED]
Subject: Re: chown problems
You need to be root to do that. One user cannot
On Thu, 2003-09-18 at 15:00, Little, Chris wrote:
yuck. coming from HP-UX, it allows you to give a file to another owner.
Huge security hole.
Adam
yeah. but it is convenient for my HP-UX users and they are now peeved.
Another thing to listen to them complain about.
-Original Message-
From: Adam Thornton [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 3:06 PM
To: [EMAIL PROTECTED]
Subject: Re: chown problems
, September 18, 2003 2:51 PM
To: [EMAIL PROTECTED]
Subject: Re: chown problems
You need to be root to do that. One user cannot change file
ownerships to
another user.
Mark Post
-Original Message-
From: Little, Chris [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 3:48 PM
To: [EMAIL
Huge security hole
Why ? The systems which allow the non-privileged use of chown drops the
setgid and setuid bits when changing the owner.
--
Guillaume Morin [EMAIL PROTECTED]
IBM Poughkeepsie
SAK Kernel Development
On Thu, 2003-09-18 at 15:00, Little, Chris wrote:
yuck. coming from HP-UX,
Message-
From: Rich Smrcina [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 3:55 PM
To: [EMAIL PROTECTED]
Subject: Re: chown problems
The man page on RHL 9.0 shows the format as:
chown u55646:dba rfc1953.sql
On Thu, 2003-09-18 at 14:47, Little, Chris wrote:
I'm trying
On Thu, 2003-09-18 at 15:10, Guillaume Morin wrote:
Huge security hole
Why ? The systems which allow the non-privileged use of chown drops the
setgid and setuid bits when changing the owner.
Do all of them? Because, yes, that's the hole I was thinking of.
Adam
yuck. coming from HP-UX, it allows you to give a file to another
owner.
So install sudo and give those users the right to use chown without any
password. Adding something like alias chown='sudo chown'. Linux drops
the setuid and setgid bits when changing ownership.
Guillaume.
--
Guillaume
Do all of them? Because, yes, that's the hole I was thinking of.
I would not bet on the all. It is too easy to get bitten by that one :)
But iirc POSIX requires that for unprivileged use. (there is no standard
for privileged use).
Guillaume.
--
Guillaume Morin [EMAIL PROTECTED]
IBM
i just talked to them and introduced the wonderful world of groups and
chgrp.
that might be better and more organized.
-Original Message-
From: Guillaume Morin [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 3:17 PM
To: [EMAIL PROTECTED]
Subject: Re: chown problems
[mailto:[EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 3:06 PM
To: [EMAIL PROTECTED]
Subject: Re: chown problems
On Thu, 2003-09-18 at 15:00, Little, Chris wrote:
yuck. coming from HP-UX, it allows you to give a file to
another owner.
Huge security hole.
Adam
Dans un message du 18 sep ` 16:24, Alex deVries icrivait :
I suppose if you really didn't like this behaviour, you could write
your own setuid version of chown.
It is best way to open an huge security hole. It is better to use sudo.
--
Guillaume Morin [EMAIL PROTECTED]
Debian - What
On Iau, 2003-09-18 at 21:06, Daniel Martin wrote:
I believe the ability to give away a file that you intially own is a
posix-ism. Not having a copy of the spec handy to look at, I can't cite
page-and-paragraph -- but it seems to me that the posix-ish behavior is
to not allow non-privileged
21 matches
Mail list logo