xfs
[Top] [All Lists]

Re: chown32() weirdness

To: Wessel Dankers <wsl@xxxxxxxxxxxx>
Subject: Re: chown32() weirdness
From: Eric Sandeen <sandeen@xxxxxxx>
Date: Mon, 18 Feb 2002 11:02:51 -0600 (CST)
Cc: <linux-xfs@xxxxxxxxxxx>
In-reply-to: <Pine.LNX.4.33.0202181038540.17806-100000@chuckle.americas.sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
Ok, I guess this is a difference between Irix and Linux...

bonnie% id
uid=38415(sandeen) gid=10(engr)
bonnie% touch feh
bonnie% ls -li feh
4435055 -rw-r--r--    1 sandeen  engr           0 Feb 18 08:51 feh
bonnie% chown 0.0 feh
bonnie% ls -li feh
4435055 -rw-r--r--    1 root     sys            0 Feb 18 08:51 feh
bonnie% uname -a
IRIX64 bonnie 6.5 01091821 IP27
bonnie% rm feh
feh: 644 mode. Remove ? (yes/no)[no] : y

Perhaps we should be more Linux-like here, though...

-Eric


On Mon, 18 Feb 2002, Eric Sandeen wrote:

> Hm, we used to call inode_change_ok() in linvfs_setattr - which
> would not have allowed this - but it was recently removed as "unneeded"
> since xfs has it's own internal checks... let me go look at those internal
> checks.
>
> -Eric


<Prev in Thread] Current Thread [Next in Thread>