Changing group ownership of files and directories - 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 » Changing group ownership of files and directories


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 Changing group ownership of files and directories

group
a collection of users who have protected access to their resources.

Changing group ownership of files and directories

Every user is a member of one or more groups. To find out which groups you belong to use the command:

groups

To find out which groups another user belongs to use the command:

groups username

Your files and directories are owned by the group (or one of the groups) that you belong to. This is known as their "group ownership".

To list the group ownership of your files:

ls -gl

You can change the group ownership of a file or directory with the command:

chgrp group_name file/directory_name

You must be a member of the group to which you are changing ownership to.
yvsanil is offline   Reply With Quote


Old 08-02-2006   #2 (permalink)
yvsanil
Senior Member
 
Join Date: Aug 2006
Age: 28
Posts: 112
Default Re: Changing group ownership of files and directories

Changing access permissions
To change the access permissions for a file or directory use the command

chmod mode filename
chmod mode directory_name

The "mode" consists of three parts: who the permissions apply to, how the permissions are set and which permissions to set.
yvsanil is offline   Reply With Quote

Old 10-12-2006   #3 (permalink)
ScottHughes
Senior Member
 
Join Date: Sep 2006
Age: 22
Posts: 460
Default Re: Changing group ownership of files and directories

How do you adjust which groups you belong to?
__________________
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
Controlling access to your files and directories yvsanil Site and Server Administration 1 10-12-2006 08:42 AM
What are resource files ? how are they used in .NET? agaba175 .NET 1 08-03-2006 01:27 PM
Changing my pic.. defective All Things General 3 05-18-2006 06:10 AM
User Group & User Group Colors Lance Forum Management 2 01-14-2006 03:25 AM


footer left
All times are GMT. The time now is 02:20 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

Loans | Loans | Mortgage Calculator | Mortgages | Personal Injury Lawyer Los Angeles

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