I have a Linux server with appache as a web server. In my PHP script, I create directories with 0777 mode. the code is pretty simple:
mkdir($path,0777)
when I run this script and go to the file manager of my server, there is a folder, but the permission assigned to this folder is 0755. I canβt understand why this is happening !! when the folder is created, there is apache in the user column, but the resolution is 0755.
source share