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.
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.