-
1. Re: Wildfly Directory listing
mayerw01 Jan 9, 2020 4:27 AM (in response to hari2020)One option ist to just remove the read permission from the ../ directory like
chmod o-r ../
-
2. Re: Wildfly Directory listing
hari2020 Jan 9, 2020 11:24 AM (in response to hari2020)If we remove read permission to main directory , how file in its inner directories are accessed?
-
3. Re: Wildfly Directory listing
hari2020 Jan 9, 2020 8:02 PM (in response to hari2020)can anyone please suggest the solution?
-
4. Re: Wildfly Directory listing
mayerw01 Jan 10, 2020 5:03 AM (in response to hari2020)I am not sure understanding your question correctly.
But you do not need to have access to the parent directory for accessing files in the child folder. -
5. Re: Wildfly Directory listing
hari2020 Jan 13, 2020 12:20 PM (in response to hari2020)My file structure looks like Main/sub1/file
Main/sub2/file
Main/sub3/file
Mian folder is owned by that same user as application war file. So to access the files under Main/sub folders user should have read permission to Main folder.
removing permissions to others do not work. Please suggest if any other option.
-
6. Re: Wildfly Directory listing
hari2020 Jan 14, 2020 12:52 PM (in response to mayerw01)My file structure looks like Main/sub1/file
Main/sub2/file
Main/sub3/file
Mian folder is owned by that same user as application war file. So to access the files under Main/sub folders user should have read permission to Main folder.
removing permissions to others do not work. Please suggest if any other option.