Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[6.3.5] VFS Fruit prevents Samba 'force create mode' from working

Featured Replies

Description: I use `force create mode` in my samba configuration to ensure files uploaded by unix clients can be edited by windows clients logged in as different users. Any share that has 'Enhanced OS X interoperability' turned on ignores my permissions override.

 

To reproduce:

  1.  Enable 'force create mode' in /boot/config/smb-extra.conf
        create mask = 0664
        force create mode = 0664

     

  2. Create a file on a mac client with permissions different from the ones you wish to force (644 is default)
    $ touch test
    $ ls -al | grep test
    -rw-r--r--    1 chuckdries  staff          0 Sep  6 18:31 test
  3. Enable 'Enhanced OS X interoperability' in the settings of any given share

  4. Connect to the share on the mac client

  5. Use finder to copy the test file to that share

  6. Verify that permissions were copied as is by ssh'ing into unraid.  These are the unintended "actual results."

    root@chuckserve:/mnt/user/Projects# ls -al | grep test
    -rw-r--r-- 1 chuckdries users      0 Sep  6 18:31 test

     

  7. Delete the file from unraid, disable enhanced osx interoperability, disconnect and reconnect to the share

  8. Copy the file again with finder

  9. This time, it will have the correct (overridden) permissions. This is the expected result. It can only be achieved by disabling vfs fruit.

    root@chuckserve:/mnt/user/Projects# ls -al | grep test
    -rw-rw-r-- 1 chuckdries users      0 Sep  6 22:28 test

     

 

chuckserve-diagnostics-20170906-2215.zip

Edited by CommandLionInterface

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.