Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions


WDVL Newsletter

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us















Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


Setting File Permissions

December 20, 1999

The table below displays the various file permissions. Permissions are set for owner, group and everyone else respectively. That means the first number in the set of 3 represents the owner, the second represents the group and the last represents everyone else. Therefore, if you need to change file permissions to say Read, Write, Execute for owner and Read, Execute for the group and everyone else you would chmod 755 file-name.


Number Representation Permissions
0 --- No permission
1 --x execute
2 -w- write
3 -wx write, execute
4 r-- read
5 r-x read, execute
6 rw- read, write
7 rwx read, write, execute

All this is well and good, but what does it mean to you? Exactly how do you accomplish all this? There are any number of methods available depending on your OS and which programs you are using. Basic instructions are provided for Windows/WS-FTP, Macintosh/Fetch and UNIX/telnet below.

Windows/WS-FTP

  • Right click in the right hand window
  • Click on FTP Commands
  • Click on Site
  • Type chmod ### filename in the line provided.
Macintosh/Fetch
  • Go to the Remote menu
  • Go to Send FTP Commands
  • Then type site chmod ### filename in the line provided.
UNIX/telnet
  • cd into the directory the file is located.
  • at the command prompt type:
  • chmod nnn filename (where nnn represents the appropriate numbers from the table above and filename is the name of your file).


Up to => Home / Authoring / Graphics / Theft




Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


Legal Notices, Licensing, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers