From owner-freebsd-questions@FreeBSD.ORG Tue Sep 7 02:05:38 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B222110656C8 for ; Tue, 7 Sep 2010 02:05:38 +0000 (UTC) (envelope-from fbsd@dannysplace.net) Received: from mailgw.dannysplace.net (mailgw.dannysplace.net [204.109.56.184]) by mx1.freebsd.org (Postfix) with ESMTP id 7F7128FC15 for ; Tue, 7 Sep 2010 02:05:38 +0000 (UTC) Received: from [203.206.171.212] (helo=[192.168.10.10]) by mailgw.dannysplace.net with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.72 (FreeBSD)) (envelope-from ) id 1OsnZB-0002BL-DZ; Tue, 07 Sep 2010 12:05:47 +1000 Message-ID: <4C859DEA.7020708@dannysplace.net> Date: Tue, 07 Sep 2010 12:05:30 +1000 From: Danny Carroll User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.8) Gecko/20100802 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: Frank Shute References: <4C8597C7.7010002@dannysplace.net> <20100907020004.GB21193@orange.esperance-linux.co.uk> In-Reply-To: <20100907020004.GB21193@orange.esperance-linux.co.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Authenticated-User: danny X-Authenticator: plain X-Exim-Version: 4.72 (build at 12-Jul-2010 18:31:29) X-Date: 2010-09-07 12:05:46 X-Connected-IP: 203.206.171.212:52089 X-Message-Linecount: 42 X-Body-Linecount: 28 X-Message-Size: 1604 X-Body-Size: 936 X-Received-Count: 1 X-Recipient-Count: 2 X-Local-Recipient-Count: 2 X-Local-Recipient-Defer-Count: 0 X-Local-Recipient-Fail-Count: 0 X-SA-Exim-Connect-IP: 203.206.171.212 X-SA-Exim-Mail-From: fbsd@dannysplace.net X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on damka.dannysplace.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.1 X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on mailgw.dannysplace.net) Cc: freebsd-questions@freebsd.org Subject: Re: Windows XP Backup resetting unix perms. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: fbsd@dannysplace.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2010 02:05:38 -0000 On 7/09/2010 12:00 PM, Frank Shute wrote: > On Tue, Sep 07, 2010 at 11:39:19AM +1000, Danny Carroll wrote: >> >> Today I decided to make a backup of some of my unix data to an XP >> machine in preparation for a migration. >> I set windows XP backup running and when it started backing up files in >> my home directory I noticed that it set u-x permissions on all of the >> files. >> Directories are unaffected. >> >> If I use XP's security dialog to set the permissions back, they are >> applied OK. >> >> Has anyone seen this behaviour before? >> > > Yeah, it does that because it doesn't understand unix permissions. > > Proper way to back up to XP is to make a tarball of your $HOME first & > then copy it to XP, that way the permissions are preserved. > Hmmm. Apart from creating a readonly share, is there a way to tell samba to disallow this? Perhaps there is an option to disallow permissions updates altogether. -D