element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum dont have permission to move/copy file
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 5 replies
  • Subscribers 675 subscribers
  • Views 494 views
  • Users 0 members are here
  • raspberry_pi
Related

dont have permission to move/copy file

cullimore
cullimore over 13 years ago

Hi there

 

i am trying to follow this websitehttp://www.ctrl-alt-del.cc/2012/05/raspberry-pi-meets-edimax-ew-7811un-wireless-ada.html to setup my EDIMAX wi fi dongle, but when i get to move or extract the file it says i dont have permission, how do i get permission to do this bit??

 

Download the compiled driver module from here, unpack and move to /lib/modules/3.1.9+/kernel/net/wireless/

 

 

Any help would be great as i only got my PI this morning and want to play around with it.

 

image

  • Sign in to reply
  • Cancel
Parents
  • Former Member
    Former Member over 13 years ago

    Darren,

       you might have to put the word sudo in front of the mv command,

    kind of like "simon says". 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • cullimore
    cullimore over 13 years ago in reply to Former Member

    I was just using the file manger. How do I move an item with commands?

     

    Sorry, new to all this, been a windows user since 3.1

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to cullimore

    on linux, the move command is mv.

       mv oldfilename newfilename

    you can get linux help, by doing

       man mv

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • cullimore
    cullimore over 13 years ago in reply to Former Member

    Okay, I am new to Linux, so please treat me as a newbiee.

     

    I have booted my pi to startx and I downloaded the wifi compressed file, I managed to unzip it to a folder I made on the desktop called Darren. I need to move or copy the file 8192cu.ko to /lib/modules/3.1.9+/kernel/net/wireless

     

    When I do this it says I don't have permission. Is this because I am in the system files and trying to change it while it's loaded startx ???

     

    How do I move this file please????

     

    Cheers ( pulling hair out)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to cullimore

    Here's what I think you need to do.

    First you want to change your working directory to Darren,

    if it isn't already.  The command for changing directories is cd.

    You would give the path to Darren after the cd.

    If you want to know what directory you are in, you can type  pwd.

    You can go up one level by typing 

        cd  ..

    (that's cd followed by a space and then two dots)

    You can list the files in the current directory by typing  ls

     

    Then the command to move the file would be:

      sudo  mv  8192cu.ko  /lib/modules/3.1.9+/kernel/net/wireless

     

    Alternatively, if you don't want to change directories, and your

    working directory is one directory above Darren, you could skip

    the cd command and do:

     

      sudo  mv  Darren/8192co.ko  /lib/modules/3.1.9+/kernel/net/wireless

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Former Member
    Former Member over 13 years ago in reply to cullimore

    Here's what I think you need to do.

    First you want to change your working directory to Darren,

    if it isn't already.  The command for changing directories is cd.

    You would give the path to Darren after the cd.

    If you want to know what directory you are in, you can type  pwd.

    You can go up one level by typing 

        cd  ..

    (that's cd followed by a space and then two dots)

    You can list the files in the current directory by typing  ls

     

    Then the command to move the file would be:

      sudo  mv  8192cu.ko  /lib/modules/3.1.9+/kernel/net/wireless

     

    Alternatively, if you don't want to change directories, and your

    working directory is one directory above Darren, you could skip

    the cd command and do:

     

      sudo  mv  Darren/8192co.ko  /lib/modules/3.1.9+/kernel/net/wireless

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube