On 01 Nov 2005 09:01:02 -0800, Randal L. Schwartz 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 kern
> "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
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 th
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
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.
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 "
c
[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: $!";
th
> 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 "
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 :$!";
> }
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 , ho
10 matches
Mail list logo