Page 1 of 1

permission problems when creating language files

Posted: 30 Jul 2008, 09:13
by MacDo
Hello,

The files in "portfolio/imagevue/config/lang/" which are created by the admin panel by clicking on "Create new language" seems to have wrong permissions : they have permissions -rw-r--r-- although I think they should have -rw-rw-rw-, just like the other files in that folder...

Of course, the owner is ftp/ftp, but I cannot modify the permissions with my ftp client (filezilla or other).

Is that a bug or did I failed ?

Thanks for your help !

MacDo

Posted: 30 Jul 2008, 12:56
by mjau-mjau
As long as it works, I don't think it is wrong. This is how servers work because of security issues. The admin scripts are considered a USER from the servers point of view. Files created by the admin scripts can be moderated by the admin scripts, but in many cases, you will not be able to delete these files by FTP.

The permissions a file is given when created by admin scripts is usually fine, because it is given a permissions that makes it readable, and editable FROM the admin scripts.

You will notice the same effect when creating folders from the server also. The admin scripts will be able to edit and write to the folder, but you may not be able to edit the folder from FTP(perhaps only delete it).