LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-15-2016, 02:57 PM   #1
lilzz
Member
 
Registered: Aug 2006
Posts: 73

Rep: Reputation: 15
Error in copy a file that's a link to executable


I trying to copy a file to my USB drive but it said operation is not permitted. It's a link to an executable.

other files I can copy OK.
 
Old 01-15-2016, 03:53 PM   #2
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest; has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 4,049
Blog Entries: 3

Rep: Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372
Do you have permission?
Code:
sudo cp /file /media/to/

Last edited by jamison20000e; 01-15-2016 at 03:54 PM.
 
Old 01-15-2016, 03:54 PM   #3
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest; has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 4,049
Blog Entries: 3

Rep: Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372
Or:
Code:
gksu fileManagersName
?

Last edited by jamison20000e; 01-15-2016 at 03:55 PM.
 
Old 01-15-2016, 03:58 PM   #4
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest; has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 4,049
Blog Entries: 3

Rep: Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372Reputation: 1372
You would also need to change that file's permissions back to normal user if that works as it will be moved as admin?
 
Old 01-15-2016, 04:17 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 20,637

Rep: Reputation: 3649Reputation: 3649Reputation: 3649Reputation: 3649Reputation: 3649Reputation: 3649Reputation: 3649Reputation: 3649Reputation: 3649Reputation: 3649Reputation: 3649
Not enough information given but the assumption would be that the drive is either formatted as FAT32 or NTFS which do not support linux file links.
 
  


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
Error while executing hycom bash(executable) file. suraj.mane Programming 3 12-05-2012 09:52 AM
Creating a hard link using ln creates a copy of file jeffshen Linux - Newbie 7 03-12-2010 06:05 AM
Exec format error. binary file not executable. kaz2100 Linux - General 2 08-19-2006 06:26 PM
copy both soft link and its linked file okeyla Programming 3 02-14-2005 12:30 AM
Copy File as a Link Gerardoj Linux - General 3 12-02-2003 11:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:12 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
Open Source Consulting | Domain Registration