Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduced root directory privileges #15147

Merged
merged 4 commits into from
Jul 16, 2023

Conversation

ycoheNvidia
Copy link
Contributor

@ycoheNvidia ycoheNvidia commented May 18, 2023

Why I did it

Reduced root directory privileges

How I did it

During build_debian - called chroot to reduce root directory and its subdirectories privileges to 744

How to verify it

After image build and upgrade - check /root privileges by calling "ls -a /root"

Description for the changelog

reduced /root directory privileges

@ycoheNvidia ycoheNvidia requested a review from lguohan as a code owner May 18, 2023 13:31
@lguohan
Copy link
Collaborator

lguohan commented May 24, 2023

@qiluo-msft to review.

@qiluo-msft qiluo-msft merged commit 05bbf72 into sonic-net:master Jul 16, 2023
sonic-otn pushed a commit to sonic-otn/sonic-buildimage that referenced this pull request Sep 20, 2023
#### Why I did it
Reduced root directory privileges

#### How I did it
During build_debian - called chroot to reduce root directory and its subdirectories privileges to 744
#### How to verify it
After image build and upgrade - check /root privileges by calling "ls -a /root"

#### Description for the changelog
reduced /root directory privileges
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants