Search…

X3 Photo Gallery Support Forums

Search…
 
MacDo
Experienced
Topic Author
Posts: 90
Joined: 09 Jun 2008, 03:28

permission problems when creating language files

30 Jul 2008, 09:13

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
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

30 Jul 2008, 12:56

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).