aws / aws/aws-parallelcluster

FSX defaults file ownership to root

Open
#1,466 1 comment 1 reaction 0 assignees View on GitHub
enhancement Feature Request
Dominant language
Python
Stars
888
Forks
314
Avg merge
1d 10h
Merged PRs (30d)
43

Description

**Environment:**
- pcluster version 2.4.1
- base_os = centos7
- Scheduler: SGE
- compute_instance_type = c5n.18xlarge
- master_instance_type = c5.xlarge
- fsx_settings = fsxshared

[fsx fsxshared]
shared_dir = /fsx
storage_capacity = 3600
imported_file_chunk_size = 1024
import_path = s3://pmjfsx
export_path = s3://pmjfsx

**Bug description and how to reproduce:**
Create a cluster with FSX and use a bucket to fill the file system via import_path. The files belong to root. As there is a user created called centos and the user logs is as this user then these files shoudl belong to that suer and not root

```
[centos@ip-10-0-0-226 fsx]$ cd /fsx
[centos@ip-10-0-0-226 fsx]$ ls -l
total 65
drwxr-xr-x 4 root root 33280 Nov 15 07:49 sims
drwxr-xr-x 2 root root 33280 Nov 15 07:49 utils
```

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is named. Reproduce the issue with the reported pcluster 2.4.1 CentOS 7 configuration, including FSX import_path and export_path, then trace cluster setup for the imported files. Done means files under /fsx have the intended ownership for the centos user rather than root.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.