-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Apr 20, 2005 at 06:17:24AM -0700, Raghu Ram Murthy wrote:
> 
> Hi, 
> 
> I ran into a strange problem. I want to change the
> ownership of a file.
> 
> The file is owned by me and I want to change the
> ownership to some other user without root permission.
> How can I do it?


With the chown command.  Check the man page for all options (and please
do, it's always a good habit to get into) but the short answer is, if
the user is named john and the file is named file1

chown john file1


- -- 

Scott

GPG KeyID EB3467D6
( 1B848 077D 66F6 9DB0 FDC2  A409 FA54 D575 EB34 67D6)
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Spike: Oh, sod the spell. Your friends are in the factory. I'm 
really glad I came here, you know? I've been all wrongheaded 
about this. weepin', crawlin', blamin' everybody else. I want 
Dru back. I've just gotta be the man I was, The man She loved. 
I'm going to do what I should have done in the first place-- I'll
 find here, wherever she is, tie her up, torture her until she 
likes me again. 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCZqDS+lTVdes0Z9YRAv01AJ4rZDcKj6VvVXIUbwjenYIsIzLsRwCgveD4
tj6uvD3M2+aQzYVURqCFpVg=
=aUoF
-----END PGP SIGNATURE-----


To unsubscribe from this list, please email [EMAIL PROTECTED] & you will be 
removed. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/LINUX_Newbies/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to