|
3 answers
Andrei Arshinov, not only in Linux, but in all Unix-like operating systems
chmod ( string $filename , int $mode ) filename - путь к файлу mode - восьмеричное значение
Ie, it should be like this:
chmod("/dir/file", 0666);
|
Access rights are used only in Linux, the chmod('путь к файлу', 666);
|
If on Windows - you work through FTP - then use Total Commander - Files tab-> Change Attributes
|