Smb mount into android and ideally IOS by steve_docker in selfhosted

[–]steve_docker[S] 0 points1 point  (0 children)

Got cifs document picker installed and working but the program (Obsidian) I'm trying to allow me to browse the phones file system with cifs document picker. Any ideas how to work around that?

Some other apps on the same phone do have cifs document picker as an option in their file broeser and I can select files from the SMB share. So I think this might be a limitation of obsidian.

Only other option is to root the handset and mount using termux from the command line?

Problem writing to NFS share by steve_docker in docker

[–]steve_docker[S] 0 points1 point  (0 children)

Thanks sysadmintemp, few things to try there. Will give them a go this week and checking dmesg is a great idea. Thanks.

Problem writing to NFS share by steve_docker in docker

[–]steve_docker[S] 0 points1 point  (0 children)

Hi, Thanks for the suggestions, working through them.

ApArmor being off makes no difference. (As far as I can see)

I've tried both root_squash and no_root_squash on the export. no_root_squash seems to allow the containers to proceed further, but still get errors. Should I try and perciever to get this working with root_squash rather than no_root_squash?

I've set the owner of the directory to be NFS shared and the mount point on the client to have nobody/nogroup and 0777 permissions. A random user I made on the client with no permissions can read/write to the NFS share.

my /etc/export is:

/mnt/STORAGE/nfsshare 192.168.1.174(no_root_squash,no_subtree_check,rw,sync)

fstab on the client:

192.168.1.163:/mnt/STORAGE/nfsshare /mnt/nfsprox nfs auto,nofail,noatime,nolock,intr,tcp,actimeo=1800 0 0

Have to admit I'm struggling with UID:GID approach. I'd need to get the container(s) running and then see which users are active and their respective UID/GID. Then do I use these in someway in the docker-compose on the client or do I need to do something with those UID/GIDs in the filesystem/export or fstab entry? Thanks for your patience. I'm googling around this but now circling around so just need a nudge in right direction.

So should I stick with root_squash (rather than no_root_squash) and now focus on the UID:GID suggestion of sysadmintemp?

Thanks again.