Timeline for How to Allow User Access to a Specific File in a Restricted Directory?
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 15, 2017 at 22:37 | comment | added | Gilles 'SO- stop being evil' | @BrandonBradley Note that as soon as the user has the x permission on the directory, they can access all the files in the directory, subject to the files' permissions. The only consequence having x permission on the directory without r is that the user can't list files, they have to guess the file names. In a directory containing a pidfile, there's typically no file name to hide, so this is probably not at all useful for you. As for ACL, they could allow a specific user to access files, but they have no advantage in letting a user access a specific file. | |
| May 15, 2017 at 20:53 | comment | added | Brandon Bradley | I would (for other reasons) like to enable ACLs, but can't figure out how to do so. For more information: unix.stackexchange.com/q/360602/155555 | |
| May 15, 2017 at 20:51 | vote | accept | Brandon Bradley | ||
| May 15, 2017 at 10:36 | history | edited | Thomas Nyman | CC BY-SA 3.0 | Add note on granting access to specific user with Posix ACLs |
| May 15, 2017 at 10:09 | history | answered | Thomas Nyman | CC BY-SA 3.0 |