LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 05-26-2012, 11:17 AM   #1
Alkin
LQ Newbie
 
Registered: Sep 2006
Location: Bulgaria
Distribution: Slackware
Posts: 24

Rep: Reputation: 2
Firefox 12.0 download permissions and ownership problem?


Hi everybody,

Recently I've messed up ownership and permissions of the /tmp directory .
To fix that I've used

Code:
 chown root:root && chmod 1777
drwsrwsrwt 11 root root 4096 tmp/

Now, whenever I download a file using Firefox it gets

-rw-r--r-- 1 [user] root

ownership and permissions. Is this a normal behavior? If not, a fix instructions would be appreciated.

Regards
 
Old 05-26-2012, 12:17 PM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,229

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Change your download location to some place like /home/yourusername/download/ You can change the download location in Edit-->Preferences-->General Save Files To.

I have the same permissions on /tmp in FF 12 and have no issues.
 
Old 05-26-2012, 01:03 PM   #3
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
You still have setgid/setuid bits set on /tmp which shouldn't be set. The setgid bit will cause new files saved in /tmp to be part of the root group.
Code:
chmod u-s,g-s /tmp
should take care of it.
 
1 members found this post helpful.
Old 05-26-2012, 01:47 PM   #4
Alkin
LQ Newbie
 
Registered: Sep 2006
Location: Bulgaria
Distribution: Slackware
Posts: 24

Original Poster
Rep: Reputation: 2
Cool!

Code:
chmod u-s,g-s /tmp
fixed the problem.

T3slider, many thanks.
 
  


Reply



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
[SOLVED] Ownership and permissions for apache webdirs hua Linux - Server 2 07-30-2009 03:33 PM
I messed up permissions and ownership digity Linux - Newbie 8 12-07-2008 06:02 PM
permissions and ownership on dir gabsik Linux - Software 4 02-05-2007 06:48 AM
Question about ownership/permissions infornography Linux - Newbie 7 07-28-2004 05:57 AM
write permissions / ownership bynaar Slackware 15 08-08-2002 04:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:17 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