Nov 24, 2009
Pages: 1, 2

Cpanel File Manager - File Upload Problem - Permission Denied - Pleasse Help.

free web hosting

Read Latest Entries..: (Post #13) by tininho on May 3 2007, 05:59 PM.
I repeat what I just wrote to other topic: If you use Joomla, the most convenient way is to go to(in administration panel) site - global configuration - server and from there change the directory and file permissions to 0777. Hope this helps.
Read the FIRST post of this Topic. - Express your Opinion! Contribute Knowledge :-).

Open Discussion & Free Web Hosting > Astahost > Hosted Members Support > cPanel

Cpanel File Manager - File Upload Problem - Permission Denied - Pleasse Help.

sid.calcutta
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.

Comment/Reply (w/o sign-up)

dhanesh
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 biggrin.gif

Regards
Dhanesh.

Comment/Reply (w/o sign-up)

sid.calcutta
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 biggrin.gif


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.

 

 

 


Comment/Reply (w/o sign-up)

vhortex
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..

Comment/Reply (w/o sign-up)

pyost
vhortex, what you just said gave me a possible solution a problem that I had smile.gif I installed Google Sitemap Generator component for Joomla! through the administration panel. It required me to CHMOD some files, but I just could. Neither Total Commander nor the cPanel file manager could do it - both gave me errors. Not only that, but I am unable to edit any of those files, and that is the most important thing, since it's not working properly. I have to edit one of the core files (not to mention that I still don't know WHAT to edit).

Can you remember where the permissions are changed in cPanel?

Comment/Reply (w/o sign-up)

vhortex
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..

Comment/Reply (w/o sign-up)

pyost
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 smile.gif

Comment/Reply (w/o sign-up)

vujsa
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. cool.gif

vujsa

Comment/Reply (w/o sign-up)

pyost
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?

Comment/Reply (w/o sign-up)

sid.calcutta
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?


Comment/Reply (w/o sign-up)

Latest Entries

tininho
I repeat what I just wrote to other topic: If you use Joomla, the most convenient way is to go to(in administration panel) site - global configuration - server and from there change the directory and file permissions to 0777. Hope this helps.

Comment/Reply (w/o sign-up)

vhortex
QUOTE(sid.calcutta @ Aug 20 2006, 06:21 PM) *

Thanks again for your very specific suggestion but that is too risky. MamboXplorer suggests that owner of the file is '0' , i.e. the server. Deletion of Directories/files from the server which are posing problem may cause potential damage to the website. Instead of that, is it possible to uninstall the components/modules using Mambo and then upload the files (backed up already) through FTP? I have never uninstalled the components/modules using Mambo, so, I am not quite sure whether uninstalling them will simultaneously drop the database tables containing data.
If anybody has already tried the backup->delete->upload method, please tell it whether it was successful or not. Also what do you think about the method I have in my mind, i.e. uninstalling the component/modules and uploading the necessary files thereafter.
As I have already undertaken too many experimentations with this site, so I have no other option left but to take extreme care before taking a decision in this regard.
Hope this explains the scenario which compells me to put forward the same issue repeatedly.


the install and backup of mambo components can be only answered via the component writer/developer. the first part of the component installation is the creation and initialization of the needed tables and variables.

some components are badly written that they just overwrite some major parts of the database..

the uninstallation is also the writers/developers taste.. some removes all data.. some just remove the files and some creates a backup.. while there are some chance of other programmer just leaving everything behind..

Comment/Reply (w/o sign-up)

sid.calcutta
Thanks again for your very specific suggestion but that is too risky. MamboXplorer suggests that owner of the file is '0' , i.e. the server. Deletion of Directories/files from the server which are posing problem may cause potential damage to the website. Instead of that, is it possible to uninstall the components/modules using Mambo and then upload the files (backed up already) through FTP? I have never uninstalled the components/modules using Mambo, so, I am not quite sure whether uninstalling them will simultaneously drop the database tables containing data.
If anybody has already tried the backup->delete->upload method, please tell it whether it was successful or not. Also what do you think about the method I have in my mind, i.e. uninstalling the component/modules and uploading the necessary files thereafter.
As I have already undertaken too many experimentations with this site, so I have no other option left but to take extreme care before taking a decision in this regard.
Hope this explains the scenario which compells me to put forward the same issue repeatedly.

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Pages: 1, 2
Similar Topics

Keywords : cpanel, file, manager, file, upload, problem, permission, denied, pleasse

  1. What Is The Medata File?
    What is the importance of the file (0)
  2. Cpanel Error When Loggin In...
    Unable to access my cPanel... (5)
    Hey all... I was trying to get into my cPanel to try to move some files, and it entered this page
    error: Not Found The server was not able to find the document (./frontend/rvblue/index.html) you
    requested. Please check the url and try again. You might also want to report this error to your
    webhost. cpaneld/11.23.6 Server at www.skemb.astahost.com Does this mean anything or make any sense
    to any of you!!?? Any kind of response is appriciated... Thanks all! - skedad -....
  3. Cpanel Isn't Working.
    (14)
    I went on vacation for a week starting last Saturday, and when I came back yesterday I discovered
    two things. 1. The template I had on my website 'disappeared'. All my text and links are
    still there, but the template is gone. 2. I can't enter the cPanel. When I try to enter it says
    some ip (if you need it I'll give it to you, I think it's 60. something) has timed out. I
    tried it several times with the same result. If you're wondering, yes I DO have enough hosting
    credits, and I had more than enough while I was on vacation. I tried to enter my....
  4. Cpanel Security
    (0)
    Ok I tried accessing cPanel using SSL and various security warnings came up. The one in Firefox 3
    looks like this: QUOTE Secure Connection Failed portal.trap17.com:2083 uses an invalid security
    certificate. The certificate is not trusted because it is self signed. The certificate is only
    valid for gamma.xisto.com. (Error code: sec_error_untrusted_issuer) * This could be a problem
    with the server's configuration, or it could be someone trying to impersonate the server. *
    If you have connected to this server successfully in the past, the error may be ....
  5. Did Cpanel Upgrade?
    (8)
    Ok, I checked into my cPanel this morning and I noticed the new theme. Initially I thought it was
    just a theme, but then I noticed things were grouped differently and it offered video tutorials. Did
    AstaHost go through a cPanel upgrade?....
  6. Filtering Out Unwanted Junk Mail Using Regular Expression.
    Use this Regular Expression with the cPanel email filter to limit your (0)
    I'm so irritated with the amount of spam I get on the email accounts I have hosted at AstaHost.
    It isn't the servers fault that I get so much junk mail! It wouldn't be so bad but my junk
    mail filter on my home system doesn't scan IMAP accounts which I use since my email client
    won't separate POP3 accounts properly. So I finally got to the point I had to do something!
    I'm getting about 25 junk mail messages a day spread over 5 different email accounts. If I go a
    few days without checking my email, I have a lot of work to do to clean out the ....
  7. Cannot Access Cpanel.
    (11)
    It's been quite some time since I have even tried, but all I am getting is "Unable to connect"
    in firefox. Also faqs.astahost.com is failing with the same message (main site url and forums them
    selves seem to work fine....), what is up with different parts failing (it used to happen several
    times a day with the forums), and it's random at which is working and which isn't lol. Well
    the forums haven't given me any issue in a long time at least.....
  8. Does Our Cpanel Have Safe Mode Turned On Or Off
    (10)
    I need hosting that does not have safemode turned on. So if anyone can tell me about that it would
    be much appreciated. Dominus....
  9. Cpanel Theme
    (49)
    Ok, well I really don't like the rv series theme that astahost has, and I know I have seen a
    couple of others here that feel the same, so I thought I would create this poll about it, you never
    know maybe we'll find something out from this. I just find the standard cpanel theme so
    professional and easy to use, and the rv one, just doesn't have that look and feel to it, at
    least to me. So what does everybody else feel about the different cpanel themes?....
  10. Cpanel Not Opening
    (11)
    Hum. Cpanel isn't opening for me. It just gives a blank page, and I'm not sure what's
    going on. On Firefox it gives off a blank page, and after I tried it on IE, it gave a "Page Not
    Found" error. Hosting isn't down, but Cpanel won't load either. Anyone know what's
    wrong and how things can be fixed? I'd appreciate any help I can get. Thanks. /smile.gif"
    style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />....
  11. Cpanel Error
    Missing WHM Remote Access Key. (5)
    This is the first time i logged into the cpanel on my site, and it give me an error. Error!! Missing
    WHM Remote Access Key. I am not an expert at how this all works and i am wondering if this is a big
    problem or no big deal.....
  12. Cpanel 11
    (15)
    Hello everyone , Is there any chance to install cPanel 11 in astahost ? I read that there is a way
    to have your site as a drive in your computer so you can add and remove from ....
  13. Cpanel (fantastico) Glitchs.
    (7)
    I love installing scripts using fantastico (it is very easy), but I noticed that some scripts
    don't dowload correctly. Currently only one that I have noticed is Noah's Classifieds, it
    has an error in the code. I don't know if you could fix this or not but I just wanted to point
    that out. It is not the installation, but rather php functions that have errors. Erros inlcude:
    -Notice: Undefined property:... -Invalid argument supplied... Maby it is noah's script and not
    even the way fantastico installs the script. I would like to get a classified on my site. I....
  14. Cpanel Saving Problems
    (6)
    I was using CPanel's editor to edit a file and then I attempted to save said file. Apparently an
    error popped up claiming that there was a fatal error in the directory and that it could not save. I
    wasn't sure what had happened, so I restarted Firefox/cleared cookies and cache a few times.
    Then, deciding that it was not possible to use the online editing feature, I switched to simply
    uploading the file and replacing the old one. However, after uploading, cPanel continued to return
    errors, similar to the one below. I'm not sure what exactly is going on; can ....
  15. Cpanel Temporarily Suspended
    :-O (2)
    Hey, I just tried loggin into cpanel tonight and got this: -------------------------------------
    Sorry for the inconvenience! The filesystem mounted at / on this server is running out of disk
    space. cPanel operation has been temporarily suspended to prevent something bad from happening.
    Please ask your system admin to remove any files not in use on that partition.
    ------------------------------------- Ftp and my actual site are still working. I went in through
    FTP and deleted over 50 megs of old files, so it should be better now, whatever the problem was. So
    if any a....
  16. Cpanel Address Without Port Nmber
    Is it possible to access without port 2083 (4)
    Whenever I give the control panel address it changes it to port number 2083. We are behind a
    firewall and uses internet thorugh a proxy server which do not allow this SSL port. It gives the
    following erro on Microsoft IE. Proxy Reports: 12204 SSL port specified is not allowed.
    -------------------------------------------------------------------------------- An error occurred
    while trying to retrieve your URL. This error could have been caused by: Is there any way to
    access control panel without this port number 2083.....
  17. Php Myadmin
    access denied (8)
    When I click on phpMyAdmin from the cpanel I'm am getting an error message: Wrong
    username/password. Access denied.....
  18. Cpanel Clean Up !
    (7)
    Ok .. herez what i want to do, I want to COMPLETELY flush out unwanted files and folders out of the
    account and start fresh. So either 2 things are possible, One .. m^e /biggrin.gif"
    style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /> .. hi .. hehe .. an admin
    has to clean up or reset my account .. OR .. i need a list of files i can delete, which are :
    public_html tmp mail public_ftp and any file or folder that begins with dot "." (that was
    m^e's reply when i first joined /tongue.gif" style="vertical-align:middle" emoid=":P"
    border="0" alt=....
  19. Backup Problem In Cpanel
    Here's the error... (13)
    This is the first time I'm making a backup of my site using Cpanel, earlier I used to do it
    manually using FTP. But my first experience is not very convincing, I should say... Here's what
    I see when I click on 'Backup' in Cpanel- QUOTE Backup cPanel System Backup is not
    enabled on this machine. Some other type of backup system may be in place, however downloads cannot
    be fetched using this module. /sad.gif" style="vertical-align:middle" emoid=":(" border="0"
    alt="sad.gif" /> Please check this and help me out! ....
  20. How Do You Use The cPanel File Manager?
    How to use File Manager? (14)
    I feel stupid for asking this but I can’t figure out how to use file manager. How do you
    open folders and view the file in it? When I click on a certain folder the options does not include
    opening it. And can you upload file from the file manager? I’ve been using FTP to manage my
    files so far. ....
  21. Is It Just My Browser, Or Is Cpanel Off?
    Get error message every time... (7)
    I just got approved yesterday, and created my account today. Tried several times (fruitlessly) to
    login to cpanel. Nothing but an error message. tried:
    http://www.animalconspiracy.astahost.com/cpanel http://www.animalconspiracy.astahost.com:2083
    and... nothing but "Error Message" as the headline, and "Network Access Mes" in the page. Is it
    that I'm at school and my browser is screwy?....
  22. cPanel And FTP Down?
    (2)
    This doesn't make sense...both of these seem to be down. Can't remember the exact address
    for ftp, but I tried a combination and none of them work (tried ftp.astahost.com and also with my
    weapons.astahost.com). My cPanel doesn't seem to respond at all when I type it in the address
    bar. Not sure what's wrong, but my test forums are working without any problems. I want to
    upload some files but can't do so with these problems. Any idea what's wrong? Thanks.....
  23. I Give Up - How Do You Work This cPanel Thing?
    (8)
    Alright, I'll start from the top. I am totally new to all this, so everyone please bear with
    me, I'm not great with alot of high tech talk. What I am having a problem with is just putting
    a page in place. What I mean by that is say, coding a page in the HTML Kit program, and wanting it
    to appear at my soandso.astahost.com site (no that's not really the name). Anyway, what I have
    done is, made a folder in the public_html folder named FTVmain . Then I clicked on the folder
    icon to the left of the FTVmain folder then clicked on upload file . I br....
  24. Cpanel Access Bug!
    (2)
    I can access my Cpanel, no problem, but after accessing it, i can see that last my last login is
    from 127.0.0.1 as cleared below: QUOTE Last login from: 127.0.0.1 Welcome to cPanel, xiii.
    Authorized Use Only. what does it mean?, i have no access to the server ofcourse as i'm not
    a moderator or adminstrator, does that mean an admin accessed it or does it occured as a Cpanel
    bug?, i didn't face something like that before /smile.gif" style="vertical-align:middle"
    emoid=":)" border="0" alt="smile.gif" /> ....
  25. Cpanel Disc Quota Viewer Reports Incorrectly
    (8)
    ok, this is really strange because I deleted a folder with tonnes of stuff in it because I don't
    want it. The folder's name is wikipediaforums-cjb-net, but it's still on the disc viewer and
    my space allocation counter is still 29 MB before and after I deleted it and the folder and files
    are 5 MB big. Please help! Screenshots:
    http://img495.imageshack.us/img495/9430/hu...121820052gx.jpg
    http://img312.imageshack.us/img312/7397/hu...121820050ti.jpg xboxrulz....
  26. Cpanel Works Slowly
    Why is cPanel so heavy to access? (7)
    Hi, I'm trying to configure my cPanel, but of some kind of reason does it works extremly slowly
    and it leak the icon images. My Internet connection is standard adsl, and when I had dealup
    doesn't I had any problems or trouble, then only thing that I've been changed is my Internet
    connection. Please help me, Cheers! Jens....
  27. Demo Cpanel Doesn't Work!
    FAQ details are incorrect. (7)
    I was just reading through Astahost's FAQ page (http://www.astahost.com/faq.php) and noticed a
    bit about a demo cPanel - question four. It said that you can login to
    http://www.astahost.com/cpanel/ with the username demo and the password demo . I decided to give
    it a go, just for the hell of it. I've got nothing better to do. Anyway, the login doesn't
    work.....
  28. Cpanel: Write Failed While Creating Email Account
    Says "Quota Exceeded" (4)
    I got this error message when trying to create a new email account: E-mail Account Created The
    e-mail account rae@dreammare.net with the login Write Failed: Disk Quota Exceeded and password
    ******* with a quota of 0 megabytes was successfully created. Any idea what happened? anyone?
    anyone?....
  29. Zpanel/cpanel
    What do u like (12)
    I think that cpanel has more stuff 2 it but zpanel is free so i have 2 go wit the free 1....
  30. cPanel: An Overview
    Details all the features of cPanel (11)
    cPanel: An Overview What all the features in cPanel are, and how to use them This tutorial is
    intended to provide a quick overview of all of the features that are available in cPanel when you
    receive hosting from AstaHost. You can find further help when you login to cPanel; this tutorial is
    best used for quick reference, as I've tried to keep explanations brief, to the point, and easy
    to understand. It is also assumed that you will be using the default theme when accessing cPanel.
    This little tutorial is broken into sections relavent to what area they detail i....

    1. Looking for cpanel, file, manager, file, upload, problem, permission, denied, pleasse

See Also,

*SIMILAR VIDEOS*
Searching Video's for cpanel, file, manager, file, upload, problem, permission, denied, pleasse
advertisement



Cpanel File Manager - File Upload Problem - Permission Denied - Pleasse Help.

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com