You are reading the Drake CMS Official Forums archive, available for historical purposes only.
Drake CMS has been rebranded into Lanius CMS, visit the new Lanius CMS Official Forums if you need support about Lanius CMS or Drake CMS -> Lanius CMS migration.
Help & Support Must chmod all pics uploaded to gallery manually
Author
Message:
joseph
Must chmod all pics uploaded to gallery manually
08 November 2007 22:10
Anonymous
After uploading a picture to the gallery only the thumbnail
shows but not the original size, because the picture ist set only to chmod 600. I need to chmod 755 each
picture in filemanager.
I have no idea why. Gallery folder and subfolders are set to chmod 775. Safe
mode is off.
Any suggestions?
legolas558
Re: Must chmod all pics uploaded to gallery manually
08 November 2007 22:53
Anonymous
The file should inherit the parent folder's permissions.
Are you sure that all directories up to the gallery directory
have the correct mode?
joseph
Re: Must chmod all pics uploaded to gallery manually
09 November 2007 05:55
Anonymous
all folders and subfolders set to 755 and have been tested
with 775
after uploading new picture files in
gallery/thumbs/ have 644 files in gallery/subfolder/
have 600
trex1512
Re: Must chmod all pics uploaded to gallery manually
09 November 2007 07:56
Anonymous
Hello and Welcome
I have performed an install with
Veloce my dirs are as you have described. Test Site Here
Quote:
after uploading
new picture files in gallery/thumbs/ have 644 files
in gallery/subfolder/ have 600
The
gallery component displays images as it should, when I upload new
images they also take on the permissions as above and are
displayed correctly.
Have you tried creating a new
Category and uploading images to that?
How was your
Drake CMS installed. Have you deleted any of the Gallery
directories during your testing?, and what is the output of your
Version Info in the backend.
This is another site that was
upload via FTP, it has issues with the creation of thumbnails due
to the way the servers Group and Owners system is setup. Same
host as the one above.
Thanks, hope we can solve
your issue.
legolas558
Re: Must chmod all pics uploaded to gallery manually
09 November 2007 11:59
Anonymous
I think it's normal that the webserver's user impersonation
creates files and directories with those permissions.
If files without 755 permissions cannot be publicly displayed
by your server then you should check if any file created by a PHP
process can be shown by the webserver.
This is not a
Drake CMS issue - although we would be glad to provide automatic
workarounds in the code if feasible (we always aim to the
broadest possible hosts compatibility)
joseph
Re: Must chmod all pics uploaded to gallery manually
09 November 2007 13:11
Anonymous
I made a new installation and saw the message that "PHP setting magic_quotes_gpc is set On" I
didn`t realize this the time before.
Maybe this can
probably be the reason.
Thank you for your help,
anyway.
trex1512
Re: Must chmod all pics uploaded to gallery manually
09 November 2007 13:26
Anonymous
No worries...but...just out of interest
Has the
problem resolved itself?
Thanks
legolas558
Re: Must chmod all pics uploaded to gallery manually
09 November 2007 14:14
Anonymous
Quote:
I made a new
installation and saw the message that "PHP setting
magic_quotes_gpc is set On" I didn`t realize this the
time before.
Maybe this can probably be the
reason.
No, it can't. Drake CMS will not
continue installation if it cannot come up with a consistent
installation.
Quote:
Thank you for your help, anyway.
Was the problem solved?
joseph
Re: Must chmod all pics uploaded to gallery manually
09 November 2007 17:21
Anonymous
Quote:
Was the problem
solved?
No it is not solved.
I
thought, that it had to do with this "magic_quotes_gpc"-thing and for this reason there would be no chance to make it run.
I have
installed it without making any changes and everything seems
to work without errors.
So far only this one
problem. Actual: All files that are uploaded with the
filemanager have chmod 600
Quote:
we always aim to the
broadest possible hosts compatibility
I have
Pivotblog, CMSimple and Runcms working without problems. Most CMS I tried with Mysql work proper but I like to
find a system with flatfiles. So I hope you will find a
solution.
trex1512
Re: Must chmod all pics uploaded to gallery manually
09 November 2007 22:59
Anonymous
Hello again
Quote:
No it is not solved.
I thought,
that it had to do with this "magic_quotes_gpc"-thing and for this reason there would be no chance to make it run.
I have
installed it without making any changes and everything seems
to work without errors.
So far only this one
problem. Actual: All files that are uploaded with the
filemanager have chmod 600
If everything is working withgout error what is not
solved.
What are you using the Filemanager to upload?
Thanks
legolas558
Re: Must chmod all pics uploaded to gallery manually
10 November 2007 08:07
Anonymous
Quote:
Quote:
Was the problem
solved?
No it is not solved.
I
thought, that it had to do with this "magic_quotes_gpc"-thing and for this reason there would be no chance to make it run.
I have
installed it without making any changes and everything seems
to work without errors.
So far only this one
problem. Actual: All files that are uploaded with the
filemanager have chmod 600
Quote:
we always aim to the
broadest possible hosts compatibility
I have
Pivotblog, CMSimple and Runcms working without problems. Most CMS I tried with Mysql work proper but I like to
find a system with flatfiles. So I hope you will find a
solution.
I am not sure that other
CMSes do create directories. Can you please check if they do? I
guess no.
The problem in our case is that Drake CMS
gallery component creates a directory for your gallery and puts
files in it.
We can of course try to automatically fix
this issue via a PHP chmod - are you going to assist in testing?
joseph
Re: Must chmod all pics uploaded to gallery manually
10 November 2007 08:37
Anonymous
Quote:
I am not sure that
other CMSes do create directories. Can you please check if
they do? I guess no.
I surely know that 4images
creates directories and I had this working, too.
Quote:
... are you going to
assist in testing?
Yes, as far as I have the
knowledge, ... If it is more comfortable for you, I can give
you access to the administration of DrakeCMS on my
server.
I will be back later.
legolas558
Re: Must chmod all pics uploaded to gallery manually
10 November 2007 09:28
Anonymous
Well if somebody else can do it (via PHP), then Drake CMS will
You
can submit the details of a Drake CMS admin user (it should be
enough) to me via email (address found in this page)
But please note that we offer no warranty - so don't give
us access to important data!
I will only perform the
testing (about directories/files creation) and then tell you when
I am finished.
Thanks
joseph
Re: Must chmod all pics uploaded to gallery manually
10 November 2007 09:39
Anonymous
Quote:
don't give us access to
important data
Ok. E-Mail is sent.
legolas558
Re: Must chmod all pics uploaded to gallery manually
10 November 2007 10:53
Anonymous
Thank you very much - with your help Drake CMS has been fixed for
this all hosts of this kind (which give fewer file permissions to
uploaded files)