2019/09/26

iPadOS weird SMB share permission error

Hello! good day!


today, I have upgrade my iPad to 'iPadOS 13'.
I had wondered if File-App works SMB share feature properly.
I have small NAS using Raspberry-Pi that attached USB memory sticks. so I tested.

first, connection was just good. but, problem is after.
iPad reject to read and write file. just file browsing allowd.
but my Macbook and Windows notebook were no problem to read and write file.

it's so weird situation.
so I thought that NAS has problem.
I tried to find cause. and figured out something strange.

MacOS and Windows are writing file on SMB share as root qualification. and also my USB sticks as formatted exFAT are mounted as root:root ownership and 777 permission.
I suspected that this is the point to solve the problem.

and I tried to change the folder and files ownership and permission, but I could not give them ownership and permission properly. exactly, I tried to change ownership from root:root to nobody:nogroup. but this try was rejected by system.

I thought that this is the not just simple problem to change ownership and permission. maybe this problem came from it's file system.
finally, I tried to change the file system of USB sticks by formatting.
after changing the USB sticks file system to Ext4, my iPad could read and write file on SMB share properly.

conclusion is that iPadOS is write file as nobody:nogroup ownership on SMB share. and exFAT file system is just removable and temporary file system. so, do not use the exFAT for SMB service. Ext4 is highly recommend.

so, if your iPad File-App could not access the SMB share properly, check the disk format type.

No comments:

Post a Comment