smhk

The Important Files (part 11): Fixing Windows 11 Samba share

TL;DR: The Samba share permissions are determined by the TrueNAS user. By default, Windows will user the Windows user to try and authenticate, which may result in a read-only user if this does not match with the corresponding Samba user. A solution is to check “Connect using different credentials” when creating the share and use the correct user.

After upgrading from Windows 10 to Windows 11, the Samba share with my TrueNAS had become read-only. These notes document how I re-created the share to ensure it had the correct read and write permissions.

Create TrueNAS user §

In TrueNAS, go to Accounts → Users and add a user (if not already done so).

Enable Samba in TrueNas §

In TrueNAS, go to Services and ensure SMB is enabled.

Create TrueNas share §

In TrueNAS, go to Sharing → Windows Shares (SMB), and add a share.

Screenshot of adding a share in TrueNAS.

Add Samba share in Windows §

  1. Open Explorer.
  2. Go to “This PC”.
  3. From the three dots menu, select “Map network drive”.
  4. Choose “M” for drive letter.
  5. Choose folder name: \\192.168.1.10\media
  6. Check “Connect using different credentials”. This is necessary so that you can use the user account defined on the TrueNAS, otherwise Windows will automatically default to using your Windows 11 user account.
Screenshot of adding a Samba share in Windows 11