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 3274662
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T19:03:46+00:00 2026-05-17T19:03:46+00:00

Out of curiosity. I’ve been thinking about the different access models often seen in

  • 0

Out of curiosity. I’ve been thinking about the different access models often seen in *nix and the one seen in windows nt based systems.

Is there any command or api to check if a file is readable, executable etc for a user different than the logged in user. For instance something like:
http://www.php.net/manual/en/function.is-executable.php
or
Checking File Permissions in Linux with Python
But for any user that the executing user has permission to see.

Is there any reason why such a function should not be found?

  • 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-17T19:03:46+00:00Added an answer on May 17, 2026 at 7:03 pm

    In *nix whether a user’s permissions on a file can be determined by 2 attributes: the world and group permissions on a file. If the world permissions are set for r,w, or x than of course any user will have those rights on that file. Similarly if the user is a member of the group that is specified as the group owner of the file, and those permissions are set on the group level then again the user will have that right on the file. Of course you need to be sure the user the appropriate rights on all directories in the absolute path of the file. And, of course, root can access any file regardless of the permissions or ownerships.

    So for any particular file it is relatively easy to determine whether a specific user has permissions on that file by looking at the file permissions and the group memberships of the user.

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

Sidebar

Related Questions

Out of curiosity about reverse engineering, I am thinking of writing a simple program
Out of curiosity/excitement I have been reading whatever information I can find about ARC
Out of curiosity I've been playing with jQuery to determine the browser's screen size,
Out of curiosity, I've been reading up a bit on the field of Machine
Just out of curiosity, how does iostream access the input-output system. (I have a
Out of curiosity, is it possible to create, instantiate, or otherwise access additional output
Out of curiosity I'm wondering if I can do something about this because I'm
Out of curiosity, I was wondering what were some theoretical results about parsing C++.
Out of curiosity, I'm wondering about the best (easiest, fastest, shortest, etc; make your
Out of curiosity, I was looking for an article/documentation on how windows hibernate option

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.