prosyslab-classroom / cs348-information-security

60 stars 10 forks source link

[Question][Hw4] What is the default permission in `create` command? #292

Closed m-spitfire closed 1 year ago

m-spitfire commented 1 year ago

Name: Murad Bashirov

Hello. When a process uses create command, what is the default permission set on the object? Only Perm_own or Perm_own + Perm_read ?

I think it should be Perm_own by the principle of least privilege, but just making sure.

Thansk.

m-spitfire commented 1 year ago

I think it's just Perm_own as I passed the test cases with it.

sujin0529 commented 1 year ago

Yes, what you understand is correct!

Thanks.

m-spitfire commented 1 year ago

Thanks.