Need Admin with Root to CHMOD for me

Status
Not open for further replies.

mbraun0

New Member
Messages
12
Reaction score
0
Points
0
Need Root to CHMOD script-generated files for me

Alright, so my website is a photo gallery, and it was working completely fine until like a week ago. I didn't change any settings or upload anything new, so it must've been a change made server-side.

After trolling through support forums, I traced the problem to a change in permissions of a certain directory that my gallery script relies on. This is confirmed by the first sticky in this forum. Unfortunately, I cannot chmod the files/directories myself because they were created by my script and my ftp user account is not a member of the apache/php group and thus does not have privileges to edit/modify the files. I do not wish to reupload all the files because it took a great amount of time to do so in the first place because my upload speed is complete crap.

So basically what I need is a root user or a user who is a member of the apache user group to do a recursive chmod for me.

I need the following done on my account from a shell:

cd /www/gallery
chmod -R 777 albums

I assume any admin can figure out my account name from my forum name, so I won't post it.

Thanks in Advance!
 
Last edited:

masterchief3k

New Member
Messages
678
Reaction score
0
Points
0
you can't go into FTP and CHMOD?


and the server-side change was an upgrade of PHP to v 4.4
 
Last edited:

mbraun0

New Member
Messages
12
Reaction score
0
Points
0
Yes, as it says in the first sticky of the forum, PHP was upgraded AND AS A RESULT, permissions (CHMOD) were reverted to their original state, causing my script to malfunction.

No, I cannot chmod the files because my script created them, not me(the script originally chmoded the files, not me); believe me, I have tried chmoding these files and it does not work, whereas with files i uploaded, it works fine. As stated in my post, this is due to a common *nix security feature that prevents users from tinkering with other user's files. In order to chmod them, my ftp user account would need to be a member of the same group as apache and php, the creator of the files.

Because this is not the case, I need someone with appropriate privileges to do the chmod for me, e.g. an Administrator.

Please help me return my site to working order!
 
Last edited:

oab

New Member
Messages
918
Reaction score
0
Points
0
cant you just run the install file again?
 

TranceOperator

New Member
Messages
286
Reaction score
0
Points
0
But then he'd have to backup the db (assuming it's using MySQL) and that would probably take a long time considering he also has to save all the pictures with the directories. I could upload the stuff for you since I'm on DSL, but I'm not an admin, so you'd have to give me access info which I understand you probably won't want to do.

Good luck
 

mbraun0

New Member
Messages
12
Reaction score
0
Points
0
Yea, the CHMOD of the files I need redone is not done at the time of installation. Rather, it is performed at the time of upload, so reinstalling doesn't do much, it just forces me to re-upload a couple hundred pictures. Thanks for the offer TranceOperator, but I think we could all just save time by having a person with a root account type two commands into a shell terminal.
 

oab

New Member
Messages
918
Reaction score
0
Points
0
mbraun0 said:
Yea, the CHMOD of the files I need redone is not done at the time of installation. Rather, it is performed at the time of upload, so reinstalling doesn't do much, it just forces me to re-upload a couple hundred pictures. Thanks for the offer TranceOperator, but I think we could all just save time by having a person with a root account type two commands into a shell terminal.

How the hell can you upload something that you can't CHMOD?!?
 
Last edited:

mbraun0

New Member
Messages
12
Reaction score
0
Points
0
I guess there's a bit of ambiguity in my post. Here is how pictures are added to the album:
1. I upload them to a temp directory (I am able to chmod at this point)
2. I tell the script to import the photos from this directory at which point the photos are moved to a new location and chmoded by the script (I lose the ability to chmod the new files at this point)

Now the problem, for the millionth time is that the new installation of PHP killed the scripts original permissions on the files. Because the script generated "new" files when I told it to import the photos, I do not have privileges to chmod, which is why I need an admin to do it for me.
 
Last edited:

SnT2k

New Member
Messages
58
Reaction score
0
Points
0
I am also having the same problems here :\ I can't re-chmod them back for some reason (Error: Bad file descriptor) using FTP and I can't chmod them from the File Manager interface of cPanel X either... So for I think only my Gallery installation are having problems...
 
Status
Not open for further replies.
Top