Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-30-2003, 11:54 PM   #1
Registered: Jun 2003
Distribution: Fedora 3
Posts: 82

Rep: Reputation: 15
/usr/bin file permissions

Mandrake recently had a security issue regarding file permisions being set wrong on some files. I was curious, what should the permissions be on all the executables in /usr/sbin usually. I noticed several that looked like executable by others was set.
Old 07-31-2003, 11:37 AM   #2
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Most of the files will be set to -rwxr-xr-x and most of them will have root as owner and group.
You may want to restrict execute on some files, but not all.

If Mandrake issued a security warning, most likely they also released a patch. Use that instead.

In the end, most of the files are GUI software like Mozilla and the rest of them must be run as root.
Even if a user were to run one of these programs, they can't do anything, since all the configuration files (/etc) are only writable as root.
Old 07-31-2003, 08:16 PM   #3
Registered: Jun 2003
Distribution: Fedora 3
Posts: 82

Original Poster
Rep: Reputation: 15
Thankyou, I did install the updates.


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
Installing .bin-files, leave the file in /usr/local/bin/ ? lagu2653 Linux - Software 1 11-08-2005 08:30 PM
path in services wrong for clamav updated frm 0.75 to 0.80 usr/bin vs usr/local/bin Emmanuel_uk Linux - Newbie 3 04-22-2005 01:02 AM
sh: line 1: /usr/bin/(swapd): No such file or directory QtCoder Linux - General 4 04-11-2005 05:33 PM
bin/bash:usr/bin/lpr NO SUCH FILE OR DIRECTORY Adibe_Hamm Linux - Newbie 3 10-14-2003 02:30 AM
/usr/bin permissions in Mandrake 8.0 pr0digy Linux - Newbie 3 10-20-2002 06:06 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration