LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-07-2003, 11:25 PM   #1
juno
Member
 
Registered: Sep 2002
Location: fdas
Posts: 100

Rep: Reputation: 15
Change owner


I found the user can change the file owner on UNIX box , but can't in Linux,
eg. ( On UNIX )
# whoami
UserA
# ll
-rw-rw-rw- userA ACC abc.prn
# chown UserB:ACC abc.prn
#ll
-rw-rw-rw- userB ACC abc.prn

(On Linux)
do the same thing,
# chown UserB:ACC abc.prn
chown: changing ownership of `./abc.prn': Operation not permitted

How to let the user to change the ownership to other ID? Thx.
 
Old 01-07-2003, 11:39 PM   #2
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
Okay, this time try it as root

I didn't have any trouble...


John
 
Old 01-07-2003, 11:50 PM   #3
juno
Member
 
Registered: Sep 2002
Location: fdas
Posts: 100

Original Poster
Rep: Reputation: 15
Yes, root is okay, but i would like to let user to change it by themself, what can they do? thx.
 
Old 01-08-2003, 07:03 AM   #4
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
Apparently nothing, can't change either users or groups as a user.


John
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to change mysqld owner? bosewicht Linux - Newbie 2 10-03-2007 02:06 AM
how to i change file owner back to root ? glacier1985 Linux - Newbie 10 06-17-2004 09:20 PM
Change owner arubin Linux - Newbie 3 04-30-2004 12:23 PM
[APACHE] change upload owner Creak Linux - Software 0 03-14-2004 05:59 PM
Change file owner in W2K on a RH8 server RobLea Linux - Networking 1 10-09-2003 05:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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