Directory Restricted? - I can't edit one of my site's directories

free web hosting
Open Discussion > General > Hosted Members Area

Directory Restricted? - I can't edit one of my site's directories

gameratheart
My website is split into two directories: "site", which is my main site's content, and "forum", which explains itself. The "site" directory is mostly filled with Joomla! files due to my website using the Joomla! CMS.

Previously, I was able to upload templates and extensions to Joomla! without fail. However, since today whenever I've done either of these I just get "failed" messages. Unable to source it to a problem with Joomla, I tried to access the directories using FTP.

I was able to access and rename all my directories using FTP, but whenever I tried to delete some of them, or change their CHMOD permissions, some directories failed to change, and I got "Permission Denied" errors. I then tried using CPanel's File Manager, and again I was able to access the directories, but if I deleted one, it would fail to go to the trash, and if I changed one's permissions, it would tell me "operation not permitted".

Strangely, I have noticed this behaviour in only two directories - site/admin, and site/components - and their subdirectories, but all other directories behave normally. Actually, there is one other directory that acts wierdly for me too - I am unable to upload anything to the site/media directory, but I can still do everything else in it.

What is going on? Can someone please help?

 

 

 


Reply

Forbez
I think, not sure, you gotta change the permission on those directories. Clikc on them, then change permissions, then tick everything. the numbers in the bottom row should be 777. This allows anyone to look at the directories. Use the Trap17 cPanel, as I know from experience some FTP mangers don't always do permissions correctly.

Reply

gameratheart
QUOTE(Forbez @ Mar 10 2008, 09:23 PM) *
I think, not sure, you gotta change the permission on those directories. Clikc on them, then change permissions, then tick everything. the numbers in the bottom row should be 777. This allows anyone to look at the directories. Use the Trap17 cPanel, as I know from experience some FTP mangers don't always do permissions correctly.


You have not read my post through to completion. I am unable to change the CHMOD permissions on the directories I mentioned - they always reset to 755 and I get "Permission Denied" errors. But that is just one of the problems. Please read more thoroughly next time.

Or, did I not make my post clear enough? I appologise if that is the case. Even though I have the literacy skills of a 12th Grader, I still fail to phrase complicated problems effectively.

 

 

 


Reply

jlhaslip
I am not certain about this, but there are differences between a directory/file that you create and those created by an Apache process. If the directory in question is created by a script, then the Apache server is the directory owner, so only an Apache script can chmod or delete the file (unless Apache 'chowns' the file to you, but that is a whole other can of worms).

Just curious, but did you install the Joomla! yourself? or via fantastico?

Reply

gameratheart
QUOTE
I am not certain about this, but there are differences between a directory/file that you create and those created by an Apache process. If the directory in question is created by a script, then the Apache server is the directory owner, so only an Apache script can chmod or delete the file (unless Apache \'chowns\' the file to you, but that is a whole other can of worms).

Just curious, but did you install the Joomla! yourself? or via fantastico?

I installed the Joomla! 1.0.13 package through Fantastico.

But, I doubt what you said is actually the problem. Only three of the directories used by Joomla are affected by this problem, and they themselves were working ok before today.

EDIT: Actually you may be on to something, jlhaslip. After careful examination, I realised that two of the three affected directories were in fact created by a mod I had used for Joomla. But that does not explain why I am unable to upload files to the /media directory (which was NOT created by the mod)...

I think I'm going to have to contact that mod's developers though. I actually uninstalled the mod that created those two directories, and it said in their help file that "in the event of a failed uninstall, you should be able to finish the job yourself by deleting the files created in the "/components" and "/administrator/components" directories dry.gif



Sorry for the double-post, but I thought it would be disorganised if I made this post part of the previous one.

I've discovered the problem. You were right, jlhaslip - as it turns out, my CPanel is denying me permissions to any file that was created using a script. But it is also blocking scripts that upload or create files from actually putting the files onto the server.

This is a problem as I have some modifications and skins for Joomla that can only be properly installed if uploaded and installed using Joomla's inbuilt "upload and install" scripts. It is also preventing me from uninstalling some of the mods. Is there a way to fix this problem?

Notice from truefusion:
merged

Reply

jlhaslip
Not really certain, but I'm thinking that the joomla! forums might have an answer. Maybe?

Reply

rvalkass
QUOTE(gameratheart @ Mar 10 2008, 09:50 PM) *
I've discovered the problem. You were right, jlhaslip - as it turns out, my CPanel is denying me permissions to any file that was created using a script.


It's not cPanel, but the Linux operating system running on the server. Files created by a script wouldn't have you as the owner, so you don't really get rights to them. Anyway, you've fixed that problem.

QUOTE(gameratheart @ Mar 10 2008, 09:50 PM) *
But it is also blocking scripts that upload or create files from actually putting the files onto the server.

This is a problem as I have some modifications and skins for Joomla that can only be properly installed if uploaded and installed using Joomla's inbuilt "upload and install" scripts. It is also preventing me from uninstalling some of the mods. Is there a way to fix this problem?


This will again be a permissions problem. To upload files, and to delete them, you need 0777 permissions on the relevant directories and files. The file upload directory will need to be CHMOD'd to 777 permanently, as you cannot tell when a file will be uploaded. You will also need to CHMOD all the relevant files to 777 when you try to upload and delete things using a script. For example, the folder where the themes are installed would need to be set to 777 to let you upload a theme using a script. At the moment, this looks like the only reason why it wouldn't work.

Reply

gameratheart
QUOTE(rvalkass @ Mar 11 2008, 07:55 AM) *
It's not cPanel, but the Linux operating system running on the server. Files created by a script wouldn't have you as the owner, so you don't really get rights to them. Anyway, you've fixed that problem.

Actually, I haven't fixed the problem, I just know what it is now. I still can't figure out how to get rid of the two denied directories...

And obviously, I need to put more research into Linux. I should really learn about these things if I'm testing linux right now and am starting to think I should make it a default OS on my PC...

QUOTE(rvalkass @ Mar 11 2008, 07:55 AM) *
This will again be a permissions problem. To upload files, and to delete them, you need 0777 permissions on the relevant directories and files. The file upload directory will need to be CHMOD'd to 777 permanently, as you cannot tell when a file will be uploaded. You will also need to CHMOD all the relevant files to 777 when you try to upload and delete things using a script. For example, the folder where the themes are installed would need to be set to 777 to let you upload a theme using a script. At the moment, this looks like the only reason why it wouldn't work.

Sadly, that is not the case. Joomla! uploads Installer files to the /media directory, which I CHMODded to 777 as soon as I installed Joomla, and a check of it now finds it is still 777. But, the installers are still not being uploaded. There may be a script used by Joomla! for the uploads that is not CHMODded to 777, but I can't find it.

EDIT: That's strange, it's working again! Must have been a problem with Joomla.

All problems have been resolved, can this topic be closed please?

Reply



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*

(Maximum characters: 10,000)
You have characters left.

Similar Topics

Keywords : directory, restricted, edit, sites, directories

  1. Unable To Replace .png File In Directory
    Can't even delete it using Cpanel (7)
  2. My Site's Ip Address
    Finding out my numerical IP address (5)
    Hi, I was wondering how I can find the numerical IP address of my site. I have my site hosted at
    Trap 17, but instead of a subdomain i use my own (parked) domain name. Can anyone tell me how I can
    find the address of my web site in the shape of 81.200.30.55 (this is just a random example) instead
    of in the shape of http://www.vlaanderen-flanders.org.uk ? Thanks for any advice. ....
  3. Where Do I Upload My Ftp Files? [resolved]
    As in, which directory? (1)
    I recently got approved for hosting. I have an account right now, but I don't know which
    directory to post my FTP stuff in. (I don't know if this is in support or not; the search
    results didn't return anything.) I remember with my last host that had CPanel that you had to
    upload it into the "public_html" folder. So I do that, or do I just upload it into the root
    directory? Thanks in advance! (EDIT: Oh, never mind, it is /public_html.)....
  4. Need Help With My Database
    I cannot transfer my old site's database (19)
    I Couldn't import my database info via Import from php my admin and i got the .sql file from the
    php my admin of my old hosting and every time i try to import it give me an error that i don't
    have the permissions to do.... /sad.gif" style="vertical-align:middle" emoid=":(" border="0"
    alt="sad.gif" /> What shall i do?? I need Help Please....
  5. Can't Edit Index
    in file manager (3)
    when i open my sight, www.blockwars.trap17.com i get Parse error: syntax error, unexpected T_STRING
    in /home/khalilo/public_html/index.php on line 6 I don't even have an index.php file O_o I have
    a index.html its coding is: CODE <html> <head> <title></title>
    </head> <body bgcolor= black> <font color=red>welcome</font>
    </body> </html> but why isn't it being opened O_o?....
  6. Error Trying To Edit File Using Cpanel Filemanager
    Can't save any changes (8)
    Okay, I am having trouble saving changes to a .css file using the cpanel filemanager. Basically it
    worked for me a couple of times (trying to edit "compiled.css") but now it just throws this error at
    me every time I click save!! I cannot delete, move, rename or edit the file at all using an
    ftp manager or even the cpanel. I have been forced to take my site offline until I have access to
    update the css... Please help! QUOTE open compiled.css failed: Permission denied at
    cpanel.pl line 444 Carp::croak('open compiled.css failed: Permission denied....
  7. Sites Disapeard, Mysql Errors? Also Server Folders Deleted
    (18)
    Hello its 15:40 and I login see if everything runs oke, and I see numerus things deleted my mysql is
    working again. Whats going on? My Webpage couple websites got deleted, and server folder files now
    whats going on? /sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> my
    forum also give errors but mysql db stil there /sad.gif" style="vertical-align:middle" emoid=":("
    border="0" alt="sad.gif" />.......
  8. Pointing Domains To Diffrent Directories Or Subdomains
    with Masking - Domain issues (6)
    Okay guys, I'm having a bit of a problem regarding my website and domains. Basically, I have
    about 6 domains...I want 3 or 4 of them to go to my main site (a blog), and the other 2 to go to
    another directory of the site (a graphics forum), so I've been trying to set up my cpanel to be
    able to do this. The current setup is like this: plusone.trap17.com -- my blog
    plusone.trap17.com/forums or forums.plusone.trap17.com-- graphics forum As an example, I have these
    two domains registered: jrockett.info plusoneconcepts.info and I want them to direct like this: j....
  9. Ftp Double-click Caution
    ...with multiple sites - be careful with the double-clicking (5)
    I just want to put out a little caution for everybody. Be very careful when using most FTP transfer
    programs. If you double-click on any file (either local, or remote) it usually transfers that file
    across to the other side. Be especially careful if you have set up the default to overwrite. I
    found this out when I was doing some admin with a PhpNuke site, and I wanted to view its config.php
    file, but I transferred that file to my local directory (which was a local nuke). At the time, I
    just thought it was strange that the file didn't view or launch.... but, it s....
  10. Which Is My Server Root Directory?
    (3)
    hello guys!, i just installed CubeCart to sell some programs and in order to achieve this i need
    to put my Server Root Path, something like: /usr/local/vhosts/www.domain.com/downloads/download.exe
    the problem is that in my cPanel it says: home/ myaccount /public_html/downloads/something.zip is
    it right to use this path?? or should i use my domain name?? home/ www.mydomain.com
    /public_html/downloads/something.zip and another question, could it be available a file to
    download it if it is in: home/ myaccount /downloads/something.zip (it is not in the public_html....
  11. Editing A File Will Not Change It!
    A page will not change no matter how much I edit it! (5)
    Because of a lot of problems I have expirienced on my site, I have had to redo a lot of it recently.
    But now I have a big problem: Some of the pages work fine in CPanel, but when accessing the pages
    normally, none of the new changes are appearing! I have edited the same page five times, and
    each time CPanel saves it normally, and if I edit it again the changes are there. But, whenever I
    visit the page, none of the changes appear! I have examined if the problem is anything to do
    with scripting on the pages (I use complex javascript on one of the affected pages)....
  12. Ftp Account Access Permission
    Can Only Access Created Directory? (3)
    k well, on my site i created an FTP account for someone, but they can only access the specified
    directory i make...but if i want to make it to where they can access eevrything..how do i do it? i
    tryed just leaving the directory field blank but it says it is required....
  13. Other Sites Like Trap17
    (14)
    I like trap17 very much , but i was just wondering if there is any other site which gives same
    feaures like trap 17???i think there are some sites which are working with same theme......
  14. Directory Questions Using Cuteftp
    what are these files/directories for? (4)
    i cant seem to ftp to my site proporly, i can access my domain through cute ftp but a bunch of files
    show up, some of them are non existant and have "/" in them etc and their are no such folders in
    reality... i really need to upload new phpnuke themes and cant seem to do it... someone plz help
    me! Renamed title and description to reflect the topic. ....
  15. Virtual Directories
    or something of that nature (5)
    How can i make trap17 to redirect a user to a particular page when they enter a totaly random one,
    for example, I want to redirect all entries above /pages to /pages, so if the user were to type
    mysite.trap17.com/pages/asdf/ewrtfg/xvcb/drfy/sertg/asdf or something else totaly random it would
    automaticaly bring him/her back to mysite.trap17.com/pages. This would be for creating a member
    type thing so I can have virtual directories defined, I can say to a user your page is
    mysite.trap17.com/pages/username so that when they type that page they are redirected to mysite.tr....
  16. Help With Uploading Index File
    i cannot remove rename edit or replace (6)
    When I try to edit, remove, rename, or replace my index into my public_html folder. It does not
    work. Is there anyway to erase everything on your account, and start from scratch. Or a way to fix
    this problem. I have PMed and Emailed the admin but haven't gotten help, can anyone here help
    me?....
  17. Denied Connection
    and cannot open TRAP17 sites (7)
    Hey people i have a problem with my site... some times it denies connection to some people and they
    cannot open the site ? this happened to me once and i couldnt open the trap17 forums also... so pls
    tell me what could be the possible cause ? thanks "Help ?!" is not a good topic title. Admins
    will start to give warnings for this, so next time be specific. Don't forget to enter the
    description line as well. Edited title and description as per OpaQue's request. ....
  18. Operation Timed Out When Logging In
    To Secure Sites Like eBay or PayPal (4)
    Does anyone know why this is so or how to fix it? I'm running Firefox 1.0 on WinXP Home.
    I've read that this combination (and also IE6+ on XP with service packs) causes this error. I
    haven't installed SP2 but I think my laptop came with SP1 installed already. Last night my
    computer rebooted itself saying it had installed a critical update and needed to restart. It was
    downhill from there. Programs that connected to the internet through various ports started giving me
    errors and this "operation timed out when trying to connect to ..." error started popping u....
  19. Way To Have 'two' Sites?
    >_> (5)
    Alright, I have my site set up using the LUE2 source that I have edited. I cannot think of anything
    to do to make it 'original' so I want to use a different source. Is there a way I can have
    'two' message boards? Would I just set a subdomain for it and call it something like
    www.mysite.trap17.com/newsitename if I wanted to do a subdomain? I want to code a board from
    scratch, but I dont want to have to get rid of my current site to do it until I get it perfected. So
    it will have next to no members and take up no disc space. Is there a way I could do that?....
  20. Wah! I Got My Site Up And Running, And Now Its Messed Up Again.
    Parent Directory?! (2)
    www.gigapass.trap17.com I had it up and running, then I uploaded a .txt file, then it stoped
    working. I deleted it, thinking that was the problem, but it didn't fix it. Will it go away by
    itself or what?....
  21. I Keep Getting Errors When..
    ..trying to view directories on my site (5)
    My site is www.subzero.trap17.com However, I set the servers in GoDaddy for my domain to
    ns1.trap17.com and ns2.trap17.com Every time I try to go to a directory on the site (for example,
    /boards) I always get a 500 error. I keep getting it and even got it when trying to log into my
    cPanel. It's extremely annoying! /mad.gif' border='0' style='vertical-align:middle'
    alt='mad.gif' /> Can somebody please tell me why I get these errors?....
  22. Please Help Me Figure Out How To Edit An Exsisting
    php file in a site? And how to add a... (5)
    I am trying to install a mod on my forums, but I have to edit some of the exsisting files first, how
    would I go about doing this? I also need to add some files to exsisting directories, I am not sure
    how to do any of this either, can someone explain this to me, say where to go in the CPanel too, I
    am trying this for the first time.......
  23. Invitation For Every Member
    For adding your site in my directory (1)
    Dear Friends, I have made my website www.solanky.uni.cc which is a web
    directory of various links. There are various categories in it and soon I am going to add category
    Personal Websites . If any member wants to add his site in my directory PM me or just go to my site
    and click on the Suggest link. On suggest page you can provide your website to me. It will be good
    if you can provide small description (5 to 10 words) about your site. Thanks in advance. I am
    waiting.....
  24. Top Sites
    Finnally :D (1)
    I've finnally installed a topsites on my sites. you have to register to the site in order to
    keep track of people.Tell me what you guys think. http://brainproductions.co.nr If you find a
    bug or something wrong with the topsite or site please e-mail me or post in the forums. Thanks,
    Mario....
  25. How Can I Upload Scripts?
    And edit the HTML of my board? (1)
    Yes, those are stupid questions. I just would like to know how I can upload scripts to my site and
    how to edit the HTML of my boards. Thanks in advance for any help!....
  26. Making a directory my index
    Help.... (3)
    Hey, i have the directory phpnuke where i installed phpnuke 7.5 and i want to make that come up
    first (make it my index page). I am unsure how to do so. Please help! This is quite urgent.....
  27. Anyone really good at making sites?
    and want to help me with mine? (11)
    I would say im medicore at making sites and im trying to make a really nice professional looking
    site for my band. I have flashmx 2004 and dreamweaver mx 2004 but im not really good at using them.
    I definetly not good at making graphics. if anyone would wanna help me or give me some pointers or
    anything hit me back or email me you can also check out my site that i have started but it still
    needs alot of work downpour thanx....

    1. Looking for directory, restricted, edit, sites, directories

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for directory, restricted, edit, sites, directories

*MORE FROM TRAP17.COM*
Similar
Unable To Replace .png File In Directory - Can't even delete it using Cpanel
My Site's Ip Address - Finding out my numerical IP address
Where Do I Upload My Ftp Files? [resolved] - As in, which directory?
Need Help With My Database - I cannot transfer my old site's database
Can't Edit Index - in file manager
Error Trying To Edit File Using Cpanel Filemanager - Can't save any changes
Sites Disapeard, Mysql Errors? Also Server Folders Deleted
Pointing Domains To Diffrent Directories Or Subdomains - with Masking - Domain issues
Ftp Double-click Caution - ...with multiple sites - be careful with the double-clicking
Which Is My Server Root Directory?
Editing A File Will Not Change It! - A page will not change no matter how much I edit it!
Ftp Account Access Permission - Can Only Access Created Directory?
Other Sites Like Trap17
Directory Questions Using Cuteftp - what are these files/directories for?
Virtual Directories - or something of that nature
Help With Uploading Index File - i cannot remove rename edit or replace
Denied Connection - and cannot open TRAP17 sites
Operation Timed Out When Logging In - To Secure Sites Like eBay or PayPal
Way To Have 'two' Sites? - >_>
Wah! I Got My Site Up And Running, And Now Its Messed Up Again. - Parent Directory?!
I Keep Getting Errors When.. - ..trying to view directories on my site
Please Help Me Figure Out How To Edit An Exsisting - php file in a site? And how to add a...
Invitation For Every Member - For adding your site in my directory
Top Sites - Finnally :D
How Can I Upload Scripts? - And edit the HTML of my board?
Making a directory my index - Help....
Anyone really good at making sites? - and want to help me with mine?
advertisement



Directory Restricted? - I can't edit one of my site's directories



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE