Geeks Talk

Prepare for your Next Interview




Can we Change the Owner of the File

This is a discussion on Can we Change the Owner of the File within the Unix/Linux forums, part of the Operating Systems category; In UNIX operating system is it possible to change the owner of a file. I know chmod helps in changing the permissions on a file. But what is the command ...


Go Back   Geeks Talk > Operating Systems > Unix/Linux

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-29-2006
Contributing Member
 
Join Date: Jul 2006
Posts: 56
Thanks: 0
Thanked 3 Times in 2 Posts
Remasri is on a distinguished road
Can we Change the Owner of the File

In UNIX operating system is it possible to change the owner of a file. I know chmod helps in changing the permissions on a file. But what is the command for changing the owner of the file in UNIX operating system.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-30-2006
Expert Member
 
Join Date: Jul 2006
Posts: 101
Thanks: 0
Thanked 6 Times in 4 Posts
sripri is on a distinguished road
Re: Can we Change the Owner of the File

Yes it is possible to change the owner of a file using the UNIX command chown. This command chown is used to set the owner of file to the user id specified. But I think for changing the owner of the file using this command the user must have the authority for doing this. Can someone specify, what are all the authorities the user must possess for doing this?
Reply With Quote
Reply

  Geeks Talk > Operating Systems > Unix/Linux


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Listen to any PDF file!!! Shivanna Geeks Lounge 6 10-03-2008 12:28 AM
change in requirements prakashnemesis Testing Issues 5 11-09-2007 06:03 PM
Mounting and Unmounting file systems scott Unix/Linux 1 07-26-2006 04:24 PM
How to determine access to file sripri C and C++ 1 07-17-2006 05:13 PM
C Programming - File management in C Lokesh M C and C++ 0 05-31-2006 04:35 PM


All times are GMT -4. The time now is 09:13 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved