From owner-freebsd-questions@FreeBSD.ORG Fri Jan 25 21:52:01 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 69CCC964 for ; Fri, 25 Jan 2013 21:52:01 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-ia0-x235.google.com (ia-in-x0235.1e100.net [IPv6:2607:f8b0:4001:c02::235]) by mx1.freebsd.org (Postfix) with ESMTP id 133FFC3B for ; Fri, 25 Jan 2013 21:52:01 +0000 (UTC) Received: by mail-ia0-f181.google.com with SMTP id k25so1359039iah.12 for ; Fri, 25 Jan 2013 13:52:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=wizwsIaaQS8jT1pw09DhPbLAEIbo58c6Q4heNcx312s=; b=Lob6oVRURd4hnDfhORkko1M/dVbCWMq9UbQ1lpeTRPB/q1wkpMp5h0OmkwGDJBjHbi txdEQmigiFbBCE4NGdvjA7FijRPAFNKqUKa7u2NfBgyNBbjvQZC0dweshFrYOk6f7ZM9 iBXgsRhGSLcLP3PcQH5b70IkvOvqAeCQD4STIvKe4tKi2C4b9O2Jxp8DQVF6Wud0luqR T0LKDufiGyLrDZlP3mkyQH6x8vgMI32wFDz1qQ7XIBCageoLR2+jMqM89u2l6XnSnmZa rd0Lnv+gJtHV6DLoHnhqbzi3HMZvJvxBL/aTIWDdagsPLsESPzsGiuzfkA1hqbYL5WKx Gtmg== X-Received: by 10.50.41.165 with SMTP id g5mr5145423igl.66.1359150720738; Fri, 25 Jan 2013 13:52:00 -0800 (PST) Received: from [192.168.1.14] (c-98-212-197-211.hsd1.il.comcast.net. [98.212.197.211]) by mx.google.com with ESMTPS id rd10sm4691496igb.1.2013.01.25.13.51.59 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 25 Jan 2013 13:51:59 -0800 (PST) Message-ID: <5102FE7B.4070808@gmail.com> Date: Fri, 25 Jan 2013 15:51:55 -0600 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Sharing a mail folder between Linux and FreeBSD References: <20130125133346.f1484ed8.freebsd@edvax.de> <20130125150414.f262d162.freebsd@edvax.de> <20130125161215.f498f4e4.freebsd@edvax.de> In-Reply-To: <20130125161215.f498f4e4.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2013 21:52:01 -0000 On 1/25/2013 9:12 AM, Polytropon wrote: > On Fri, 25 Jan 2013 15:26:23 +0100, Ralf Mardorf wrote: >> On Fri, 25 Jan 2013 15:04:14 +0100, Polytropon wrote: >>> % ls -lR / | grep -v "/home" | grep "rocketmouse" >> >> It's better I umount at least Arch Linux. > > True. :-) > > > >> There anyway is an issue, it doesn't show the pass, I checked this with >> >> $ ls -lR /home/ | grep -v "/home" >> >> after running >> >> $ ls -lR / | grep -v "/home" | grep "rocketmouse" >> >> IOW I get tons of files, but don't know to which directory they belong. > > Sorry, that was something I didn't take into mind, you're right. > Maybe this command is more efficient: > > # find / -exec ls -l {} \; | grep -v "/home" | grep "rocketmouse" > > It may be a good idea to send the output into a temporary file > and check it when the command has finished. As I said, you will > probably see some "false positives", but look for anything > strange in /usr. > > Since there was a comment about cats, you can also use this. find / -not \( -name home -prune \) -uid 1000 -or -gid 1000 -ls Sorry if my original command ended up breaking your system, but at least you're getting to learn how to fix problems without just wiping and starting over from scratch. I once was in /tmp and ran "rm -rf .*" to delete all hidden directories in /tmp. I realized a problem when it tried to delete files in /usr that aren't deletable without changing permissions. I was able to recover and reinstall from /usr/src. The rm had wiped out /boot.