Welcome to WebmasterWorld Guest from 54.166.222.116

Forum Moderators: phranque

Message Too Old, No Replies

Is it safe to make my sitemap.xml writable?

It rejects 755 it accepts only 777

     
11:38 am on Dec 14, 2007 (gmt 0)

5+ Year Member



Hello,

I have created a sitemap for my blog.

In order to build the sitemap at the first time it tells me to change some permissions:

================================
The sitemap files could not be written!

Make sure that the files "sitemap.xml" and / or "sitemap.xml.gz" are writable. You have two options to ensure this:

* Make your blog root writable
You can make your whole blog root folder writable and the plugin will create the files for you. You can do this by using a FTP program and setting CHMOD to 755 or 777 to your web-root folder. This folder is often named "htdocs", "html", "public" or "httpdocs".
* Create the sitemap files and make them writable
If you can't make your blog root folder writable or don't want to do so, you can create two new files, name them "sitemap.xml" and "sitemap.xml.gz", upload them to your blog root and use a FTP program to apply CHMOD 755 or 777 to them. To create these files, simply open Notepad, click on "File > Save As", choose "Filetype: All File" and enter "sitemap.xml" as the name. Repeat this step for "sitemap.xml.gz".
================================

I tried 755 for sitemap.xml.gz and sitemap.xml but without success until i changed it to 777.

With 777 it is ok but ... Is it safe?

Thanks

3:01 pm on Dec 14, 2007 (gmt 0)

WebmasterWorld Senior Member lammert is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



Are you running your blog on a shared webserver, or on a dedicated server that you administer? On a shared account, the setting 777 allows all other account holders of that webserver to write whatever content in that file that they like. On a dedicated server it would be relatively safe to do.
3:15 pm on Dec 14, 2007 (gmt 0)

5+ Year Member



Hello lammert,

It is dedicated.

So it is safe.

Thanks.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month