How can I use setfacl to give no access to "other" users?

Louis Thibault

The command setfacl -dm g::rwx mydir sets permissions for groups to read-write-execute. I'd like to run a similar command such that other users (i.e. not the owner) have no access whatsoever, but setfacl -dm o:: mydir complains that option -m is incomplete. What is the proper way of expressing this?

Random832

An empty permission set can be represented with -:

setfacl -dm o::- mydir

This doesn't appear to be documented, so I don't know how portable it is. However, the documentation does mention that they can be specified as an octal digit (4 r, 2 w, 1 x, as in chmod), so:

setfacl -dm o::0 mydir

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How can I give two users access to a folder?

From Dev

How can I restrict program access to other users?

From Dev

How do I give access to other users if they don't have SSH keys?

From Dev

How can I give write-access of a folder to all users in linux?

From Dev

How can I give users read only mount access to ext3 image files?

From Dev

how to give access to other user can access my account?

From Dev

How do I give multiple users access to a Windows NTFS partition?

From Dev

I want to give access to users of their own dropbox from my java web app. How can I do that?

From Dev

How to I use Linux Groups to restrict read, write, execute access by other users to a directory?

From Dev

How can I restrict access of ALL OTHER (standard) users to a specific user folder in Windows 10 Pro?

From Dev

how can i do access to users?

From Dev

How to use takeown and icacls to deny access to other users?

From Dev

How to give users temporary access to specific links?

From Dev

In firebase how can i give read access to multiple child values

From Dev

How can I give an imported library access to current global variables?

From Dev

On a Mac Sierra, how can I give an ssh session access to the display?

From Dev

Give a specific user permissions to a device without giving access to other users

From Dev

How can I redirect users, who or not logged in to login page, in C# MVC 4.5 if they try to access other site pages via URL

From Dev

How can I copy drawings to other users in real time?

From Dev

How can I set default applications in Unity Launcher for other users?

From Dev

How can I copy drawings to other users in real time?

From Dev

How can I set default applications in Unity Launcher for other users?

From Dev

How can I get other users' profiles details in meteor

From Dev

How do I give different users access to different rows without creating separate views in BigQuery?

From Dev

How do I give access to a Former users Outlook Calendar to another User

From Dev

I can access my apache website via localhost, but other users are being denied access

From Dev

how do I give users capabilities

From Dev

Swift - How can I use a dictionary to give text for tableView cells?

From Dev

How can I use other function variables?

Related Related

  1. 1

    How can I give two users access to a folder?

  2. 2

    How can I restrict program access to other users?

  3. 3

    How do I give access to other users if they don't have SSH keys?

  4. 4

    How can I give write-access of a folder to all users in linux?

  5. 5

    How can I give users read only mount access to ext3 image files?

  6. 6

    how to give access to other user can access my account?

  7. 7

    How do I give multiple users access to a Windows NTFS partition?

  8. 8

    I want to give access to users of their own dropbox from my java web app. How can I do that?

  9. 9

    How to I use Linux Groups to restrict read, write, execute access by other users to a directory?

  10. 10

    How can I restrict access of ALL OTHER (standard) users to a specific user folder in Windows 10 Pro?

  11. 11

    how can i do access to users?

  12. 12

    How to use takeown and icacls to deny access to other users?

  13. 13

    How to give users temporary access to specific links?

  14. 14

    In firebase how can i give read access to multiple child values

  15. 15

    How can I give an imported library access to current global variables?

  16. 16

    On a Mac Sierra, how can I give an ssh session access to the display?

  17. 17

    Give a specific user permissions to a device without giving access to other users

  18. 18

    How can I redirect users, who or not logged in to login page, in C# MVC 4.5 if they try to access other site pages via URL

  19. 19

    How can I copy drawings to other users in real time?

  20. 20

    How can I set default applications in Unity Launcher for other users?

  21. 21

    How can I copy drawings to other users in real time?

  22. 22

    How can I set default applications in Unity Launcher for other users?

  23. 23

    How can I get other users' profiles details in meteor

  24. 24

    How do I give different users access to different rows without creating separate views in BigQuery?

  25. 25

    How do I give access to a Former users Outlook Calendar to another User

  26. 26

    I can access my apache website via localhost, but other users are being denied access

  27. 27

    how do I give users capabilities

  28. 28

    Swift - How can I use a dictionary to give text for tableView cells?

  29. 29

    How can I use other function variables?

HotTag

Archive