i got a problem these days, i have a server, when i make a subfolder inside of a specific folder "the name of the folder is: "AFORWARD", for example i make "GG" inside the "AFORWARD", any folder i make inside the "AFORWARD" they become inaccessible, meaning that i can't get into them, and when i tried to see the permissions set for the subdirectory, looks like there is no execute bit included by default, but when i do this on other directories, i get the execute bit permission included by default on the folder, so,
i did :
ls -l -d ./AFORWARD
output:
drwxrwxr-x+ 9 admin admin 4096 Oct 16 01:19 ./AFORWARD
ls -l -d ./AFORWARD/GG
output:
drw-rwxr--+ 2 admin admin 4096 Oct 16 01:31 ./AFORWARD/GG
i think everything seems okay with the folder, but maybe i don't know, or something messed up, i know it can be fixed by using a simple chmod command and give the folder needed permissions, but the problem is, i need the permissions set by default once the folder is created, the issue is with the java, our server program runs on java, java creates files, folders, reads them, and do many other things with them, it can't access the created folders, which they don't have execute bit permission included by default. once it can't, it fails, and the server crashes.