LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-16-2008, 06:19 AM   #1
marensius
LQ Newbie
 
Registered: Aug 2008
Posts: 9

Rep: Reputation: 0
Copying Files between accounts


Hello all,

I wounder if anyone could tell me how I enable so that
it is possible to copy files from a /home/user1
to /home/user2.

I tried enable chmod 777 folder/ as root, but then I got
mv: cannot move `/home/user1/TEST' to `/home/user2/TEST': Permission denied

Ty for any suggestions.
 
Old 09-16-2008, 06:27 AM   #2
klearview
Member
 
Registered: Aug 2006
Location: London
Distribution: Debian, Kubuntu
Posts: 572

Rep: Reputation: 75
Can you post the output of 'ls -l /home/user1/TEST' here?
 
Old 09-16-2008, 06:32 AM   #3
marensius
LQ Newbie
 
Registered: Aug 2008
Posts: 9

Original Poster
Rep: Reputation: 0
ls -l /home/user1/test
total 12
drwxr-xr-x 2 user1 users 4096 2008-09-16 13:30 TEST3/
drwxr-xr-x 2 user1 users 4096 2008-09-16 13:30 test1/
drwxr-xr-x 2 user1 users 4096 2008-09-16 13:30 test2/
 
Old 09-16-2008, 06:38 AM   #4
klearview
Member
 
Registered: Aug 2006
Location: London
Distribution: Debian, Kubuntu
Posts: 572

Rep: Reputation: 75
Your permissions for these folders do not allow anyone apart from user1 to move them.
 
Old 09-16-2008, 06:41 AM   #5
marensius
LQ Newbie
 
Registered: Aug 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Ok, but how to enable so that another user is able to move them?
F.eks user2 wants to move folkders for user1. ?
Is it possible? if so, how ?
 
Old 09-16-2008, 06:47 AM   #6
klearview
Member
 
Registered: Aug 2006
Location: London
Distribution: Debian, Kubuntu
Posts: 572

Rep: Reputation: 75
Sure it's possible - just change the permissions for files and folders you want to allow to be changed by adding 'write' permission for group and/or others. As the owner do 'chmod a+w <desired_file/folder_here>' to allow anyone to write to it.
 
Old 09-16-2008, 07:25 AM   #7
marensius
LQ Newbie
 
Registered: Aug 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Thank you for your time and help
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I have no .bashrc files -- in any accounts W0bbles Linux - General 4 02-01-2006 12:18 AM
copying files(s) in c climbingmerlin Programming 7 10-27-2005 02:00 PM
need help with copying files Earl Parker II Linux - General 8 09-12-2005 08:54 AM
Copying MySQL and Email Accounts imangm Linux - Newbie 3 01-28-2005 05:13 AM
evolution - copying email accounts CRego3D Linux - Software 2 09-25-2004 10:42 PM


All times are GMT -5. The time now is 10:20 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration