TurboGit / hubicfuse

Support for mounting HubiC drive in GNU/Linux
MIT License
327 stars 55 forks source link

Hubicfuse mount is read-only when accessed through samba share #137

Open Belial57 opened 7 years ago

Belial57 commented 7 years ago

Hello,

I'm not sure it's really an issue, but i could not find any solution. I've mounted a hubicfuse drive succesfully.

sudo hubicfuse /mnt/toshare/hubic -o noauto_cache,sync_read,allow_other

When accessing with local user directly on linux box, there's not problem. I can read/write to hubic directly. ( Linux manu-UX21E 4.4.0-59-generic #80-Ubuntu SMP Fri Jan 6 17:47:47 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux )

Then i shared /mnt/toshare using samba. I've created a samba user named hubic, that is mapped to my local user, named 'manu'. When accessing at toshare level, i'm able to read/write files, create directories through network share. They are created with the correct user on the local filesystem (here, it's manu). For instance, here is a folder and a file created using samba :

ls -l /mnt/toshare

drwxr-xr-x 2 root root 0 janv. 1 1970 hubic/ drwxr-sr-x 2 manu manu 4096 janv. 22 13:48 testfolder/ -rwxr--r-- 1 manu manu 0 janv. 22 13:47 test.txt*

However, when i browse to hubic, i can read files, i can even read an mp3 using a player through the samba share, but i have no possibility to edit, upload or create files. I was not able to chmod hubic folder, but i've read this is not an issue as i use the allow_other option when mounting the folder.

Thanks for reading.