Page 1 of 1

Page permision after uplaod

Posted: Sun Jul 09, 2023 10:39 am
by amir2314
Hi dear pablo .
.
What is the normal permision for webpages after upload ?
.
I uploaded my site in www folder and i relised that all pages and folders in 664 permision ! Its it right or i have to change page permision to 755 ?

Re: Page permision after uplaod

Posted: Sun Jul 09, 2023 11:20 am
by wwonderfull
There are some good informations here
https://serverfault.com/questions/22871 ... web-server

664 the permissions are stated below:

The file's owner has read and write access (6).
Read and write permissions are granted to the group connected with the file (6).
Other users are permitted to read (4)

as for 755 the permissions are stated below:

The owner of the directory has read, write, and execute permissions (7)
The group associated with the directory has read and execute permissions (5)
Other users have read and execute permissions (5)

On my server the permissions is 755, in that case some of the most common file permission numbers include 755 which means that the owner can do anything while others can read and execute but may not alter the file. This is ideal for public files.

so before changing permission setting try to know more about what access would you like to give to certain files and folders.

Re: Page permision after uplaod

Posted: Sun Jul 09, 2023 12:07 pm
by amir2314
wwonderfull wrote: Sun Jul 09, 2023 11:20 am There are some good informations here
https://serverfault.com/questions/22871 ... web-server

But yes from my knowing, the permission code "664" is a commonly used default permission setting for files.

The file's owner has read and write access (6).
Read and write permissions are granted to the group connected with the file (6).
Other users are permitted to read (4)

as for 755 the permissions are stated below:

The owner of the directory has read, write, and execute permissions (7)
The group associated with the directory has read and execute permissions (5)
Other users have read and execute permissions (5)

so before changing permission setting try to know more about what access would you like to give to certain files and folders.
Witch one of them is normal to read google for seo ?

Re: Page permision after uplaod

Posted: Sun Jul 09, 2023 12:45 pm
by wwonderfull
On web servers, settings known as "664" and "755" for file permissions are frequently used. In contrast to others, "664" only permits the file owner and group to read and modify the file. "755" gives the owner full access and the group and other users read and execute permissions. By altering user experience, server security, and accessibility, file permissions have an indirect impact on SEO. They do not, however, immediately affect Google's indexing of information or search engine rankings. A positive user experience is aided by proper permissions, which guarantee server accessibility and guard against unwanted access.

Re: Page permision after uplaod

Posted: Sun Jul 09, 2023 3:58 pm
by Pablo
The software does it change the permissions of files and folders. So,all filed will have the default permissions, as configured on the server.