The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to change the permissions of ksh? ponnuvel UNIX for Advanced & Expert Users 3 04-15-2008 12:17 AM
how to change permissions in a certain directory? praveen_indramo UNIX for Dummies Questions & Answers 1 03-25-2008 08:07 AM
Change permissions of /var/log/messages anindra UNIX for Dummies Questions & Answers 3 11-05-2007 08:53 AM
How to change default permissions on new files rdgblues UNIX for Dummies Questions & Answers 1 08-30-2006 02:56 AM
How to change permissions in UNIX? a8111978 Filesystems, Disks and Memory 2 06-24-2002 11:40 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-28-2007
Registered User
 

Join Date: Mar 2007
Posts: 7
need command to change permissions

I have a very simple question which I am not able to crack.

There is an user with same username and groupname. How do I change permissions of a file to have the username and groupname assigned for the user "test". Appreciate you help.
-Carl
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 04-28-2007
pressy's Avatar
solaris cultist
 

Join Date: Aug 2003
Location: Vienna / Austria (Europe) [EARTH]
Posts: 709
see "man chown"

NAME
chown - change file ownership

SYNOPSIS
chown [-fhR] owner [ : group] file...

DESCRIPTION
The chown utility will set the user ID of the file named by
each file to the user ID specified by owner, and, option-
ally, will set the group ID to that specified by group.

regards pressy
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 01:44 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0