[Samba] Locking issue with Lightroom and Photoshop

Ralph Böhme slow at samba.org
Mon Dec 17 17:16:50 UTC 2018


On Mon, Dec 17, 2018 at 11:02:41AM -0600, Mike Pastore via samba wrote:
>I have an issue at a weird confluence of macOS Mojave's "nsmb" client,
>Adobe Lightroom and Photoshop, and Samba 4.7.6-Ubuntu. Since I don't have
>much control over Apple or Adobe software, I'm hoping there's some smb.conf
>magic (or other sage advice) that might help me out of this jam. For
>reference, Samba is configured for SMB2-only access (i.e. durable file
>handles), with min/max client version set to SMB2_10; and the nsmb client
>is configured with signing_required=no and protocol_vers_map=2.
>
>In brief, the user starts in Lightroom, selects an image from the catalog,
>and fires the "Edit in Photoshop" action. Lightroom takes out a DENY_NONE,
>RDONLY lock (viewable via smbstatus -L) on the file and opens it in

hm, I guess the "RDONLY" string appears in the "R/W" column? That's just the 
open access mode, not related to locking.

>Photoshop. Subsequently, when the user tries to save the file in-place in
>Photoshop, she gets the following error message: *Could not save "foo.tif"
>because write access was not granted.* To be clear, this is not a
>permissions issue; when the user opens the file in a different way—e.g.
>through Finder or Photoshop—she can edit and save it in-place just fine.

have you checked network traces and a level 10 debug log to see where it goes 
off?

-slow

-- 
Ralph Boehme, Samba Team                https://samba.org/
Samba Developer, SerNet GmbH   https://sernet.de/en/samba/
GPG-Fingerprint   FAE2C6088A24252051C559E4AA1E9B7126399E46



More information about the samba mailing list