*BSD News Article 97255


Return to BSD News archive

From: brian@shift.utell.net (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Weird change of ownership
Date: 6 Jun 1997 13:58:37 GMT
Organization: Awfulhak Ltd.
Message-ID: <5n952d$7tk@ui-gate.utell.co.uk>
References: <slrn5pbiae.l0.vibes@pc193.janco.sn.no>
Reply-To: brian@awfulhak.org, brian@utell.co.uk
NNTP-Posting-Host: shift.utell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.8
Lines: 31
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.Hawaii.Edu!news.lava.net!news.flex.com!www.nntp.primenet.com!nntp.primenet.com!feed1.news.erols.com!disgorge.news.demon.net!demon!dispatch.news.demon.net!demon!rill.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:42525

In article <slrn5pbiae.l0.vibes@pc193.janco.sn.no>,
	vibes@hipdrome.org (Jørn-Morten Innselset) writes:
> Today something happened on my 2.2.2 system that had me completely baffled.
> All of a sudden my SO complained about getting "Access denied" messages 
> when trying to connect to my FreeBSD computer (she's running a Win95 based
> Xserver on her own computer). I investigated the matter, and found that
> all the files in her ~ directory (including the .rhosts file) mysteriously 
> had *me* as the owner (the owner group was still her own, though). Oh well 
> - I figured that I had been messing around to much with my root access, and
> chowned the files back. Then I fired up slrn on my own account - and got 
> complaints about not finding the .newsrc file. What had happened? You
> guessed it - all *my* files had *her* as the owner. Now this made a bit less
> sense, but I chowned again - not prepared to dwell on it more. Half an hour 
> later the same thing happened again, though. All ownerships were switched
> again. Now I chowned the directories itself with the -R option, and it has
> been OK for the last two hours. 
> 
> What am I missing here? Will the ownership of the files default back to the
> owner of the directory after a while? Sounds pretty unlikely to me - not 
> being a UNIX expert at all. Could anyone offer a reasonable explanation as
> to why this happened in the first place - or would I be better off 
> forgetting all about it? ;)

Sounds like your partition table is about to migrate !

I suspect someone's playing games with you.

-- 
Brian <brian@awfulhak.org> <brian@freebsd.org>
      <http://www.awfulhak.org>
Don't _EVER_ lose your sense of humour !