Why does the uploaded file owner appear to be the user who accessed it #1145
-
After mounting using blobfuse v1 in the container of Azure storage, the file was uploaded, and when the general user accessed it and checked it, the owner's authority appeared to be the user who accessed it Is this why it acts as a security factor? |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 4 replies
-
We do not maintain the file ownership info on the storage container (as its not supported by the Azure Storage itself). File ownership will always point to the user who has mounted the file-system unless you use "uid/gid" flags while mounting. Also, if you are using blobfuse v1, kindly upgrade to v2 as v1 will not have any further releases. |
Beta Was this translation helpful? Give feedback.
-
As your account is HNS enabled, did you mention --use-adls=true in cli option. |
Beta Was this translation helpful? Give feedback.
-
as I suspected, you are using stream option and that has some issue with uploads which I am investigating right now (#1142) |
Beta Was this translation helpful? Give feedback.
-
you mount is successful with suggested option or not ? If so, can you first try reading/writing to file locally from the linux vm where you mounted and validate things are working fine. |
Beta Was this translation helpful? Give feedback.
-
file-cache is supported for both block and adls account. |
Beta Was this translation helpful? Give feedback.
-
"https://kbidqa1krcimgst001.dfs.core.windows.net/imgstorage01//imguploaddev/portal/portal/2023/05/02/3?timeout=901#012 " : why are there two "//" in the URI. You might have given some wrong config somewhere and that might be the reason for this failure. |
Beta Was this translation helpful? Give feedback.
-
It's settled. Thank you very much !! |
Beta Was this translation helpful? Give feedback.
file_cache:
path: "a temp directory path"
cleanup-on-start: true
timeout-sec: 120