Skip to content

Commit

Permalink
rx for libs
Browse files Browse the repository at this point in the history
  • Loading branch information
oskarniziol committed Nov 12, 2024
1 parent 3453173 commit 6cd3c0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src-rust/src/unix/create_user.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ pub fn create_user(name: String, uuid: String, password: String) -> String {
format!("useradd -M {} -d /storage/{}", name, uuid),
format!("chown {}:{} /storage/{}", name, name, uuid),
format!("setfacl -m u:{}:0 /etc", name),
format!("setfacl -m u:{}:r /usr/lib64", name),
format!("setfacl -m u:{}:r /usr/lib", name),
format!("setfacl -m u:{}:rx /usr/lib64", name),
format!("setfacl -m u:{}:rx /usr/lib", name),
format!("setfacl -m u:{}:0 /srv", name),
format!("setfacl -m u:{}:0 /lost+found", name),
format!("setfacl -m u:{}:r /var", name),
Expand Down

0 comments on commit 6cd3c0f

Please # to comment.