Windows XP Backup resetting unix perms.

Danny Carroll fbsd at dannysplace.net
Tue Sep 7 02:05:38 UTC 2010


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


More information about the freebsd-questions mailing list