LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-07-2014, 06:46 PM   #1
Pinonoir
Member
 
Registered: May 2014
Posts: 177

Rep: Reputation: 0
Unable to save to Downloads in Firefox


I was using firefox and everything was going well, owever I tried to download a slackbuild and noticed it wouldn't save to Downloads. However, if I choose Pictures it saves it just fine. The only thing I can think of is that I changed download mirrors due to poor download speed for upgrades in /etc/slackpk/mirrors and reinstalled firefox because I was receiving a bad md5sum error.
 
Old 06-07-2014, 07:21 PM   #2
01micko
Member
 
Registered: Mar 2009
Location: Gold Coast, Queensland, Australia
Distribution: Puppy, Slackware
Posts: 79

Rep: Reputation: 7
I would move ~/.mozilla to ~/.mozilla~ and try to start fresh to see if that fixes the problem. If not then maybe firefox has a problem you could again try to reinstall with slackpkg.
 
Old 06-07-2014, 07:26 PM   #3
Pinonoir
Member
 
Registered: May 2014
Posts: 177

Original Poster
Rep: Reputation: 0
I moved firefox and received this error when trying it again.

/home/pino/Downloads/SlackBuilds.org - skype.org%20-%20skype could not be saved, because you cannot change the contents of that folder.

Change the folder properties and try again, or try saving in a different location.
 
Old 06-07-2014, 07:28 PM   #4
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Wheezy
Posts: 429

Rep: Reputation: 110Reputation: 110
That sounds like a permissions error...do you own that directory or have write permissions to it?
 
Old 06-07-2014, 07:29 PM   #5
Pinonoir
Member
 
Registered: May 2014
Posts: 177

Original Poster
Rep: Reputation: 0
Yes I was able to save files to it, and then all of a sudden I wasn't allowed. I'm guessing a permission was changed somehow?
 
Old 06-07-2014, 07:30 PM   #6
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Wheezy
Posts: 429

Rep: Reputation: 110Reputation: 110
Could you post the output of:
Code:
ls -la ~
 
Old 06-07-2014, 07:32 PM   #7
Pinonoir
Member
 
Registered: May 2014
Posts: 177

Original Poster
Rep: Reputation: 0
total 120
drwx--x--x 24 pino users 4096 Jun 7 18:23 .
drwxr-xr-x 5 root root 4096 Jun 6 20:09 ..
-rw------- 1 pino users 306 Jun 7 17:38 .ICEauthority
-rw------- 1 pino users 49 Jun 7 17:38 .Xauthority
-rw------- 1 pino users 3632 Jun 7 18:24 .bash_history
drwxr-xr-x 6 pino users 4096 Jun 7 17:48 .cache
drwxr-xr-x 7 pino users 4096 Jun 6 20:45 .config
drwx------ 3 pino users 4096 Jun 6 20:17 .dbus
drwxr-xr-x 5 pino users 4096 Jun 6 21:10 .eboard
drwx------ 2 pino users 4096 Jun 6 21:49 .emacs.d
drwx------ 3 pino users 4096 Jun 6 20:17 .gnupg
drwxr-xr-x 2 pino users 4096 Jun 6 20:17 .gstreamer-0.10
dr-x------ 2 pino users 0 Jun 7 17:38 .gvfs
drwxr----- 2 pino users 4096 Jun 6 22:13 .hplip
drwxr-xr-x 3 pino users 4096 Jun 6 20:17 .local
drwx------ 4 pino users 4096 Jun 7 18:24 .mozilla
drwx------ 4 pino users 4096 Jun 6 20:19 .mozzila~
-rw-r--r-- 1 pino users 3729 May 16 2013 .screenrc
-rw------- 1 pino users 49 Jun 7 17:38 .serverauth.821
drwx------ 3 pino users 4096 Jun 7 06:44 .thunderbird
-rw-r--r-- 1 pino users 6095 Jun 6 21:24 .xboardrc
drwxr-xr-x 2 pino users 4096 Jun 6 21:13 .xine
drwxr-xr-x 4 pino users 4096 Jun 7 17:40 Desktop
drwxr-xr-x 2 pino users 4096 Jun 6 20:17 Documents
drwxr-xr-x 3 root root 4096 Jun 6 22:09 Downloads
drwxr-xr-x 2 pino users 4096 Jun 6 20:17 Music
drwxr-xr-x 4 pino users 4096 Jun 6 22:03 Pictures
drwxr-xr-x 2 pino users 4096 Jun 6 20:17 Public
drwxr-xr-x 2 pino users 4096 Jun 6 20:17 Templates
drwxr-xr-x 2 pino users 4096 Jun 6 20:17 Videos
 
Old 06-07-2014, 07:38 PM   #8
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Wheezy
Posts: 429

Rep: Reputation: 110Reputation: 110
Code:
drwxr-xr-x  3 root root  4096 Jun  6 22:09 Downloads
There's your problem. Root owns your 'Downloads' directory. To fix:

Code:
sudo chown pino:users ~/Downloads -R
 
Old 06-07-2014, 07:40 PM   #9
Pinonoir
Member
 
Registered: May 2014
Posts: 177

Original Poster
Rep: Reputation: 0
That fixed it. Although it would be nice to know what the cause was in the first place.
 
Old 06-07-2014, 07:46 PM   #10
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Wheezy
Posts: 429

Rep: Reputation: 110Reputation: 110
Quote:
Originally Posted by Pinonoir View Post
That fixed it. Although it would be nice to know what the cause was in the first place.
You probably ran a command with sudo, and that command manipulated your Downloads directory. That would change the permissions of the directory to the root user.

Just a general tip: try to aviod using 'sudo' or logging in as root unless you need to (like installing packages, or editing a config file).
 
Old 06-07-2014, 08:53 PM   #11
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,243

Rep: Reputation: 573Reputation: 573Reputation: 573Reputation: 573Reputation: 573Reputation: 573
Quote:
Originally Posted by maples View Post
Just a general tip: try to aviod using 'sudo' or logging in as root unless you need to (like installing packages, or editing a config file).
Yep. Always run your box as a regular user. Running as root is a bad idea.
 
  


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
Downloads. GUI/command line, wget. Specify where to save. Kryptos Linux - Newbie 18 08-12-2011 05:09 AM
unable to 'save as' a local copy of a web page using firefox, in fedora nass Fedora 1 11-09-2009 11:55 AM
LXer: Save time on downloads with delta RPMs in Fedora 11 LXer Syndicated Linux News 0 09-04-2009 11:50 PM
Downloads in firefox, GypsyPants Linux - Newbie 8 05-10-2009 04:01 AM
Downloads in Firefox lord loh. Linux - Software 3 06-09-2007 04:42 PM


All times are GMT -5. The time now is 09:51 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration