Discussion
Loading...

#Tag

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Michael Dexter boosted
Stephen Hoffman
@HoffmanLabs@infosec.exchange  ·  activity timestamp 11 hours ago

If you’re using macOS Time Machine to a NAS Time Machine server using Samba SMB services, beware Samba 4.22:

“As part of the backup TM tries to rename a directory while having an open file within the directory. Windows requires this to fail and this is what Samba also implements. There used to be a workaround for Macs by using fruit:posix_rename but that option was removed in 4.22 as it imposed an unreasonable development burden due to introducing hard to follow logic in very complex code. As part of implementing SMB3 UNIX Extensions in Samba, this part of the code has to be modified and this was only sensibly possible after removing the fruit:posix_rename code.

As an alternative, fruit shuld be extended to internally make macOS clients POSIX clients so they can benefit from the existing logic in Samba that allows such renames if all opens (recursively) are POSIX opens.

Have patch, need bugnumber.”

https://bugzilla.samba.org/show_bug.cgi?id=15926

Also:

“fruit:posix_rename
This option of the vfs_fruit VFS module that could be used to enable POSIX directory rename behaviour for OS X clients has been removed as it could result in severe problems for Windows clients.

As a possible workaround it is possible to prevent creation of .DS_Store files (a Finder thingy to store directory view settings) on network mounts by running

$ defaults write com.apple.desktopservices DSDontWriteNetworkStores true

on the Mac.”
https://wiki.samba.org/index.php/Samba_4.22_Features_added/changed#fruit:posix_rename

#macos #samba #timemachine

Samba 4.22 Features added/changed - SambaWiki

15926 – Samba 4.22 breaks Time Machine

  • Copy link
  • Flag this post
  • Block
Stephen Hoffman
@HoffmanLabs@infosec.exchange  ·  activity timestamp 11 hours ago

If you’re using macOS Time Machine to a NAS Time Machine server using Samba SMB services, beware Samba 4.22:

“As part of the backup TM tries to rename a directory while having an open file within the directory. Windows requires this to fail and this is what Samba also implements. There used to be a workaround for Macs by using fruit:posix_rename but that option was removed in 4.22 as it imposed an unreasonable development burden due to introducing hard to follow logic in very complex code. As part of implementing SMB3 UNIX Extensions in Samba, this part of the code has to be modified and this was only sensibly possible after removing the fruit:posix_rename code.

As an alternative, fruit shuld be extended to internally make macOS clients POSIX clients so they can benefit from the existing logic in Samba that allows such renames if all opens (recursively) are POSIX opens.

Have patch, need bugnumber.”

https://bugzilla.samba.org/show_bug.cgi?id=15926

Also:

“fruit:posix_rename
This option of the vfs_fruit VFS module that could be used to enable POSIX directory rename behaviour for OS X clients has been removed as it could result in severe problems for Windows clients.

As a possible workaround it is possible to prevent creation of .DS_Store files (a Finder thingy to store directory view settings) on network mounts by running

$ defaults write com.apple.desktopservices DSDontWriteNetworkStores true

on the Mac.”
https://wiki.samba.org/index.php/Samba_4.22_Features_added/changed#fruit:posix_rename

#macos #samba #timemachine

Samba 4.22 Features added/changed - SambaWiki

15926 – Samba 4.22 breaks Time Machine

  • Copy link
  • Flag this post
  • Block
Michael Dexter and 1 other boosted
zolaris
@zolaris@mastodon.illumos.cafe  ·  activity timestamp 2 weeks ago

#Homelab 2022 Part 2 - #Samba on #SmartOS #Illumos using delegated datasets : https://thetooth.name/blog/homelab-2022-part-2-samba-on-smartos-using-delegated-datasets/

  • Copy link
  • Flag this post
  • Block
zolaris
@zolaris@mastodon.illumos.cafe  ·  activity timestamp 2 weeks ago

#Homelab 2022 Part 2 - #Samba on #SmartOS #Illumos using delegated datasets : https://thetooth.name/blog/homelab-2022-part-2-samba-on-smartos-using-delegated-datasets/

  • Copy link
  • Flag this post
  • Block
RockyC
@RockyC@fosstodon.org  ·  activity timestamp 2 months ago
@studiocrash Thanks for the suggestion!

SAMBA requires me to create user accounts on my host machine - something I’m not keen to do on my server. If it was just me, then SAMBA would be fine.

Unless there’s a way to do that in a container…

Anyone?

Boosts appreciated.

#linux#SAMBA #docker#SelfHosting#HomeLab

  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login