English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I would like to know the command and its syntax to copy a file from one user to another user in LInux ..plz help me out .and plz be descriptive ..

2007-01-20 15:03:18 · 3 answers · asked by Bluffmaster 1 in Computers & Internet Computer Networking

3 answers

Do you mean "chown"? That changes a file's ownership from one user to another.

How it works:
chown [person who you want to give ownership to] [file or files you want to transfer ownership of]

2007-01-20 15:10:36 · answer #1 · answered by Anonymous · 1 0

Look at the man pages on copy and move.

From the terminal do a

man cp
man mv

You will have to have root privileges or the other user has to give write privileges to a directory in order for you to move or copy a file from your directory to theirs. Chown is to change the owner of the file but will not actually move it.

Hope that helps

RJ

2007-01-22 08:33:01 · answer #2 · answered by Anonymous · 0 0

I'm not really in expert in linux or anything, but perhaps you could make a folder called shared stuff (or something else) then set the permissions on the folder to allow all users to read/write/ect to it.

2007-01-20 15:11:39 · answer #3 · answered by D 4 · 1 0

fedest.com, questions and answers