Re: [PHP] File Permissions?

[email protected] (Tedd Sperling)
Newsgroups php.general
Message-ID <[email protected]>
> On Aug 16, 2017, at 12:10 PM, Adam Jon Richardson <[email protected]> wrote:
> 
> 755 is typical for directories, but 644 for files.
> 
> -snip-
> 
> Adam

Adam:

If you set a file to 755, then how does bad guy do bad things with it?

Certainly, with 755 the owner can do anything he wants (read, write, execute), but the “group” and “everyone else” can only read and execute (5) the file — there is no “write” to the file. Without a “write”, then how can a bad guy change/upload a file?

There is something here I am not understanding. Please explain.

Cheers,

tedd

_______________
tedd sperling
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.