MOBILE 02 PHONES

mobile 02 phones

CHEAP NEXTEL PHONES FOR SALE WITHOUT PLAN

cheap nextel phones for sale without plan

6500 NOKIA COST

6500 nokia cost
MOBILE RING TONES FREE AUSTRALIA
mobile ring tones free australia

VERIZON CENTRAL EMAIL LOGIN

verizon central email login

BT PHONE BOOK RESIDENTIAL NORTHERN IRELAND

bt phone book residential northern ireland

CHEAP MOBILE PHONES PAY AS YOU GO VODAFONE

cheap mobile phones pay as you go vodafone

ULTRA MP3 PLAYER FOR NOKIA 6600 DOWNLOADS

ultra mp3 player for nokia 6600 downloadsCHEAP NEXTEL I860 PHONE cheap nextel i860 phone
NOKIA RINGTONE FREE DOWNLOADS
nokia ringtone free downloads

LG MOBILE CHOCOLATE PHONE PRICE

lg mobile chocolate phone price
NEXTEL I870 ACCESSORIES MUSIC FEATURE AUDIO
nextel i870 accessories music feature audio

FREE RINGTONE DOWNLOADS FOR NEXTEL I710

free ringtone downloads for nextel i710

PALM HARBOR MOBILE HOMES FOR SALE IN ALVARADO TX

palm harbor mobile homes for sale in alvarado tx
BUY USED CELLULAR SOUTH CELL PHONES
buy used cellular south cell phones
CHEAP SAMSUNG D600 MOBILE PHONES
cheap samsung d600 mobile phones
NOKIA FREE RINGTONES MALAYSIA
nokia free ringtones malaysia

CELL PHONES NEXTEL

cell phones nextel
SAMSUNG 32 LCD TV LE32R32B REVIEW
samsung 32 lcd tv le32r32b review

MANCHESTER NH VERIZON WIRELESS ARENA

manchester nh verizon wireless arena

A300 BATTERY MOBILE PHONE SAMSUNG

a300 battery mobile phone samsung
CHEAP MOTOROLA CELL PHONES CINGULAR
cheap motorola cell phones cingular

LG GSM MOBILES PHONES

lg gsm mobiles phones

MOBILE FREE DOWNLOADS THEMES

mobile free downloads themesGSM NOKIA PHONES FOR SALE gsm nokia phones for sale
NEXTEL I860 RELEASE DATE AND PRICE
nextel i860 release date and price

MY K800I FREE THEMES MOBILE PHONE

my k800i free themes mobile phone

FREE POLYPHONIC ARABIC RINGTONES DOWNLOAD

free polyphonic arabic ringtones download

FREE ALLTEL RINGTONES FOR KYOCERA KX16

free alltel ringtones for kyocera kx16
FREE DOWNLOAD RINGTONES FOR NOKIA 3220
free download ringtones for nokia 3220

YAHOO TEXT PC TO MOBILE

yahoo text pc to mobile

SAMSUNG TV DLP 42

samsung tv dlp 42

YAHOO EMAIL SETTINGS MOBILE PHONE

yahoo email settings mobile phone

ALL GSM NOKIA PHONES

all gsm nokia phonesNOKIA N80 PHONE DEALS nokia n80 phone deals
WINDOWS MOBILE 5.0 THEMES
windows mobile 5.0 themesFREE THEMES NOKIA N73 MUSIC EDITION free themes nokia n73 music edition

MOTOROLA PHONE TOOLS 4.0 HELP

motorola phone tools 4.0 help
HOLIDAY HOMES MOBILES
holiday homes mobiles
FREE CTU 24 RINGTONE NOKIA
free ctu 24 ringtone nokia
REVIEWS ON MOTOROLA BLUETOOTH CAR KITS
reviews on motorola bluetooth car kits
IRVINE CA MEADOWS VERIZON WIRELESS AMPHITHEATER
irvine ca meadows verizon wireless amphitheaterDOWNLOAD FREE MOBILE RING TONES download free mobile ring tones
DOWNLOAD 6680 NOKIA THEMES
download 6680 nokia themes

VERIZON FIOS EMAIL ACCESS

verizon fios email accessMOBILE TV TUNER DVB H mobile tv tuner dvb h

DOWNLOAD ALLTEL RINGTONES TO MY PHONE

download alltel ringtones to my phone

BELLSOUTH WHITE PAGES REVERSE PHONE LOOKUP

bellsouth white pages reverse phone lookupWHAT IS MY TMOBILE EMAIL ADDRESS what is my tmobile email address
HOW TO SEND EMAIL VERIZON CELL PHONES
how to send email verizon cell phones

ALCATEL MODEMS

alcatel modems

File permissions on unix servers for windows users

Introduction

I learned about file permissions the hard way. I was trying to install and run CGI scripts on my newly-aquired unix server and was just using the cpanel file manager for some file management and a a browser for ftp.

So I tried to find out what 0777 and FTP permission0644 meant. And I ended up reading about chmod and -rww and all sorts of things I wansn’t interested in.

So here’s help for non-geeks to change permissions using your normal browser and tick boxes.

What are permissions

Permissions tell the server whether to allow the person who is trying to access a file or folder whether to allow them to read, write/modify or execute/run a file.

Their permission to do this depends on who they are- whether they are the owner/webmaster, part of a priveledged group, or just a normal web user.

So there are 9 options- three groups and three permission options for each group. Each permission can be either allowed or not.

There are various ways of recording/coding permissions. In the table below, the three-number code system is summarised with an example for a normal html web page:

Group Can read can write can execute normal file permissions
Owner/user 4=can 0=cant 2=can 0=cant 1=can 0=cant read/write = 4+2+0 = 6
Group 4=can 0=cant 2=can 0=cant 1=can 0=cant read only = 4+0+0 = 4
All users/world 4=can 0=cant 2=can 0=cant 1=can 0=cant read only = 4+0+0 = 4
typical settings everyone can read only user can write nobody can execute  

As you can see, 644 is normally the setting used for files on a unix server. This is when the owner can read and write to the file and anyone else can only read it. 644 is the sum of the numbers for read (4), write(2) and execute (1) options.

To give another example, some scripts require a log or cache file is writeable by all, thus the permissions matrix is as follows:

Group read write execute sum
owner/user 4 2 1 7
group 4 2 1 7
all users/world 4 2 1 7

Finally, most folders should normally be set to 755 so that if there are files in the folder that need to be executed such as scripts etc, this can be done by anyone, but only the owner can put new files into the folder (write).

Group read write execute sum
owner/user 4 2 1 7
group 4 0 1 5
all users/world 4 0 1 5

A very simple guide to using a browser to set permissions

  1. Log on to the website. The address is in the format ftp://ftp.your-domain.com or ftp.your-domain.com. A” target=”_blank”>ftp://user@ftp.your-domain.com. A box will pop up where you enter your login name and password.
  2. Upload or navigate to the folder or file you wish to modify the permissions of.
  3. Right-click on the file or folder
  4. Select “Properties” from the right-click menu (in windows). In unix select “CHMOD”
  5. Change the permissions as you require by ticking the boxes. The box looks like the picture above
  6. Click the “OK” button to complete.

Advanced methods
Without going into too much detail, on some systems, such as webservers, scripts are not allowed to run by default, and scripts are not allowed to create, change, or modify files or directories by default. As a webmaster, you have to explicitly allow such kind of access, and CHMOD is what you use to change these settings. The CHMOD function can be done using the command line (if you have such access to your webspace), but more easily, using your FTP client. Most good FTP programs have such a feature, and it is usually found using the context menus (right click menu). If you want a good FTP program, have a look at the freeware page. Additionally, most web servers have an online web-based file management program which allows you to modify permissions.

To use a chmod in a command-line program to change permissions of the file index.htm to 644, navigate to the correct folder on a unix server then enter

chmod 644 index.htm

Alternate coding systems

The permissions may also be coded with letters, as summarised below

Group Can read can write can execute normal file permissions
Owner/user r =can - =cant w=can -=cant x=can -=cant read/write = rw- or 6
Group r =can - =cant w=can -=cant x=can -=cant read only = r– or 4
All users/world r =can - =cant w=can -=cant x=can -=cant read only = r– or 4
typical settings everyone can read only user can write nobody can execute summary: rw- r– r– or 644

Tips and tricks

To keep files private for only you to read, the settings are 600 (you can read or write, others cannot do anything) for a file or 700 for a folder or executable file. To allow others in the same group e.g. admin group to have the same permissions as you, the normal settings would be 664 rather than 644 for a file and 775 rather than 755 for a folder.

Summary

You can change file permissions for various reasons, including hiding files from surfers or allowing CGIs to run guestbooks, content management programs etc.

You can edit permissions using command-line programs, FTP programs, browsers or online tools provided by your host.

Permissions may be displayed by numbers (e.g. 644), letters (rw- r– r– ) or as 9 tick boxes.

To use your browser, simply go to the ftp address, right-click on the file you need, tick the boxes and click OK.

What could be easier?!

Leave a Reply

You must be logged in to post a comment.