aws / aws/amazon-sagemaker-feedback
code editor lifecycle configurations not running as root
- Dominant language
- No language data
- Stars
- 10
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
### Product Version
- [ ] Amazon SageMaker Studio Classic
- [X] Amazon SageMaker Studio
- [ ] Issue is not related to SageMaker Studio
### Issue Description
the documentation for lifecycle configurations say that it runs as root: https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-lifecycle-config-install.html . this documentation is however for notebooks - do notebook and code editor lifecycle rules intentional start as different users?
however if i echo $USER from a lifecycle configuration it returns that its running as sagemaker-user.
either documentation is incorrect or the lifecycle configuration is not correctly running as root
### Expected Behavior
life cycle configuration runs as stated in the documentation.
### Observed Behavior
_No response_
### Product Category
_No response_
### Feedback Category
_No response_
### Other Details
_No response_
Contributor guide
Research direction
Start with the linked SageMaker lifecycle-configuration documentation and reproduce the reported behavior by echoing $USER from a Studio code editor lifecycle configuration. Determine whether code editor configurations intentionally run as sagemaker-user; done means the documented behavior and the observed behavior are reconciled through a confirmed product behavior or corrected documentation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100