linux - POSIX ACLs and the 'sticky' bit applied to a directory -


POSIX was going to define the ACL () mechanism for other security issues, but resolutions never Even the formal standard was not changed, however, the ACL (not necessarily POSIX.1e ACL) is supported at least in all the main types of Unix (,,,,,,, P 107 FF). In one detail I have not yet discussed how on ACL the ACL interacts with a sticky bit on a directory.

A common directory (no ACL around to confuse the problem), permission can be set, for example, 1777 (for example, found on / tmp).

  drwxrwxrwt 16 root sys 4819 May 4 12:09 / tmp  

The sticky bit is represented by 'T' in the last position of permissions. This means that the user can only delete the file from the file if the user can write in the file. It makes sense; If the user can write the file, then the contents of the file can be deleted.

My question is:

  • Assume that the normal (non-ACL) permissions
  • Next assume that a Brave user, 'Thurbler' , File from 600 to 600 (sets non-ACL permissions for user 'throbler', group 'worried') from file / tmp / secret . Suppose that the second user is referred to as 'Blaze' by 'TMBLR' grant 'RW' access / tmp / secret, an 'acl', which is specifically 'blaze'.
  • The answer must be 'yes'; If ACL is ignored, then the answer will be 'no', assuming that ACLs are capable on the related file system, are all Unix editions behaviour uniforms?

Assume that ACLs are enabled on the respective file system, whether uniform uniforms in all UNIX versions is?

As the ACL is not implemented equally in Unix versions, I hope the behavior may be different from the Unix variant, but this is not for all Unix ACL The IMHO does not guarantee uniform behavior in all Unix versions, unless the same (standard) method is implemented.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -