android-cuttlefish icon indicating copy to clipboard operation
android-cuttlefish copied to clipboard

Change mode when creating a directory

Open 0405ysj opened this issue 1 year ago • 0 comments

Recently I faced at the permission related issue when doing POST /cvds after GET /cvds.

And found the root cause _cutf-operator trying to change mode of /tmp/cvd directory, which is owned by _cvd-executor.

I can resolve this issue with this PR, but I still have doubts on:

  • Why can't mkdir function set the mode?
  • Why doesn't the group of _cvd-executor set as cvdnetwork?
  • Why are the users different between GET /cvds and POST /cvds?

0405ysj avatar Apr 29 '24 06:04 0405ysj