Finding And Chmod The Www Folders
i need to find al www folders within home directory with 777 permissions and need to chmod to 750.
if possible post the command to do it
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Site Www Does Not Work But Without Www Does
Like the title says, I just moved my site over to my own server, and it is running cpanel. Anyways the main site [url]works, but [url]does not. What is really strange is, [url]works fine as does [url] So I figure there is something I have to do to get it all to work right. The other issue is that if you are logged into [url]but goto [url], you are not logged in anymore, but if you go back to the original link, then you are still logged in. This happened on the other guys server before with the main site as well.
View Replies!
View Related
Getting Www.domain.com To Work, Domain.com Resolves Correctly, Just Not With Www
Okay guys, a quick question for all the gurus out there. I'll admit I'm a bit embarassed posting such an easy question, but give a guy a break, I've been using managed servers for god knows how long and I've finally decided to take a dive into administration. Everything is firewalled and secured properly, I'm just having trouble getting the ServerAlias to work right. What happens is I go into my browser and enter in [url]walaa! It works. Now, when I enter in [url], it does not resolve. I have checked with "dig" the domain settings and it looks as though all of the nameservers are set up fine, this is an apache problem. I'm running apache 2.2 on Ubuntu 7.10 for all those who are interested. Here is my etc/apache2/sites-available/domain.com: <VirtualHost *:80> # Admin email, Server Name (domain name) and any aliases ServerAdmin webmaster@domain1.com ServerName domain.com ServerAlias www.domain.com # Index file and Document Root (where the public files are located) DirectoryIndex index.html DocumentRoot /home/demo/public_html/domain.com/public # Custom log file locations LogLevel warn ErrorLog /home/demo/public_html/domain.com/logs/error.log CustomLog /home/demo/public_html/domain.com/logs/access.log combined </VirtualHost> I've been messing with it for about 45 minutes and I'm worn out at ~4:30am and could use a helping hand from the pros.
View Replies!
View Related
Chmod
I have a server running php 5.2.4 with CGI as Server API and suexec, but I cant create dirs in php with chmod 755. When I use mkdir("/home/user/public_html/$dirname", 0755); it creates the dir with chmod 744. Why? I can change later this chmod to 755 in php with the chmod function. But why my server doesnt allow the directory to be created as 755? Where can I configure it?
View Replies!
View Related
Chmod Using Shell
I was wondering if it were possible to chmod a directory that is set to a low number to 777 using a shell or command and if so can anyone point me in the right direction as to how to go about doing so ??? I am trying to learn a little and i pefer using my browser to edit files rather then a ftp client.
View Replies!
View Related
CHMOD For Files
I just moved my folder_A from computer A to computer B, what is the command to change the permission of owner, access, group for every files in that folder_A at 1 time? in the folder_A has hundred of files. Let's say , i want to change owner = laptop, access = read and write, group = user, access = read and write , what is the specific command to do that for all the files in folder_A at 1 time?
View Replies!
View Related
How Do You Avoid Using Chmod 777
I know you're not supposed to use 777 but it seems some scripts just simply won't work without it, what steps needs to be taken to avoid using 777? as far as i understand we're only supposed to use 775 for folders and 644 for files correct?
View Replies!
View Related
Chmod 777 Vs 755
I've just moved from a reseller account with ResellerZoom, so a VPS with SolarVPS. When I was with RZ all my scripts could write to folder with the 755 permissions. On the vps I have to alter the folder I want the script to write to to be 777. Which the is best and most secure? I think I understand that if a folder is 777 then anyone on the server can write to that folder. So I assume some sort of thing that stops users being able to access folders outside of their own folders is needed? is that right?
View Replies!
View Related
How To CHMOD? Sever Security Best Practices
I have my web server hacked several times and I am beating my head against the wall trying to find the problem(s). Way back when my sites have been defaced and CHMODing my *.html files to 744 seemed to have done the trick Now someone has put a phishing site somehow, which by the way I'm not able to remove still, I can't help but to think that I may have more CHMODing to do, I have recursevly set my site to 755, shoud this do the trick? I know I need to chmod .htaccess and alike files to 644, but what about...imagesCGI/PHP?cssetc? What other steps can I take to secure this thing? it's a shared host, limited access, but I do have SHELL.
View Replies!
View Related
Auto CHMOD Script Running In The Background
I am attempting to setup a script which will automatically append the proper file permissions [posix & acl's] to any new files on certain folders that I specify. Someone Recommended find /Users/Kevin/Desktop/TRANSFER -type f -exec chmod 777 {} ; This only seems to run once and when new files put in I have to have the script run every so often as a cronjob, I really just want to have a script to change the permissions of files going into a folder.
View Replies!
View Related
Chmod Choices With Php Writing To A File
My account has been hacked with every index.php page defaced. I've cleaned up and my shared wehost is pointing at me saying there shouldn't be any 777 permissions for any files in there. I used 777 to allow php to add records in a txt file and in an xml file. Is there a better / more secure chmod code I can use? Those are the only two instances where I need php to write to a file and those files shouldn't be served to anyone, I do not want anyone to be able to access them. How can I secure them while letting php write in them?
View Replies!
View Related
Chmod All Occurances Of A File System Wide
How do I sweep my entire server and chmod a particular filename located in the cgi-bin to either 0, 755, etc? For example, to disable a particular perl script running on my system on over 100 accounts in the /cgi-bin/file.cgi I want to chmod the file on every account that it comes up on that /cgi-bin/file.cgi needs to be chmod'd to 0. Anyone know how to do this thru ssh or another method?
View Replies!
View Related
Cannot Perform 'chmod' On FTP Client Software Interface
I got a VPS with Linode and I have installed CentOS 5.2 32-bit, Apache, MySQL and ProFTPd. The server itself runs very OK, however, I have issues with running 'chmod' on the user interface with either FileZilla or CuteFTP pro. Whenever I try to chmod 777 on a directory, I got this error on the FTP client interface: Quote: Command:SITE CHMOD 777 includes Response:550 CHMOD 777 includes: No such file or directory Why no such file or directory? weird. It's just on the server though. The FTP user is the owner/group of the directory I try to chmod to. But I am able to run chmod on Putty.
View Replies!
View Related
PHP: Uploading As Apache User, And Chmod 600
I've recently moved to a new server in which I don't have root, so bare with me. For some reason when I upload a file with 'move_uploaded_file($tmpName,$new_filename)', it seems to work fine - but when I check it, try to download it (http or ftp), or change the permission - I can't, because its set to 600 for some odd reason, and owned by the user Apache is setup on.
View Replies!
View Related
Finding Spammers
trying to find a spammer on my system, who just sent out and is still sending out 4000+ emails... i have a centos vps with whm. looked at exim_mainlog, there's nothign telling. the message body is visible, but the links it points to arent' hosted by me. there is no return address, its sending mail as nobody. phpsuexec is not an option.
View Replies!
View Related
Finding The Right Host
I were already at two paid hosts and had no good experience. Then I have tried a few freehosts and saw a lot of rubbish. I searched and searched, chatted to support chats of hosts - but no luck yet! then I came here and now I ask you to find a right (US) hosting service... First I tell you what site I have, that you can truly estimate: I have a private website and on it are many photoshop pictures for the design of my website (15kb-200kb per picture). I offer 3D models for binary downloading in zip files (filesize 1 MB - 15 MB each). I need html, php, SSI, mysql, phpmyadmin, .htaccess and cpanel. I have alexa tracking, google ads and few other javascript tracking providers on my site which are loading heavy according to my former hosts opinion. I have few banner ads, popups, flash animations, the usual things on a site that it looks good to gamers. Gamers are my main audience. Diskspace used: currently 500 MB.* Bandwidth: currently 150 GB / month* Daily unique hits / pages: 15000.* * Those values might grow in future. Optional I have a bb forum for responses and questions installed, but I would reduce to HTML only, if it would be needed. One host kicked me out without warning because of bandwidth / CPU, before I have used the bandwidth limit specified in my hosting plan. Another one threw me out without notification because of 'abuse of server resources', whereby the reason or script has been not specified. In both cases I have no clue what I had to do about. I have only HTML, a MYBB, pictures, javascript, one database and lots of traffic ofc. Now I need a host who is willing / able to host that. It's a private non-profit site, so the costs should be adequate. I think I'm unable to go dedicated by fees, it should be still shared hosting. My competition has similar sites, even larger. They host for free or for shared fees. I cannot ask them and didn't find out where they would host. A domain I have already. Need just the DNS servers to point to a new host.
View Replies!
View Related
Finding This File
finding this file iam stuck in middle of install,that install need the below file i tried in google i cant find it can anyone help me to find the file ffmpeg-SVN-r14473.tar.gz
View Replies!
View Related
Help Finding Bottleneck
Response time from my web server (running LAMP) was really slow this evening. mpstat showed nothing, CPU hovered under 5%, mem usage around 25%, iowait minimal. mysql processlist was mostly idle, no slow queries logged. Only other thing I can think of is the connection from the host itself? (Not my local connection as multiple users complained about slow performance.) Concurrent users was higher than average, but shouldnt this manifest itself in higher CPU util? My question was, is there something besides network latency I could be looking at? If it is network latency, what's the easiest way for me to confirm this? A simple ping?
View Replies!
View Related
Finding The Space
I have a VDS with 20GB drive, currently its running at 81% capacity, I have looked around but am of the opinion its not the accounts that are using that much space. Is there a simple method of finding out whihc folders are using all the space?
View Replies!
View Related
Finding The Right Free Hosting
I have searched the internet all over , to find a web host that offers : FREE Domain Mapping Full support of Wordpress << MySQL , PHP Send mail Hot linking enabled Great uptime Decent bandwidth speedy servers NoOo Ads , and the ability to put mine did it mention it should be?
View Replies!
View Related
Finding The Server Hog
Anyone got any special programs or tools they use to find out what specific account and domain is abusing server resources? I am running WHM/cPanel latest build along with the latest Apache, PHP, and MySQL.
View Replies!
View Related
Research - Finding A EU Provider
I'm doing some research into EU data centres and was trying to find a list of good, reliable centres that offer good speeds to, and around, the whole of Europe - especially the UK. The provider we currently use is LeaseWeb (NL), who have been very good, however, due to their servers being a very specific specification and currently not what we're looking for, we are looking for a good replacement. I don't think I would like a centre that is located in the UK, whilst it would be better for us, it would not benefit all of our customers - a host somewhere in the middle would do great.
View Replies!
View Related
Finding Dedicated Host
Currently have the following and pay $134 a month: OS: CENTOS 4.7 Hardware: AMD HP A64 4200 DC/2GB/250GB SATA Bandwidth: 1500GB Control Panel: cPanel + Fantastico IPs: 5 Useable Location: US I don't like my host, and would like to move to a similar price point with a new host. I am capable of managing almost all aspects of my server, only the initial configuration of things like PHP sometimes throw me.
View Replies!
View Related
Finding Shared Hosting
This is my second time finding for a shared hosting. I am with ASMALLORANGE now, not that happy with it. I will post a review later on. I need to host 3 sites, A static website; two wordpress.500mb space; 10gb bandwidth; 5 or more each for add-on domains; subdomain; email; sql etc. Prefer to pay around $7USD. A buck more is alright.
View Replies!
View Related
Finding A Fast Host
I have a site that is currently hosted in Australia and loads relatively quickly there , but it is very slow in Uk and France. Eli kindly set up a trial at blurstorm but I am unhapy with the way it loads in australia which is its primary audience. how to get my speeds up with the site? ATM there is a 2.8 mb swf file that loads in about 5 sec in aus but about 20 in europe. Blurstorm is faster in europe(france)but unacceptably slow in Aus. Is blurstorm considered fast servers on their reseller plans? Or do I need to upgrade my expenditure to get what I want?
View Replies!
View Related
Finding FTP Path
I'm trying to transfer a cms from 1 site to another and I don't know the full ftp path.. I'm looking for the "/public_html/username/blank/blank/sitefolder" or something similar.. How do I figure this out?
View Replies!
View Related
Finding Out Mysql Port
as you can see on my status2k 3306 is not my mysql port number. I cannot for the life of me figure out what it is. I don't remember changing it and my host will not help me figure out what it is. I have root login and it's running centos and cpanel.
View Replies!
View Related
Finding 3000GB BW In California
to fire up a P4 in California to target Asia. GBLX or Sprint or AT&T transit is a must. The usage for this server would be a ~7mbps average with 5 hour daily bursts up to 20mbps(comes out to around 2300GB). PacificRack seemed perfect for my needs, but won't answer sales emails...I've read good things, but i'm worried about signing up. My budget is around $200, this shouldn't be a problem right?
View Replies!
View Related
Finding What Makes Up All That Bandwidth
I got a cPanel notification that one of my client's had exceeded their bandwidth and so the site was down. Checking, I found in AWStats that nearly 400+ MB was web traffic. It looks normal to me. However, AWStats simply grouped them all together under 'Others' without providing clear details. Is there any other way I can find out what made up that 400+MB traffic?
View Replies!
View Related
Annoyed With Finding A Host
I know everyone has to make a living, I get that. But I am having a hard time wrapping my head around why I must pay $15 per month extra to a host for ram upgrades to the dedicated servers I am pricing out. Seems like a nickle and dime thing to me. I don't understand how people can charge like they do. I suppose if your not on contract that they have to cover their ends but maybe I am just missing the point or looking for too good of a deal.
View Replies!
View Related
C99Shell Folders?
I found these folders in the root /usr/bin/c99 /usr/include/boost/numeric/interval/detail/c99_rounding_control.hpp /usr/include/boost/numeric/interval/detail/c99sub_rounding_control.hpp what are these ? is it normal folders ? or somebody hacked our server? what shall I do?
View Replies!
View Related
Nobody Folders And Delete
when people run a forum and the template and forumdate folders may created some files with nobody permission, the user could not delete them by the user themself, and need admin login as root with ssh to delete those, and let the files permission can run as the user instead of nobody. the server is centos with cpanel and suexec.
View Replies!
View Related
.htaccess And Folders
In the public_html directory, I have php_value user_agent "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0" <IfModule mod_security.c> SecFilterScanPost </IfModule> <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / Errordocument 404 /404.html RewriteCond %{REQUEST_FILENAME} !.(jpg|jpeg|gif|png|css|js)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule .* index.php [L] </IfModule> Then I created a new directory named caller There is an exact same .htaccess in public_html/caller However, the .htaccess in the public_html directory rewrites all request to index.php .htaccess in public_html/caller rewrites all request to /caller/index.htm The thing is when I access [url] whatever the one that's called is /public_html/index.php How can I arrange so that the one called is /caller/index.htm?
View Replies!
View Related
Finding Which Disk Device Is A File Is On
programatic/scriptable way to find out which disk a file is on. For example, if I look at the output of: stat /root/.bashrc I see: File: `/root/.bashrc' Size: 1298 Blocks: 16 IO Block: 4096 regular file Device: fd00h/64768d Inode: 13991942 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2008-05-18 09:19:14.000000000 -0400 Modify: 2007-12-18 09:19:54.000000000 -0500 Change: 2007-12-18 09:19:54.000000000 -0500 So I can see this is on device 64768, but how do I get from there to knowing that 64768 is really /dev/sda1, where in this example, I know the file actually is? Overall, I want to resolve from the filename which device in the output of iostat contains that file - I don't necessarily have to go through stat, but it looks like a promising starting point.
View Replies!
View Related
Finding/installing GD Graphics Support
I've just moved to a new dedicated server and need help finding and installing GD graphics and Imagemagick application. Anyone who know about where to find or install these modules please provide me some help. My box has PHP version 5.2.5 installed. It only need GD graphics or Imagemagick for the photopost gallery to work.
View Replies!
View Related
Finding All Sites On A Shared Server
One of my clients sites has just been hacked and im pretty sure its through the hosting and not the scripting, although the host us not being very helpfull. What I want to do is see what other sites are on the shared account to see if any of them are having problems. As a coincidence the server has 'gone down' not long after being hacked which makes me think the host has pulled it. I remember years ago (at least I hope I didnt dream it) that a website told me all the other sites on my server, probably by using some kind of reverse lookup on the IP, servers are not my strong point so I dont know. where I can find this tool,
View Replies!
View Related
|