Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to add acl's to my linux permissions. I got the drive re-mounted with the acl's, and everything is working fine there, but well, here's the problem:
i have a directory:
/something/mydir
and i initially set the chmod of /something/mydir to 0700
then, i allow two of my users rwx access to that directory (mydir) using acl's:
that works fine, bob and tom are able to add new files and folders, but the problem is, all files (not directories) have rwx attributes, but i want files to only have rw- attributes and directories to have rwx.
I've been doing some more research, or rather, learning on this, and I understand it much better now. I think I answered my own question. But, I do have another one...
with setfacl, If if have a user Joe. Joe creates a directory, I would like that directory to be drwxrwx--x. And now joe creates a file in that directory and the permissions are -rw-rw-r--. I cant find a way to do this with masks in acl's or anything.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.