homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque

Webmaster General Forum

Is it safe to make my sitemap.xml writable?
It rejects 755 it accepts only 777

5+ Year Member

Msg#: 3527587 posted 11:38 am on Dec 14, 2007 (gmt 0)


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?




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

Msg#: 3527587 posted 3:01 pm on Dec 14, 2007 (gmt 0)

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.


5+ Year Member

Msg#: 3527587 posted 3:15 pm on Dec 14, 2007 (gmt 0)

Hello lammert,

It is dedicated.

So it is safe.


Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved