Joomla Templates shop

Premium Template

Search files

Search For: 
Search File Titles: 
Search File Descriptions: 

Categories

CategoryJoomla 1.0x(317)
CategoryJoomla 1.5 Downloads(73)
CategoryWordpress Theme(35)
CategorySEO(12)
CategoryAdsense(11)
CategoryGraphics(11)
CategoryMenu for joomla(9)
CategoryEbooks 4 joomla(6)

Newest files

Date iconSep.22

Demo Meet the latest advanced free Joomla template by Themza! Mini Website-Builder is here to h...

Date iconSep.03

BUSINESS Solutions Template Features1 Clean & Professional Design.2 XHTML 1.0.X Transitional...

Date iconSep.03

Demo here Business Solution

Date iconSep.03

Display latest news like yahoo homepage. 1. Name tabs as you want 2. select how many news you wan...

Date iconSep.03

This is module for Latest News with Accordian effect from mootools. Parameters 1. Count 2. Order ...

Date iconSep.03

This is the module which shows the profiles of latest three registered users.

Date iconAug.31

Mambot for joomla 1.0x

Link

javascriptbank
Jet-Source-Code
Home arrow Tutorials arrow File Permissions
File Permissions PDF Print E-mail
Written by Administrator   
Thursday, 01 March 2007
A common problem people experience is "Permission denied" error when trying to edit files in Joomla.  This tutorial will explain the details of file permissions through an example of Joomla running on a UNIX.
Before we start on Joomla, let's get the very basics of UNIX file permissions.  Each file on UNIX has an owner and a set of permissions.  The permissions specify what the owner, the users in the owner group, and everyone else can do to the file.  The owner (and a superuser or root) can change the permissions.  By default, the owner is the creator of the file.  And the default permission is usually user read and writable and everyone else read only (644).  It is important to understand these basic concepts.  You can read more on Unix file permissions here.

Now for Joomla, on a typical installation, you unzip the files first, then FTP them to your server, then you (or the username you used to login to FTP) are the owner of the files.  The web server is usually running under user "apache" or "nobody", it can read the files, but cannot modify them.  This is why the Joomla web installer asks you to change permissions of certain files to world writable (777 or 666).  This is so that the installer can change certain files.

After Joomla is running, you typically install templates, components, modules through the Joomla web administrator interface.  Now, these files are created by the web server user.  When you login to your server through FTP or SHELL, you often cannot modify these files.  If you have shell and root access, you can login as root and change the file permissions.  A better way is simply install MamboXplorer and use that to change the file permissions.  This works because MamboXplorer is running through the web server.  MamboXplorer has a nice editor in there so that you can edit files directly.  But MamboXplorer will not be able change Joomla core files, which are owned by you (or your FTP user).  So solve this, you can change the permission of files through FTP to be world writable.


Now you can edit files, what about security.  Yes, it is not recommended to leave a bunch of files to be world writable.  This is especially true on shared hosting.  I won't go into the details of that in this tutorial.  I would recommend that you change all files to your own user and edit the files through FTP or SHELL access.  You lose the convenience of editing the files anywhere you want, but hey security is always inversely proportional to convenience.

Thanks. 

Hits: 3000
Comments (0)Add Comment

Write comment
quote
bold
italicize
underline
strike
url
image
quote
quote
smile
wink
laugh
grin
angry
sad
shocked
cool
tongue
kiss
cry
smaller | bigger

busy




Reddit!Del.icio.us!Facebook!Slashdot!Netscape!Technorati!StumbleUpon!Newsvine!Furl!Yahoo!Ma.gnolia!Free social bookmarking plugins and extensions for Joomla! websites!
Last Updated ( Thursday, 29 March 2007 )
 
< Prev   Next >

Polls

Best hosting for joomla
 

Most download in 10 day

Date iconFeb.06

The skeleton template is exactly what it says on the tin - a blank template intended to provide t...

Date iconJul.22

This is a nice little web 2.0 clock developed as a Joomla module. The actual size is shown here ...

Date iconJul.25

Shows current date,time and day of the week, with "fade effect" Six color option: Blue...

Date iconAug.29

Demo

Date iconMay.05

Date iconDec.15

Newsflash

Freqently people want to know how to customize the free templates that come with Joomla.  And, knowing how to do some template customization is an important Joomla skill to have.

A frequent question on the Joomla forums is, "how to I change or remove the "footer" text on a template."

It might be a "Template by ---- " or "Powered by Joomla"  or something like that.

Read more...