Default access permissions - preCharge Forums
It shows that you are unregistered. Please register with us by clicking Here
preCharge Forums


Nav Green LeftNav Right
preCharge Forums > Website Design & Development > Site and Server Administration » Default access permissions


Reply
Tcat Right
 
LinkBack Thread Tools Display Modes Tcat Right
Old 08-02-2006   #1 (permalink)
yvsanil
Senior Member
 
Join Date: Aug 2006
Age: 28
Posts: 112
Default Default access permissions

Default access permissions
When you create a file or directory its access permissions are set to a default value. These are usually:

rw-------
gives you read and write permission for your files; no access permissions for the group or others.
rwx------
gives you read write and execute permission for your directories; no access permissions for the group or others.
Access permissions for your home directory are usually set to rwx--x--x or rwxr-xr-x.

Changing default access permissions
You will need to understand how to set file access permissions numerically before reading this section.

Every time you create a file or a directory, its access permissions are set to a predetermined value. This value is defined by the file-creation mode mask.

To display the value of this mask enter the command:

umask

This will produce something like:

077

Sometimes the 0 (zero) is omitted. The values might be different on your system.

Without the mask the system would set permissions of 666 for files and 777 for directories when first created. The values in the mask are subtracted from these values to give a default value for access permissions for the files and directories created by you.

For example:

777 (system value for directories)
-077 (value of the umask)
---
700 (default access permission of
rwx------)

To change your default access permissions you use the command:

umask nnn

Each "n" is a number from 0 to 7.
yvsanil is offline   Reply With Quote


Old 10-12-2006   #2 (permalink)
ScottHughes
Senior Member
 
Join Date: Sep 2006
Age: 22
Posts: 460
Default Re: Default access permissions

The control panel I use allows me to change these without using those numbers. I just click boxes.
__________________
ScottHughes is offline   Reply With Quote

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Understanding access permissions yvsanil Site and Server Administration 1 10-12-2006 08:44 AM
w/o access from SE Martin Google 1 07-23-2006 01:06 AM
Default Skin And Wrappers Xome Forum Management 0 11-25-2005 04:45 AM
Latest Default Sig mishka Graphics & Multimedia 2 10-26-2005 10:15 AM


footer left
All times are GMT. The time now is 01:45 AM.

DISCLAIMER: preCharge Risk Management is not responsible for any opinions, advice or comments expressed on the preCharge Community Forums.
preCharge® is a registered trademark of preCharge Risk Management | chargeback protection | Merchant Account Blog

Powered by vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC6

Personal Finance | Mortgage | Free Ringtone | Online Advertising | Loans

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49