Home Private Messages Search
CPG Dragonfly™ CMS stopsoftwarepatents.eu petition banner
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ Coppermine :: Archives ⇒ A problem with ownership :: Archived


A problem with ownership :: Archived
Please post bugs in the Projects Module.
Post anything and everything else about Coppermine in this forum.

Go to page 1, 2  Next
Post new topic    Revive this topic    Printer Friendly Page     Forum Index ⇒  Add-Ons & BlocksCoppermine :: Archives

Topic Archived View previous topic :: View next topic  
Author Message
masterbeta
Translator
Translator

Offline Offline
Joined: May 12, 2004
Posts: 1049
Location: Reading, PA
PostPosted: Sat Sep 04, 2004 12:36 am
Post subject: FTP Photos Problem

ok, either i'm too tired to think, but i can't seem to upload photos in coppermine's user's galleries...

when a member uploads their private photos to their gallery (i had left this to yes instead of no - need admin approval) and so people uploaded some photo's that needed cropping : )

so i ftp'd them down and cropped them and when i tried re-uploading them, trying to replace the photo, it wouldn't work...says permission denied in ftp and in my cpanel it won't overwrite...even when chmod'd to 777

what's up with that? : )

i just want to reinsert these "edited" photos...

thanks

_________________
[]D [] []\/[] []D
Check out my bear site - www.insidebear.com

masterbeta's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
RHL7 2.6.9-67.0.15ELsmp/A1.3.41(Unix)/MySQL4.1.22-standard/PHP5.2.5-ZO/Dragonfly 9.1.2.1
Back to top
View user's profile Visit poster's website
Śyama_Dāsa
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 2048
Location: Dragonfly CMS Tribe
PostPosted: Sat Sep 04, 2004 1:18 am
Post subject: Re: FTP Photos Problem

you server is misconfigured and php(coppermine) is creating the photos as a different user (prob nobody) therefore you can't access them via ftp.

So if you don't have shell access (otherwise chown the scripts and pictures to your apache username) you must delete the photos from within coppermine then reupload, backup the db first so you can reinsert the info to the pictures tables about the pics...

_________________
AKA Akamu / Read these and your life will be successful | Find a Repair
--
Mods and Professional Support via YIM

Śyama_Dāsa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
win32 / Apache 1.3.33 / MySQL 4.1.16/PHP 4.4/CPG-CVS ( browsers: Mozilla 1.7.x / IE6 / Opera 8.0)
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
masterbeta
Translator
Translator

Offline Offline
Joined: May 12, 2004
Posts: 1049
Location: Reading, PA
PostPosted: Wed Sep 08, 2004 4:18 pm
Post subject: Re: FTP Photos Problem

you mean this has to be done every time?

is this a bug in coppermine?

can't coppermine decide to use the current user to create albums?

thanks

_________________
[]D [] []\/[] []D
Check out my bear site - www.insidebear.com

masterbeta's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
RHL7 2.6.9-67.0.15ELsmp/A1.3.41(Unix)/MySQL4.1.22-standard/PHP5.2.5-ZO/Dragonfly 9.1.2.1
Back to top
View user's profile Visit poster's website
Śyama_Dāsa
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 2048
Location: Dragonfly CMS Tribe
PostPosted: Wed Sep 08, 2004 7:43 pm
Post subject: Re: FTP Photos Problem

Quote::
your server is misconfigured
When i said user i mean Apache user not cpgnuke user

_________________
AKA Akamu / Read these and your life will be successful | Find a Repair
--
Mods and Professional Support via YIM

Śyama_Dāsa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
win32 / Apache 1.3.33 / MySQL 4.1.16/PHP 4.4/CPG-CVS ( browsers: Mozilla 1.7.x / IE6 / Opera 8.0)
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
masterbeta
Translator
Translator

Offline Offline
Joined: May 12, 2004
Posts: 1049
Location: Reading, PA
PostPosted: Wed Sep 08, 2004 8:24 pm
Post subject: Re: FTP Photos Problem

yeah i understood you the first time...

i thought that coppermine created its own "nobody" user in apache versus using the current apache user to create directories...

figured this is a bug

i'll contact the server folk

_________________
[]D [] []\/[] []D
Check out my bear site - www.insidebear.com

masterbeta's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
RHL7 2.6.9-67.0.15ELsmp/A1.3.41(Unix)/MySQL4.1.22-standard/PHP5.2.5-ZO/Dragonfly 9.1.2.1
Back to top
View user's profile Visit poster's website
masterbeta
Translator
Translator

Offline Offline
Joined: May 12, 2004
Posts: 1049
Location: Reading, PA
PostPosted: Thu Sep 09, 2004 2:54 pm
Post subject: Re: FTP Photos Problem

akamu here is my server reply:
Quote::
The person who created the script looks like is unaware on how php works in an apache webserver. It has to create the uploaded images in the user nobody. I have changed the permissions now so you can access them via ftp as well.

Your shell access is also activated so you can login and make any changes you want.

Let us know if you need further assistance.

Regards,
Masood

_________________
[]D [] []\/[] []D
Check out my bear site - www.insidebear.com

masterbeta's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
RHL7 2.6.9-67.0.15ELsmp/A1.3.41(Unix)/MySQL4.1.22-standard/PHP5.2.5-ZO/Dragonfly 9.1.2.1
Back to top
View user's profile Visit poster's website
masterbeta
Translator
Translator

Offline Offline
Joined: May 12, 2004
Posts: 1049
Location: Reading, PA
PostPosted: Thu Sep 09, 2004 4:19 pm
Post subject: Re: FTP Photos Problem

i have to agree with my server folk that coppermine has a bug when creating directories...

_________________
[]D [] []\/[] []D
Check out my bear site - www.insidebear.com

masterbeta's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
RHL7 2.6.9-67.0.15ELsmp/A1.3.41(Unix)/MySQL4.1.22-standard/PHP5.2.5-ZO/Dragonfly 9.1.2.1
Back to top
View user's profile Visit poster's website
alexm
500+ Posts Club
500+ Posts Club

Offline Offline
Joined: Apr 20, 2004
Posts: 574
Location: Lafayette, LA USA
PostPosted: Thu Sep 09, 2004 7:07 pm
Post subject: Re: FTP Photos Problem

masterbeta wrote:
akamu here is my server reply:
Quote::
The person who created the script looks like is unaware on how php works in an apache webserver. It has to create the uploaded images in the user nobody. I have changed the permissions now so you can access them via ftp as well.

Your shell access is also activated so you can login and make any changes you want.

Let us know if you need further assistance.

Regards,
Masood

That's a new one. If your webserver is allowed to create files using a uid other than that of the webserver, you've got bigger problems than coppermine file uploads. Smile

alex

_________________
The master will be pleased...

alexm's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Shared Host / Linux / Apache 1.3.23 / Mysql 3.23.58 / PHP 4.3.3 / CPG 8.2b & 8.3CVS
Back to top
View user's profile Visit poster's website Photo Gallery
masterbeta
Translator
Translator

Offline Offline
Joined: May 12, 2004
Posts: 1049
Location: Reading, PA
PostPosted: Thu Sep 09, 2004 7:14 pm
Post subject: Re: FTP Photos Problem

how so?

_________________
[]D [] []\/[] []D
Check out my bear site - www.insidebear.com

masterbeta's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
RHL7 2.6.9-67.0.15ELsmp/A1.3.41(Unix)/MySQL4.1.22-standard/PHP5.2.5-ZO/Dragonfly 9.1.2.1
Back to top
View user's profile Visit poster's website
NEMINI
Diamond Supporter
Diamond Supporter

Offline Offline
Joined: Apr 22, 2004
Posts: 4551

PostPosted: Thu Sep 09, 2004 7:16 pm
Post subject: Re: FTP Photos Problem

masterbeta wrote:
i thought that coppermine created its own "nobody" user in apache ...

Now lets think about that for a minute. Wouldn't that be pretty insecure if any program could just create a nobody user on your server?

_________________
NEMINI.org, NEMINI.us, NEMINI.info, NYMINI.org

NEMINI's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
1.3.34 (Unix)/4.1.18-standard/4.4.2 /9.1.0.8 CVS
Back to top
View user's profile Visit poster's website Photo Gallery
masterbeta
Translator
Translator

Offline Offline
Joined: May 12, 2004
Posts: 1049
Location: Reading, PA
PostPosted: Thu Sep 09, 2004 7:25 pm
Post subject: Re: FTP Photos Problem

no, the problem is that coppermine didn't create a user....it just created directories with photos using the db configuration (access priviledge) but it didn't assign any user to those directories...

in othe rwords it didn't assign access to anyone

_________________
[]D [] []\/[] []D
Check out my bear site - www.insidebear.com

masterbeta's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
RHL7 2.6.9-67.0.15ELsmp/A1.3.41(Unix)/MySQL4.1.22-standard/PHP5.2.5-ZO/Dragonfly 9.1.2.1
Back to top
View user's profile Visit poster's website
Śyama_Dāsa
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 2048
Location: Dragonfly CMS Tribe
PostPosted: Thu Sep 09, 2004 8:23 pm
Post subject: Re: FTP Photos Problem

It is because the script itself runs as nobody

_________________
AKA Akamu / Read these and your life will be successful | Find a Repair
--
Mods and Professional Support via YIM

Śyama_Dāsa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
win32 / Apache 1.3.33 / MySQL 4.1.16/PHP 4.4/CPG-CVS ( browsers: Mozilla 1.7.x / IE6 / Opera 8.0)
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
masterbeta
Translator
Translator

Offline Offline
Joined: May 12, 2004
Posts: 1049
Location: Reading, PA
PostPosted: Fri Sep 10, 2004 1:50 pm
Post subject: Re: FTP Photos Problem

can that be changed to run as the current user? like the other scripts do?

_________________
[]D [] []\/[] []D
Check out my bear site - www.insidebear.com

masterbeta's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
RHL7 2.6.9-67.0.15ELsmp/A1.3.41(Unix)/MySQL4.1.22-standard/PHP5.2.5-ZO/Dragonfly 9.1.2.1
Back to top
View user's profile Visit poster's website
outerverse
Newbie
Newbie

Offline Offline
Joined: Nov 09, 2004
Posts: 45

PostPosted: Tue Nov 09, 2004 9:08 pm
Post subject: A problem with ownership

I don't know why but any file uploaded (or folder created) by the Coppermine has a group/owner of 99. That causes me (the site owner) not to be able to take ANY action using cPanel or FTP. I need to be able to do this because I have deleted pictures that aren't being removed from the server, just the database.

Also a note should be made that this is a shared host and I do not have root or shell access.


outerverse please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile
masterbeta
Translator
Translator

Offline Offline
Joined: May 12, 2004
Posts: 1049
Location: Reading, PA
PostPosted: Sun Nov 21, 2004 3:24 pm
Post subject: Re: A problem with ownership

yes, the problem lies with coppermine, has this issue ever been resolved?

coppermine creates the directories and files with user "nobody" that no one can access unless you are the server admin.

not very nice for shared hosts...

everytime i need to edit a photo from someone's upload i have to have my server folk reset the permissions so i can overwrite/delete the file off the server (usually i can download then edit the photo, but in order to re-upload i need the server perms reset in those coppermine directories)

_________________
[]D [] []\/[] []D
Check out my bear site - www.insidebear.com

masterbeta's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
RHL7 2.6.9-67.0.15ELsmp/A1.3.41(Unix)/MySQL4.1.22-standard/PHP5.2.5-ZO/Dragonfly 9.1.2.1
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  Add-Ons & BlocksCoppermine :: Archives
Page 1 of 2
All times are GMT
Go to page 1, 2  Next

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

Детальніше...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy