Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 205363
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T17:32:59+00:00 2026-05-11T17:32:59+00:00

POSIX.1e was going to define ACL ( Access Control List ) mechanisms for POSIX

  • 0

POSIX.1e was going to define ACL (Access Control List) mechanisms for POSIX (amongst other security-related issues), but the proposals were never converted to a formal standard. Nevertheless, ACLs (not necessarily POSIX.1e ACLs) are supported at least optionally in all the main variants of Unix (Linux, BSD, MacOS X(ACL), HP-UX, AIX (p107ff), Solaris). One detail I’ve not yet spotted being discussed is how ACLs on files interact with the sticky bit on a directory.

With a normal directory (no ACLs around to confuse the issue), the permissions can be set to, for example, 1777 (found on /tmp, for example).

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

The sticky bit is indicated by the ‘t’ in the last position of the permissions. It means that a user can only delete a file from the directory if the user can write to the file. This makes sense; if the user can write to the file, the contents of the file can be destroyed.

My question is:

  • Suppose the general (non-ACL) permissions of the /tmp directory are as illustrated above.
  • Further suppose that a paranoid user, ‘trembler’, sets the non-ACL permissions on a file /tmp/secret to 600 (user ‘trembler’, group ‘worried’).
  • Suppose that ‘trembler’ grants ‘rw’ access on /tmp/secret to another user, ‘blase’ via an ACL that cites ‘blase’ specifically.
  • Can ‘blase’ delete the file /tmp/secret

If the ACL is taken into account, the answer should be ‘yes’; if the ACL is ignored, the answer would be ‘no’. Assuming that ACLs are enabled on the relevant file system, is the behaviour uniform across all Unix variants?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T17:32:59+00:00Added an answer on May 11, 2026 at 5:32 pm

    Assuming that ACLs are enabled on the relevant file system, is the behaviour uniform across all Unix variants?

    As ACLs are not implemented uniformly across Unix variants I would expect the behaviour may differ across Unix variants, but it does not have to. Unless all Unices implement the same (standard) way of ACL, there is IMHO no way to guarantee a uniform behaviour across all Unix variants.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does Linux/Unix/Posix provide an API to user-space applications to access a monotonically increasing clock,
I'm learning about POSIX threads right now, but I guess this is just a
What are the POSIX cancellation points? I'm looking for a definitive list of POSIX
What if you want to apply a function other than format to a list
What exactly is POSIX? I have read the Wikipedia article but I still don't
POSIX environments provide at least two ways of accessing files. There's the standard system
On POSIX systems rename(2) provides for an atomic rename operation, including overwriting of the
Using POSIX threads & C++, I have an Insert operation which can only be
Is there a POSIX function that will give me the size of a directory
When using a POSIX shell, the following touch {quick,man,strong}ly expands to touch quickly manly

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.