Date: Mon, 06 May 2002 12:22:04 -0500 From: "Jack L. Stone" <jackstone@sage-one.net> To: Nathan Kinkade <nkinkade@dsl-only.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Directory Ownership Trashed Message-ID: <3.0.5.32.20020506122204.0181b040@mail.sage-one.net> In-Reply-To: <20020506101441.229177ca.nkinkade@dsl-only.com> References: <3.0.5.32.20020506110239.0181b040@mail.sage-one.net> <3.0.5.32.20020506110239.0181b040@mail.sage-one.net>
next in thread | previous in thread | raw e-mail | index | archive | help
At 10:14 AM 5.6.2002 -0700, Nathan Kinkade wrote: >On Mon, 06 May 2002 11:02:39 -0500 >"Jack L. Stone" <jackstone@sage-one.net> wrote: > >> Am running 4.5-RELEASE >> >> Last night, I noticed a strange & unwanted change to the directory >> ownership that has permeated ALL of the user's home directories. For >> example, the home for "sageame" below has "subs2" as the owner of the >> "../" directory and the same "trash" appears in every user's home. >> "subs2" is another user but appears this way in every home directory. >> I removed a user at about the time this happened... did I somehow >> trash the ownership structure? >> >> I may have messed up when I used "pw deluser <user>" for the first >> time instead of just "remuser". I put the user back, but the one >> deleted wasn't the user "subs2" >> >> Does anyone know how this could happen and how do I fix it back...???? >> HELP! >> >> ===================================================================== >> ================== >> drwxr-xr-x 21 sageame wheel - 1536 May 5 18:22 ./ >> drwxr-xr-x 28 subs2 wheel - 512 May 5 22:06 ../ <==== >> "subs2" should be "sageame" >> -rw-r--r-- 1 sageame wheel - 0 Jan 11 10:11 .addressbook >> -rw------- 1 sageame wheel - 2285 Feb 17 10:13 .addressbook.lu >> etc., etc.,..... >> ===================================================================== > >I'm not sure how it happened, but assuming the above view is only one >level into the users home dir it should be a quick fix. If so then you >could just:$ chown root:wheel /usr/home # or other apropriate owners > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > ..Ah-HAH... if I go into the user's home and do this, it works (simple): chown <user> ../ .... our website: http://www.sage-one.net/ Best regards, Jack L. Stone Server Admin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.20020506122204.0181b040>