lablup / lablup/backend.ai

Apply chmod 664/775 for new files and directories after uploads in Storge Proxy

Open
#6,968 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
670
Forks
183
Avg merge
17h 7m
Merged PRs (30d)
358

Description

## Required Features

- Apply the Linux permission bit 664/775 to the new files and directories after uploaded to vfolders via Storage Proxy.

## Testing Scenarios

- Configure the [Backend.AI](http://Backend.AI) cluster to use separate per-user uid/gid, while all service daemons sharing the same gid (e.g., 7000)
- You can set `container_uid`, `container_gid`, and `container_gids` fields in the `users` table record.
- `container_gids` should include the shared daemon gid (e.g., 7000).
- Upload directories and/or files to a vfolder via the Web UI’s vfolder browsing interface.
- Create a new interactive session where the vfolder is mounted and open a terminal inside it.
- Try to create a new file or rename a file inside the vfolder and checks if it succeeds.

JIRA Issue: BA-3164

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.