From nobody Sun Sep 08 21:50:25 2024 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X23YH4bWLz5WF59 for ; Sun, 08 Sep 2024 21:50:27 +0000 (UTC) (envelope-from leres@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X23YH41T7z4YlW; Sun, 8 Sep 2024 21:50:27 +0000 (UTC) (envelope-from leres@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725832227; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9iXgpmIVqLpaNlYNK9qFIdBEcf8T4exwO/XACB9x3RU=; b=jA6XWIF31Y9w1SQDvltBgNq9mxH2xONJi3rhtY1l6Df6itOzYcS/waxriOjQIw64Y9n8Ex N60I4P61KxCeEldfkgRzFya/EM9y51sJ9WFSufwtmmP8XGhkVjRgTJ3+em4/MbxQWfL8U9 UHHqYtXHgEtGaOBkbDmuIJYg+eykzb2CDkuQZ1VHngZD1j1S4u9cvj0SYBfMqQA+SYr22N 3YZYszNYNYR1jX0EYNVh2v0DfMaCtVKzultxxvGhofq6GtmaoYIEOwZ4wg9PEuMZl9ZuX4 ERvK3pScHTvd4ieqymBn1pz5T6wjQmBFCqYwJ5bFBUcJ5Y2JVC3BCAWYJvLBtw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725832227; a=rsa-sha256; cv=none; b=nsmrCBf1lBc5mH9s+uh6XMuSCn3ATx8f3MwLTdxTZAFglkt6tsSGE2UZzqE7dem+ldUpKG nBoqyPT0/S1f1rtoKNdvxEfV5buT7dORDyW6rwcB+hXTobb3Q5eV7dvrSLv3K8+kMTblQw v/0LyFhKxG/Vmnr3hvT/5kWmcdt+a+ffou9mjR+WL7wbIQ5ppA5gC+swgyL7SQlcET4FM4 BMYhyzr9SKiDykNXAJN69ATbx8wipruIKnB0cuLQivd0sGq/rPcxtufEVH1RHn1YeQAWhw a/idqR8SedKOy+CFZ9ieqFu22Ikjry/NM98p4HwJryLZ+3WXX1UhRrsndkzSFQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725832227; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9iXgpmIVqLpaNlYNK9qFIdBEcf8T4exwO/XACB9x3RU=; b=DZSfcVIhmmhgIG/ExUUXuiGRDn+e/lveRMrUK0GzN6JK+m+f+2Q3zqm/SWQ0qC5bemjeG4 JyBJ8nreHvTjtNxuGT5CHhicUojCYI8xeRG+ef6pAEsUB/4txA5/vfOwnzFQ9wghtIZt6x BhxZqVSAvJlp0vjHRY68OsuOF8QZqxaJ07EFgBw4Yi+Mf+MFutHZv/igZnc6baMHJ1Orr/ IYeVpi34gbaffofJ4FGE4FTJDegl1qi1G3c2+Q89QPRyfU9OX3no2wkPxOJf8Rhu43BRIZ fvSzM0dcKyzMIifb9EW8m+yiWKlzzMZkyQRZctuavLLWp0W3wEIFmkHGYeK7MA== Received: from [IPV6:fd:1965::2] (unknown [IPv6:2600:1700:ab1b:6800:2e0:edff:fece:8f27]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: leres) by smtp.freebsd.org (Postfix) with ESMTPSA id 4X23YH0jjmzb1v; Sun, 8 Sep 2024 21:50:26 +0000 (UTC) (envelope-from leres@freebsd.org) Message-ID: Date: Sun, 8 Sep 2024 14:50:25 -0700 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: FreeBSD+samba as a time machine server for OSX/Sonoma? To: David Chisnall , Mark Delany , Dimitry Andric Cc: freebsd-hackers@freebsd.org References: <8E0CDC45-6521-4973-A349-9B5824C75863@freebsd.org> <9F9D21A4-5747-4F2A-960E-2CF826C8BEC4@FreeBSD.org> From: Craig Leres Content-Language: en-US In-Reply-To: <9F9D21A4-5747-4F2A-960E-2CF826C8BEC4@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 9/8/24 04:48, David Chisnall wrote: > If I mount the same share, I can reproduce this: > > $ mkdir tmp > $ touch tmp/foo > $ mv tmp fmp > mv: rename tmp to fmp: Operation not supported > > So it appears that something in the FreeBSD port of Samba has broken the > ability to rename directories. Nice catch. I installed 4.16 on a spare system and setup a test share. I'm able to reproduce your "Operation not supported" test. But I also see that (from the mac) I get the same error if I try to remove tmp/foo! I'll add some info to your PR. On 9/7/24 02:51, Mark Delany wrote: > I'm going to ask a silly question here. But why are people running samba instead of > netatalk if they are only using the timemachine backup capability? In my case when I upgraded to big sur (2021) it looked like netatalk3 no longer worked; my local osx expert thought that apple had phased out afp support so I switched to samba413. It wasn't until much later that I figured out when you make changes you pretty much need to nuke your old backup and start over. And also delete and recreate the share config on the mac. So maybe if I had just done those things when I upgraded to big sur I would have continued to use netatalk3. But last year I got a brother multi-function printer and it was pretty easy to create a samba share that the printer can store scans to. That's been pretty handy so I'm likely to keep samba. On 9/8/24 05:29, Dimitry Andric wrote: > I have never needed to explicitly set fruit:posix_rename, my Time > Machine backups work completely fine without it (maybe it defaults to on > now?). I have been using Samba 4.19 since the port came out too. Right, fruit:posix_rename defaults to "yes" (see man vfs_fruit). Craig