Jay == Jay Savage [EMAIL PROTECTED] writes:
Jay The new version prevents anyone but the superuser from changing a
Jay file's ownership. Actually the change was to the chown and lchown
Jay system calls in various kernels (I think Linux was the first, maybe
Jay Solaris?) not to chown itself.
You
On 01 Nov 2005 09:01:02 -0800, Randal L. Schwartz merlyn@stonehenge.com wrote:
Jay == Jay Savage [EMAIL PROTECTED] writes:
Jay The new version prevents anyone but the superuser from changing a
Jay file's ownership. Actually the change was to the chown and lchown
Jay system calls in various
Hi folks
Can any body tell me how to change the owner of a file ??
I have written this script ...
unless (chown $uid , $gid , $filename)
{
die chown failed :$!;
}
this code will give me the error you can't change permission denied
can any body tell me , how to over come this error
On Mon, 2005-10-31 at 13:45 +0530, Rakesh Mishra wrote:
Hi folks
Hello,
Can any body tell me how to change the owner of a file ??
I have written this script ...
unless (chown $uid , $gid , $filename)
{
die chown failed :$!;
}
this code will give me the error you can't
Hi folks
Can any body tell me how to change the owner of a file ??
I have written this script ...
unless (chown $uid , $gid , $filename)
{
die chown failed :$!;
}
this code will give me the error you can't change permission denied
can any body tell me , how to over come this
[EMAIL PROTECTED] wrote:
Hi folks
Hello,
Can any body tell me how to change the owner of a file ??
I have written this script ...
unless (chown $uid , $gid , $filename)
{
die chown failed :$!;
}
chown $uid, $gid, $filename or die chown failed: $!;
this code will give me the
Rakesh Mishra wrote:
Hi folks
Can any body tell me how to change the owner of a file ??
I have written this script ...
unless (chown $uid , $gid , $filename)
{
die chown failed :$!;
}
this code will give me the error you can't change permission denied
can any body tell me , how to
On Mon, 31 Oct 2005, Shawn Corey wrote:
Yes, you must the the recipient of the change, unless you have
superuser privileges. In other words, you must be $uid. This is
because many UNIX systems have quotas on how much data you can store.
What??
That's hardly why this constraint exists.
If
Chris Devers wrote:
What??
That's hardly why this constraint exists.
If anyone can make changes to any other account's files, then there's no
point in having ownership constraints at all.
Of course. I was being facetious.
The new version of chown prevents what?
New is a relative term.
We're getting a little off topic here, but this is an interesting
discussion, and I think tangentially related: part of good programming
is understanding your security model, so...
On 10/31/05, Chris Devers [EMAIL PROTECTED] wrote:
On Mon, 31 Oct 2005, Shawn Corey wrote:
Yes, you must the the
10 matches
Mail list logo