LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-08-2003, 12:25 AM   #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-08-2003, 12:39 AM   #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-08-2003, 12:50 AM   #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, 08: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


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 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 03:06 AM
how to i change file owner back to root ? glacier1985 Linux - Newbie 10 06-17-2004 10:20 PM
Change owner arubin Linux - Newbie 3 04-30-2004 01:23 PM
[APACHE] change upload owner Creak Linux - Software 0 03-14-2004 06:59 PM
Change file owner in W2K on a RH8 server RobLea Linux - Networking 1 10-09-2003 06:23 PM

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

All times are GMT -5. The time now is 03:52 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