On Mon, 2003-09-22 at 05:24, amit_manna wrote:
> Hi Everybody,
> 
> I have a doubt. 

(I know this is a translation thing, but I think you mean "question")

> Suppose I want to give move and change owner permission for a
> particular directories in a host.

Only root can change the owner of a file, the owner of a file can change
the group ownership though. 

Also, given something like the following:
-rw-rw-r--    2 root     mrroach       246 Sep 22 12:43 minicom.log

I (mrroach) can do the following to basically "take ownership":

$ cp minicom.log minicom.log2
$ ls -l minicom.log2
-rw-r--r--    1 mrroach  mrroach       246 Sep 22 12:47 minicom.log2

$ rm minicom.log ; mv minicom.log2 minicom.log
$ ls -l minicom.log
-rw-r--r--    1 mrroach  mrroach       246 Sep 22 12:47 minicom.log

Hope that helps,

Mark


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to