Active Topics

 



Notices


Reply
Thread Tools
Posts: 85 | Thanked: 13 times | Joined on Dec 2009 @ Kuopio
#1
This is a bit newbie question, but I got a problem with terminal. When I try to copy files from /usr/share (picture files to edit them) I get error: Cannot create a symlink.

Why phone wants to create links when copying files? Is it possible to force this action somehow?
 
Posts: 479 | Thanked: 641 times | Joined on Dec 2007 @ Switzerland
#2
What command line are you using for the copy?

Just in case, it's not possible to create symlinks on the MyDocs partition, since it's a FAT partition, where thos are not supported.
 
Posts: 85 | Thanked: 13 times | Joined on Dec 2009 @ Kuopio
#3
Well, I edit the pictures with photoshop straight from MyDocs so... how should I make this work?

Last edited by Tesno; 2010-01-30 at 11:58. Reason: typo
 
Posts: 479 | Thanked: 641 times | Joined on Dec 2007 @ Switzerland
#4
Hmmm, I may be missing something, but in your original post you said that you try to copy the files with the terminal right?

And this is the step that is causing you the "Cannot create symlink" error?

If yes, I would be interested to see what command you try to use to make the copy...
 
b666m's Avatar
Posts: 1,090 | Thanked: 476 times | Joined on Jan 2010 @ Ingolstadt, Germany
#5
you have to install "rootsh" to get access to these folders.... ^^
 
Posts: 85 | Thanked: 13 times | Joined on Dec 2009 @ Kuopio
#6
I tried to copy files to MyDocs as you assumed (cp -r /usr/share/omweather /home/user/MyDocs). Is there some parameters missing? Now the problem is how I get those files from /usr/share to photoshop, so I can edit them. Or is it even possible...

Last edited by Tesno; 2010-01-30 at 13:09. Reason: typo
 
mankir's Avatar
Posts: 276 | Thanked: 224 times | Joined on Dec 2009 @ Frankfurt, Germany
#7
The files should have been transfered by this command. Only the symlinks weren't created, if you want to follow symlinks you have to use another additional parameter.
 
Posts: 85 | Thanked: 13 times | Joined on Dec 2009 @ Kuopio
#8
Nope. Is there something else wrong? As I understand the error, the problem is with symlink. More accurately it says:

cp: cannot create symlink '/home/user/MyDocs/omweather': operation not permitted

The files aren't in MyDocs after that.
 
b666m's Avatar
Posts: 1,090 | Thanked: 476 times | Joined on Jan 2010 @ Ingolstadt, Germany
#9
Originally Posted by Tesno View Post
Nope. Is there something else wrong? As I understand the error, the problem is with symlink. More accurately it says:

cp: cannot create symlink '/home/user/MyDocs/omweather': operation not permitted

The files aren't in MyDocs after that.
again:
you have to be root for accessing this folder.

install "rootsh".
then in xterm make "sudo gainroot" and then enter your cp command.
 
Posts: 85 | Thanked: 13 times | Joined on Dec 2009 @ Kuopio
#10
Originally Posted by b666m View Post
again:
you have to be root for accessing this folder.

install "rootsh".
then in xterm make "sudo gainroot" and then enter your cp command.
Installed and rooted long before posting.
 
Reply


 
Forum Jump


All times are GMT. The time now is 20:14.