Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-03-2002, 11:48 PM   #1
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
Old 07-04-2002, 12:04 AM   #2
Registered: Mar 2002
Location: Sacramento, CA
Distribution: Slackware 8.1; Debian 3.0
Posts: 222

Rep: Reputation: 30

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.

Old 07-04-2002, 03:19 AM   #3
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 > Forums > Linux Forums > Linux - Newbie

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

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