wa2c / cifs-documents-provider

CIFS Documents Provider
MIT License
288 stars 25 forks source link

Can connect and download files from samba server but not upload to it. #44

Open shag00 opened 1 year ago

shag00 commented 1 year ago

I am connecting over wireguard to my samba server on Ubuntu (smb3) and can see the "set" share folder and it's contents and I can download files to my android (12) phone. Every time I attempt to reverse the process and save to the server I get a pop-up message, Failed to save document.

Folder permissions: drwxrwxrwx owner: anj, shagadmin Samba share permissions: [OFFSITE] comment = Android Content path = /mnt/Entertainment/offsite browseable = yes guest ok = no writeable = yes write list = shagoo,anj create mask = 755

Any idea what is wrong?

wa2c commented 1 year ago

I don't know why this problem occurred. Try the methods below.

shag00 commented 1 year ago

Thanks for your reply. The problem appears to have been me creating a share for my android connection within an existing share. Entertainment is a disk array pool (virtual disk) and also a share and it appears that to get the write permissions for offsite to work I needed to grant the offsite share owner, anj write permission to Entertainment which is not what I wanted. I solved the problem by creating offsite as a share outside of the virtual disk array but still within it physically. Entertainment is mounted in /mnt/Entertainment and comprises 10 disks offsite is now mounted in /mnt/data/disk01/offsite/ where disk01 is still part of Entertainment

I needed to do this for backup purposes. So the issue is a Samba issue not a CIFS-Documents issue.

CIFS-Documents is a great app for Android based Samba connections, easy to setup and use. Apologies for wasting your time.

wa2c commented 1 year ago

related issue: https://github.com/wa2c/cifs-documents-provider/issues/51

shag00 commented 1 year ago

I think my last reply covers my issue, since implementing a de-nested share folder regime I have no current problems, this ticket can be closed as far as I am concerned.

wa2c commented 1 year ago

@shag00 Ver.2.0.0 released. Please check it.

shag00 commented 12 months ago

Do I need to uninstall the old version or can I just overwrite?

wa2c commented 11 months ago

Update app.