|
|
|
|
![]() ![]() |
Aug 10 2006, 03:21 AM
Post
#1
|
|
|
Advanced Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Validating Posts: 111 Joined: 28-January 06 Member No.: 10,917 |
QUOTE Upload Status move /home/theshop/tmp/cpanel.TMP.sIrVzLxen20QECJ7, /home/theshop/public_html/administrator/components/com_virtuemart/CHANGELOG.php failed: Permission denied CHANGELOG.php (CHANGELOG.php): upload succeeded, overwrote old file. This is the message I am getting when I want to upload few patch files for VirtueMart using cPanel File Manager. what does it indicate? What do I need to do to get rid of QUOTE Permission denied message? Please help. |
|
|
|
Aug 10 2006, 04:45 AM
Post
#2
|
|
|
Binary Geek Group: Members Posts: 444 Joined: 4-November 05 From: The Digital Arena Member No.: 9,440 |
Thats an odd message. M not a proffessional in File manager errors, but guess someone who knows well can help you. But just for the time being ...
CHANGELOG.php (CHANGELOG.php): upload succeeded, overwrote old file. This indicates that it was uploaded.. OK wait ! .. are u trying to update a feature of a pre-installed cPanel script ? Cause if thats the case, its a no no. Are you trying to move CHANGELOG.php from your public_HTML to your tmp folder in your base ? Hope m not confusing you. Just let us know what exactly you are trying to do here. But FYI, you cant change any file below public_HTML .. atleast thats what i think, cause if u do then you are screwing up your hosting configuration.. Or your best option, try a FTP Manager lol Regards Dhanesh. |
|
|
|
Aug 10 2006, 04:10 PM
Post
#3
|
|
|
Advanced Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Validating Posts: 111 Joined: 28-January 06 Member No.: 10,917 |
Thanks for your reply. Let me answer your questions.
QUOTE CHANGELOG.php (CHANGELOG.php): upload succeeded, overwrote old file. This indicates that it was uploaded.. It was an example, with each file I tried to upload, I got the same message. And I have strong doubt whether it was successful or not as I could not locate any difference. QUOTE OK wait ! .. are u trying to update a feature of a pre-installed cPanel script ? No. QUOTE Are you trying to move CHANGELOG.php from your public_HTML to your tmp folder in your base ? No. QUOTE Just let us know what exactly you are trying to do here. I have installed Virtuemart Version 1.0.5 few months ago as a component of Mambo CMS. Now the upgraded version of Virtuemart, i.e. version 1.0.6 has been released. So I need to copy the changed files in place of the existing ones. If I want to do that using cPanel file manager, I am getting that error message. And I think the upload is not being done successfully. QUOTE Or your best option, try a FTP Manager lol I have tried Leech FTP, but there also I am getting the same error message. Above all, I have tried MamboXplorer, a mambo component for managing files, but the result is no different. Please help. |
|
|
|
Aug 10 2006, 04:52 PM
Post
#4
|
|
|
Guilty Until Proven Innocent Group: Members Posts: 372 Joined: 13-April 05 Member No.: 3,937 |
QUOTE /home/theshop/public_html/administrator/components/com_virtuemart/CHANGELOG.php failed: Permission denied have you used an installer from mambo to install this module? if you have use an installer.. package installer from mambo... you also need an upgrade installer not just overwriting it.. mambo scripts sets up the default user i think to apache for the modules it have installed.. our accounts here are using only ordinary user accounts so meaning, you cannot access those files created by apache.. Please dont confuse this one.. I believe that using the control panel.. you can change the ownership of the files.. I have not done this or tried this yet with the current hosting of astahost.. I just delete all or use an installer script to update the configuration and files created by apache scripts.. ------------- when you use scripts to install modules.. the one process running is apache and it is running on its own account.. if it creates a new file then it is the owner.. i hope you get what i mean.. |
|
|
|
Aug 10 2006, 05:06 PM
Post
#5
|
|
|
Nenad Bozidarevic Group: [MODERATOR] Posts: 994 Joined: 7-November 05 From: Belgrade, Serbia Member No.: 9,500 |
vhortex, what you just said gave me a possible solution a problem that I had
Can you remember where the permissions are changed in cPanel? |
|
|
|
Aug 11 2006, 12:02 PM
Post
#6
|
|
|
Guilty Until Proven Innocent Group: Members Posts: 372 Joined: 13-April 05 Member No.: 3,937 |
here is what i have done..
Since I cannot edit or chmod the files.. I go to control panel and have found use the filemanager.. I dit the file and chmod it with filemanager.. you can even erase and upload a newer file.. ------- The last time I have this problem with simple CMS.. I downloaded the directory.. you can read it anyway.. then using the filemanager.. deleted the old directory.. after that I reuploaded the same files i have downloaded a while ago.. Do the download with ftp and the erase or modfications with filemanager.. Filemanager have a higher access than our normal accounts.. So all that we have created are owned by filemanager also.. ------- by the way.. i encounter a bug in filemanager a few months ago.. when you edit a file using filemanager and saved it without chmod first.. the fileowner turns into filemanager.. then no one can read that on the web.. --------------------------- I think i saw something like change ownership in the Cpanel sometime.. i was looking at it now.. ***************************** Gosh.. I have this problem when i duplicate the old error I got.. It seems that my account is yanking of a bad file descriptor for the two files I use to reset.. It seems that filemanger can no longer modify them.. I thinkl this is time for the admins or you reset them using a php script.. This post has been edited by vhortex: Aug 11 2006, 12:11 PM |
|
|
|
Aug 11 2006, 12:34 PM
Post
#7
|
|
|
Nenad Bozidarevic Group: [MODERATOR] Posts: 994 Joined: 7-November 05 From: Belgrade, Serbia Member No.: 9,500 |
Unfortunately, deleting the folder didn't work. Total Commander didn't give me any errors, but after the action had been completed, all the files were still on the server. However, I thought of another solution that worked.
The component I installed was in a zip archive with all the files. When installing, I just selected the zip archive, and Joomla! uploaded and did what was necessary. Anyway, instead of changing the problematic file after installing it, I changed it on my computer. After installing it, everything worked just fine |
|
|
|
Aug 11 2006, 05:30 PM
Post
#8
|
|
|
Absolute Newbie Group: Admin Posts: 873 Joined: 20-February 05 From: Indianapolis, Indiana, USA (Midwest) Member No.: 2,714 |
You either don't own the folder or file that you are trying to change or upload to!
The server probably owns it because yone of your scripts created the folder or file. Anytime a script creates a directory or file then it is actually the server (user 0) that is doing the task and as such is by default the owner of the entity. This is especially bad in Joomla/Mambo since the installer doesn't use FTP which you would log in with which would make you the owner. Here is more information: http://www.astahost.com/index.php?showtopi...&hl=cleanup http://www.astahost.com/index.php?showtopi...&hl=cleanup These links have all the info you need as well as a script to fix the problem. Hope This Helps. vujsa |
|
|
|
Aug 11 2006, 06:02 PM
Post
#9
|
|
|
Nenad Bozidarevic Group: [MODERATOR] Posts: 994 Joined: 7-November 05 From: Belgrade, Serbia Member No.: 9,500 |
I have noticed another thing that might have something to do with this problem. When we generate and download a full backup, we get some files that aren't accessible through FTP (amongst them is the mysql folder and the homedir folder).
Beside the folders that we have in the root of our backup, there is also a file called "nobodyfiles" that has no extension. As far as I could see, the file contains pathways to files created/uploaded by some script - exactly those files that I cannot change. This is probably the file that somewhat controls the permissions, right? |
|
|
|
Aug 19 2006, 06:00 PM
Post
#10
|
|
|
Advanced Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Validating Posts: 111 Joined: 28-January 06 Member No.: 10,917 |
Vujsa, thanks for those two links, both of them are informative. But the script, "cleanup.php" as referred to in the first link, could not solve my problem. When I am running the script, either, it is reporting a list of files that it has accessed or it is generating a warning:
QUOTE Warning: chmod(): Operation not permitted in /home/theshop/public_html/cleanup.php on line 54 In both the cases, the script is unable to change the ownership of the files. Needless to say, I have understood the problem, but just can't see any solution. I require to change the ownership of the files created using Mambo Installer. Then I can do subsequent operations like Editing/Deleting those files. Ownership/permissions may be changed by running a script, but in my case, the script ( cleanup.php ) failed. I uploaded the script using cPanel File Manager. Is there any other way to change the ownership/permission? |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 24th July 2008 - 01:26 PM |