Directory Restricted? - I can't edit one of my site's directories
gameratheart
Mar 10 2008, 09:21 PM
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.
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.
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.
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 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
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?
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.
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?
Hy.. Anyone heard about this or earn any penny this way?! I found some articles while surfing
the web..for me digg is not so interesting yet, and not many of my friends use it...it's more
like a marketing tool or something I read that are some organizations that pay for digging, if you
write a post and someone diggs it or something like that, even that you get payed for rating posts..
also read that this thing can be done even for StumbeUpon...is that true? I found a website to
register "user/submitter" but guess is either scam or not alive anymore.. found also "....
1350 Great Free Logos (With both jpg and psd files)
http://rapidshare.com/files/126291346/1346...Great.Logos.zip This is a great collection of
logos, they are already made logos which you can use like that or just use to create other logos, do
what you want, they are free, they came from free websites that give this logos for free and lot
more, but i just took the good ones mainly. There is also a small collection of 100 logos inside
the compressed file, which you can use to insert those graphics in your logo/design/web design
projects, do what you want with them ....
I just want to let everyone know I have updated my list of money making websites and in my opinion
the 10 listed are the most reliable and honest money making sites that are free to join available.
Please review this blog and let me know what you think http://makeeasymoney247.blogspot.com ....
I am currently in the process of constructing a list of the best sites through which to make money
online and would like people to take a look at the sites I have added so far. I am obviously still a
long way of completing it but just wondering whether people think it is a good site / idea
http://makeeasymoney247.blogspot.com Also if you have not yet signed up to ClixSense I would
highly recommend it. You can join for free but you are better of paying the small $10 yearly
membership fee as this will bring you a ton more paid adverts - more than any other site I ....
Since January, hackers have hit hit over 500,000 website, with everything you could possible
imagine; viruses, trojans, malware etc etc. As for the types of websites, sadly to say, these
websites who are getting hit are running PHPBB forum and the worse part is htey don't mention
which version of the phpbb forums are getting hack. So it is safe to say any version below 3.0 is
hackable and maybe even 3.0 itself. As for some of the stuff that is being transmitted are old and
new, but one trojan has been identified and it is the Zlob Trojan or rather variations to th....
Hey everyone! i just wanted to tell you guys how i added my paypal button to my site! if
you go to apolopedia.com, you can see that i have a paypal button above my ads on every page. I
still use the monobook skin, so i went into the skins and edited my php... i basically just added my
paypal code above the advertisements header in the coding so that it will display there.... i would
like it more towards the top but i dont want to mess with it too much. /** * MonoBook nouveau *
* Translated from gwicke's previous TAL template version to remove * depe....
I can't delete a little file using file manager in Cpanel. I'm trying to delete a .png
image, actually, I'm trying to replace it. The response comes back as a success, but when I
reload my site it's still there. Then I go back to the file manager and go up a level, then back
and WOOP! There it is! I'm beyond frustrated here. What is going on?....
Hi everybody! I have made webpage were I have collect now over 700 ptc-sites. I have put
information of pages what I have found so easy to compare were you get best money. You deside by
your self witch is best to you to try get money. http://personal.inet.fi/business/ptc/ptc.html ....
For a website that offers such good free hosting, youd think there own site (minus the forums) would
be better designed. Having been to a lot of free hosts websites, this one does fall in the the
common trend that free host themsleves have a confusing, cluttered homepage. This is possibly due to
there attempt to cram in as much offers and details on the one page as possible. I suggest to
improve this site, it should take advantage of percentage width of tables to utilize the full width
of the users screen, without reducing experience for those with smaller screens. Hav....
I have been using the site http://www.w3schools.com/ for quit some time now, and i really really
like it it helps allot if your a beginner and has allot to offer if you have some webdesign
knowledge. At W3Schools you will find all the Web-building tutorials you need, from basic HTML and
XHTML to advanced XML, SQL, Database, Multimedia and WAP W3 publishes a series of tutorials, though
most web developers are unaware of it. Mainly, though, W3C's site houses a collection of
proposals, drafts, and Recommendations, written by geeks for geeks. And when I say geeks, I d....
This is regarding the support ticket RZS-462155. I believe all the servers went offline when the
upgrade/migration was being performed. Early my morning, I was told that it would return to normal
with in 6 hours or so. I checked again and my sites hosted at ComputingHost.com ( www.wisetome.com
, kalaalog.com and couple more) are still coming back as "Server not found" on the browsers. More
than 12 hours had passed when I tried the Online support. A person 'D.J' responded saying
that the upgrades/migrations were complete, but my sites were still not up. He jus....
Hello folks, i am thinking to create a new directory.So just want to know any good script
available?or anyone personally coded it? or any of the trap member have actually created directory?
i would like to view it. and ask few doubts that i have. please do reply to my query thanks in
advance people.....
Hi: Submission in free directories is a world-known way to increase ranking and traffic. But most
of you don't know a good source of that list of directories. Here is a great source of free
directories list . Just start submission in those directories in your free time, and see you
ranking.......
I am trying to do a simple thing. I want to display all the images of a directory on a single page
with the checkbox next to each image, so that i can select multi images and i can delete selected
images. Following few lines of code display the images of a directory.. i need help to put the
check boxes with each image. and I dont understand how can i select multi images with check box and
then delete them. I hope someone can help. thanks. CODE <?php $path = "./";
$dir_handle = @opendir($path) or die("Unable to open folde....
Check out this list of 1 cent per click programs. With them you can make some extra cash on the web.
Everything is simple! You click a link and view a sponsor's website for 20-30 seconds to
earn money. You can earn more by referring friends. You'll get paid $0.01 for each website
you personally view and (in most of programs) $0.01 for each website your referrals view.
Payment requests are usually made within a week and are processed through PayPal (some may also have
AlertPay, AlterGold, LibertyReserve, MoneyBookers and e-gold option). Click He....
Hey, I'm amazed and exciting to see this forum, because I think i can make a lot of money online
(I'm a newbie here). So could you help me to find the free frelancer sites for me to work at ?
I'm quite skilled at graphic design. Thanks before....
I start this topic for us to post free sms working site. If anyone of us have a free sms site that
works, don't hesitate to post it here! Thank to all of you to participate. /wink.gif"
style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /> EDIT--- Kindly give
description about the SMS site, if possible :-)....
I'm not sure if this goes here. Sorry if it's the wrong place. lol /tongue.gif"
style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" /> I joined three neat sites
this week: Zantarni, Menewsha and Elyzeria. Elyzeria This is a cool site. It's not
avatar-based, actually. You make three characters on your account and they can have a certain class
(mage, healer, or warrior). And they can be either a human, elf or dwarf. You have to feed them and
basically improve their stats. You can go on quests. There's a whole lot more to it. I'll ....
Ok so if you have a mobile website, or wapsite as they are called and want to make money off it just
like you do with google adsense, and other ways aswel them here i an to tell you 2site where you can
make money off your wapsite. First is playfon at www.playfon.con where you sign up for their
affiliate program and sell their mobile products on your wapsite to your visitors and you get some
money for any sales Now i have yet to earn any money from this yet but all you do is sign up and
put links on your site and when users buy any mobile content including themes, pics, ....
Check Referrer Using Php To Prevent People Linking To Your Downloads From Other Sites Ever
find that found some people are listing items, images and tuts and linking directly to the download
url (those that are like my photoshop tutorial.php?id=0), which is a .php to count the number of
downloads. To prevent this, you can add a piece of code to the download pages that checks which page
referred them to the download page: if it's my domain, it downloads the file normally, if
it's not, it will redirect to my home page instead. Important : Not all browser....
This tutorial shows you how to download videos from sites like YouTube, Google, Break etc, which
runs is in the extension of .flv(Flash Video), and then convert it to .avi or .mpg format. First of
all, go to http://keepvid.com This site support the download of the sites listed below. QUOTE
Angry Alien, ArtistDirect, Blastro, Blennus, Blip.tv, Bofunk, Bolt, Break.com, Castpost, Current TV,
Dailymotion, DevilDucky, FindVideos, Free Video Blog, Google Video, Grinvi, Grouper, iFilm, LuluTV,
Metacafe, Midis.biz, Music.com, MusicVideoCodes.info, MySpace, MySpace Video ....
cyber crimes police in india are considering blocking blogs and certain sites which they believe are
being used by terrorists to communicate with each other and it sure is going to create a lot of heat
within the blogging community in india,i am not a blogger but i dont think people like al qaeda or
their affiliates will be using internet to communicate within themselves because they are
intelligent and they know every conversation whether in codes or not can be traced back to them , i
just dont think any big fish will use such risks but on the other hand small time al q....
Well i had made this project some years before. It is a telephone directory which has a very good
User Interface operatable with scroll key. This code can be usefull in learning about file handling
and User Interface. CODE #include <stdio.h> #include <box.h> #include
<conio.h> #include <dos.h> #include <stdlib.h> #include <bios.h>
#include <graphics.h> FILE *fp; addnew2(char [],char []);
prnd(); deleteit(); info(); pl(); checkcmd();
showall(....
My university lately instaled a firewall that prevents us from accessing certain websites I heard
there are some proxy websites that will enable us to circumvent this firewall can you post some
links of such websites? /laugh.gif" style="vertical-align:middle" emoid=":lol:" border="0"
alt="laugh.gif" /> /laugh.gif" style="vertical-align:middle" emoid=":lol:" border="0"
alt="laugh.gif" /> Edited topic title & description ....
first of all i just wanna say YAY for being the first to post on this category =) but neways i have
a website ive been working on hosted by 95.mb its wut i find to b the best for my uses so far....so
hopefully when i can i can get some space from this site n see wut the differences between both
sites according to wut your able to do....
Need a new game but don't wanna/can't buy one? There are lots of free games out there that
can be as fun as and addicting as commercial ones. Don't expect amazing 3D graphics or cutting
edge technology though. So here are some free games sites: Acid Play Game Hippo ....
is there a php function that lists the content of some folder.... example: /New folder new.txt
left.gif download.zip dc.exe ....so is there..? /rolleyes.gif' border='0'
style='vertical-align:middle' alt='rolleyes.gif' /> ....
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
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.