Topic: Created Galleries Owner problem

Hi all,

This is my first post so to begin with, Good job ! smile

I am having svmanager with simple gallery pro being hosted on a linux server with strict security measures ! Meaning that i run chrooted on a vhost environment with no permissions whatsoever on the user running apache ! I have ftp and ssh access .
The problem is that when i create new galleries through svmanager the created file structure is being owned by the "web" user resulting to my inability to  handle them further ! The same applies to any uploaded images !
A (half) workaround is to upload and import-rebuild the galleries but i think it would be simpler if svmanager could handle it's "jobs" through ftp access  eliminating this hassle !

I have seen that this is not an new problem " http://www.simpleviewer.net/forum/viewtopic.php?id=5013 "

Are there any thoughts or plans on this ?

Regards !

Re: Created Galleries Owner problem

Yes, ftp might be a way around problems like this one but we have a number of concerns about going that way – mainly ease of installation and lack of support for the php ftp extension or even for ftp wrappers on some (many?) shared servers.

Have you seen the options to change permissions in svmanager/includes/constants.php? They may not be the whole answer but might help.

jack

Jack Hardie
SimpleViewer Support Team.

Re: Created Galleries Owner problem

Yes, i have seen the options included in constants.php but these only deal with the problem in a way that could result in other unwanted side effects ! I am certain that you can imagine which these are ...
The point is that an ftp facility (i can not think of any alternative) is apparently the only appropriate way to handle situations like the one described above (which i believe would be many).
Support for the php ftp extension surely would be an issue but we are talking about a commercial product here (no?) so a solution should be prioritized .
 
I am looking forward to a resolution on this matter  .

Regards !

Re: Created Galleries Owner problem

Please excuse my insistence.

I couldn't help doing a little digging and it appears that the code is already out there ... With a  bit of creative adaptation maybe we could see a solution rising smile)))

http://www.php.net/manual/en/ref.ftp.php
http://php.net/manual/en/wrappers.ftp.php

Regards !