question

beebz avatar image
0 Votes"
beebz asked beebz answered

Can't read file in folder mounted with blobfuse

Hi,

I can't read a file after mounting blob storage via blobfuse, steps i followed are:

 blobfuse --log-level=LOG_DEBUG mine/ --tmp-path=/mnt/resource/blobfusetmp  --config-file=/home/beebz/fuse_connection.cfg -o attr_timeout=240 -o entry_timeout=240 -o negative_timeout=120 -o gid=33

 $ ls -la mine/
 total 1
 drwxrwx---  2 beebz www-data 4096 Sep 21 17:52 .
 drwxr-xr-x 19 beebz beebz 4096 Sep 20 17:56 ..
 drwxrwx---  2 beebz www-data 4096 Jan  1  1970 files

...

 $ ls -la mine/files/file.html
 -rwxrwx--- 1 beebz www-data 7146 Sep 21 16:49 /home/beebz/mine/files/file.html

 $ cat /home/beebz/mine/files/file.html
 cat: /home/beebz/mine/files/file.html:  Permission denied


If i create a new file, this works fine:

 $ echo "test"  > mine/files/test.txt
 $ ls -la mine/files/test.txt 
 -rwxrwx--- 1 beebz www-data 5 Sep 21 18:25 mine/files/test.txt
 $ cat mine/files/test.txt 
 test


How to get files inside the container and created before mounting to be readable ?

Thank you



azure-blob-storage
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

beebz avatar image
0 Votes"
beebz answered

I got an answer from the azure-storage-fuse team on github:
https://github.com/Azure/azure-storage-fuse/issues/647

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.