You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

💡 Did you know?

⏺ If you can't accept iCloud Terms and Conditions... Learn more >

⏺ If you don't see your iCloud notes in the Notes app... Learn more >

files/folders on smb server read only since ios 18

On my iphone SE I have, in the files app, a connection to an smb server. This always allowed my to place places on that server.


Since updating to ios 18 however, the folders on this server are read only, preventing me from creating new files.


The server itself, as well as the credentials, are not changed.


Is there a solution for this?

Thank you.



iPhone SE, iOS 18

Posted on Sep 25, 2024 11:56 PM

Reply
Question marked as Top-ranking reply

Posted on Oct 4, 2024 1:12 PM

I seem to have found a workaround. Try this at your own risk and make backups of configfiles you change! Make sure you know what you are doing.


Somewhere in your config on your server (perhaps in /etc/samba/smb.conf) there is probably a

[global]

section.


In that section, see if there is a line that starts with

vfs objects =


If it is not, add this line:

vfs objects = streams_xattr


If it is, add

streams_xattr

to that line


Restart samba service

Reconnect your ios device to the smb server

25 replies
Question marked as Top-ranking reply

Oct 4, 2024 1:12 PM in response to Mauricedl

I seem to have found a workaround. Try this at your own risk and make backups of configfiles you change! Make sure you know what you are doing.


Somewhere in your config on your server (perhaps in /etc/samba/smb.conf) there is probably a

[global]

section.


In that section, see if there is a line that starts with

vfs objects =


If it is not, add this line:

vfs objects = streams_xattr


If it is, add

streams_xattr

to that line


Restart samba service

Reconnect your ios device to the smb server

Oct 6, 2024 3:59 AM in response to Mauricedl

I can confirm that this issue occurs with iPadOS 18.0 (22A3354) when attempting to connect to any SMB server (tested with Windows 10, Windows 11, and Windows Server 2016). For security reasons, I cannot share the full capture file, but as shown, the tree connect response grants full access, whereas file openings are restricted to read-only.


Nov 26, 2024 5:14 AM in response to Donald Thorburn

Consistent with other solutions, I've remedied this using the streams_xattr VFS Object.


My QNAP ships with a limited set of modules, but I've confirmed that the following commands work in my scenario:


setcfg Samba "VFS Objects" "streams_xattr"

setcfg global "VFS Objects" streams_xattr

setcfg global "VFS Objects" streams_xattr -f /etc/config/smb.conf


This third command doesn't persist across a Samba service restart (or QNAP restart) but takes effect immediately; the share must then be reconnected on all affected devices.


If you tend to restart your QNAP often or would struggle to replicate this as needed, this is probably worth dumping in a script or cron job.

files/folders on smb server read only since ios 18

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.