LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 05-09-2018, 08:56 AM   #1
Jim232
Member
 
Registered: Apr 2018
Posts: 53

Rep: Reputation: Disabled
download to specific device


I am having an issue moving .zip file from Ubuntu Download to SD device (USB adapter to SD) - do not have a permission to do that.

1. What permission ?
2. Can I download direct to SD device ?
 
Old 05-09-2018, 09:47 AM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Use sudo to make a download directory on the SD device. Then, use chown to change ownership to yourself
Code:
$ chown -R username: directory
. Then you can download to that directory
 
Old 05-09-2018, 09:51 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,913

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
would be nice to explain exactly what did you try and what's happened. We can hardly guess the error message you got.

Last edited by pan64; 05-09-2018 at 09:52 AM.
 
Old 05-09-2018, 04:59 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,534

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
On Linux systems, a normal user should not have write (copy) permissions to much of anything outside that user specific /home directory. The reason for that is that Linux is designed as a multi-user system. Whether you have more than one user on your machine or more, it's still the same. The chown command suggested above should do the job for you. If you don't understand it, you can do an online search for using chown on Linux or post back if you don't understand. Your profile indicate Ubuntu so if that is the case, I would suggest you familiarize yourself with the sudo command used by Ubuntu at the link below.

https://help.ubuntu.com/community/RootSudo
 
Old 05-09-2018, 05:08 PM   #5
_roman_
Member
 
Registered: Dec 2017
Location: _Austro_Bavaria_
Distribution: gentoo / linux mint
Posts: 433

Rep: Reputation: 29
It also depends on which file system the user uses. and how the device was mounted. (another proof that automounters do not work, or not easy enough to use for the casual who is not interested in learning the basics about computers)

i agree the basics are needed and binary distros are bad. binary distros do not educate users on permissions, mounting, using the shell

basically this topic is about the first pages of any linux book which starts with the shell and covers the basics, and i have read sevearl in the past

or e.g. the gentoo handbook and doing once the full gentoo installation should cover this too in my point of view
 
  


Reply

Tags
ubuntu 16.04



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
wget, download specific links into specific file names Si14 Linux - Software 1 04-30-2013 01:42 AM
How can I allow specific IP to access a download on squid plz help!!!! semkg Linux - Server 3 03-01-2010 10:07 PM
Using WGET to download specific filetype itz2000 Linux - Newbie 3 02-03-2007 04:49 AM
how to restrict download from internet for specific ip's only deepak rawat Linux - Networking 1 04-27-2006 07:27 AM
how to restrict download from internet for specific ip's only deepak rawat Linux - Networking 1 04-26-2006 03:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:49 AM.

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