Re: Mysterious write-only SMB behavior
Re: Mysterious write-only SMB behavior
- Subject: Re: Mysterious write-only SMB behavior
- From: Rick Mann <email@hidden>
- Date: Fri, 28 Apr 2017 17:00:58 -0700
I doubt this is the same issue, but I recently came across a situation where my Mac is a client of a samba share from Linux. If I attempt to overwrite a file on the samba share, it crashes the app that's looking at the directory, because that app can't handle the change in, of all things, the resource fork file that also gets written ("._<filename>").
It's okay if it's a newly-written file. It's a problem only when replacing a file.
> On Apr 28, 2017, at 13:21 , Kirk <email@hidden> wrote:
>
> I have Cocoa application that does a specialized task for my employer. It runs on a Mini running Sierra but all file I/O is from/to network SMB volumes shared by Windows Server over the company network.
>
> The Mini is a full admin domain member, both computer and user.
>
> This application has been working fine, until we recently upgraded the server from WS 2008 to 2016 and moved a lot of stuff around.
>
> Now, files that my app creates over SMB are invisible to Macs, but visible to Windows clients. And then if that were not odd enough, the files become visible to a Mac if they are found by a Finder file-name search on the SMB volume. Once the search is closed, the files resume being invisible.
>
> All of the files are text files, with various non-standard file extensions for housekeeping purposes.
>
> FIles that my app merely modifies (renames) and relocates remain visible, and directories that it creates are visible.
>
> If this rings a bell with anyone, I would appreciate a clue, which would be one more than I have now.
>
> Kirk Kerekes
> (iPhone)
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
--
Rick Mann
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden