Folders not showing up in Bucket storage

后端 未结 3 416
长发绾君心
长发绾君心 2021-02-07 06:09

So my problem is that a have a few files not showing up in gcsfuse when mounted. I see them in the online console and if I \'ls\' with gsutils. Also, if If I manually create th

3条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-07 06:57

    By default, gcsfuse won't show a directory "implicitly" defined by a file with a slash in its name. For example if your bucket contains an object named dir/foo.txt, you won't be able to find it unless there is also an object nameddir/.

    You can work around this by setting the --implicit-dirs flag, but there are good reasons why this is not the default. See the documentation for more information.

提交回复
热议问题