LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-03-2002, 11:48 PM   #1
bkeating
Member
 
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511

Rep: Reputation: 38
ownership modding


As root I copied over some files from one machine to another which will be used by users (modified, read). As a standard power user I do not have permissions to put anything in these directories i copied over, nor can I write to the files.

My question is, while in console, how do i change the ownership of a directory and it's contents to a power user? Want to learn how to do it in console so i don't have to rely on a GUI.

Thank you
Ben.
 
Old 07-04-2002, 12:04 AM   #2
jpweston
Member
 
Registered: Mar 2002
Location: Sacramento, CA
Distribution: Slackware 8.1; Debian 3.0
Posts: 222

Rep: Reputation: 30
bkeating,

Two commands you can use on the command line are chmod for the rwx permissions and chown for ownership.

I believe you can use the -R flag for each to apply the change to files within a directory.

j.
 
Old 07-04-2002, 03:19 AM   #3
tundra
Member
 
Registered: Jun 2002
Location: Koom Valley
Distribution: rh8
Posts: 528

Rep: Reputation: 31
you might also want to change the group owner of the file with chgrp.
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ownership Shifty02 Mandriva 2 05-21-2005 03:38 PM
case modding for laptops shadowhunter Linux - Laptop and Netbook 1 01-15-2004 09:05 PM
ownership true_atlantis Linux - Newbie 1 10-28-2003 10:19 AM
vfat ownership weiss Linux - Newbie 8 09-25-2003 02:30 AM
Gnome interface modding questions rezza Linux - General 0 04-05-2003 11:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration