LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 03-25-2004, 07:11 AM   #1
shadow_mas
LQ Newbie
 
Registered: Mar 2004
Posts: 4

Rep: Reputation: 0
access rights question.


i am a newbie on linux. i just installed mandrake 10 last week. and i was browing through the directories and noticed that some files in /usr/X11R6/bin had world rwx set on them :


lrwxrwxrwx 1 root root 6 Mar 20 14:33 inb -> ioport*
lrwxrwxrwx 1 root root 6 Mar 20 14:33 inl -> ioport*
lrwxrwxrwx 1 root root 6 Mar 20 14:33 inw -> ioport*
lrwxrwxrwx 1 root root 21 Mar 20 14:36 xvt -> /etc/alternatives/xvt*
lrwxrwxrwx 1 root root 8 Mar 20 14:33 X -> Xwrapper*
lrwxrwxrwx 1 root root 5 Mar 20 14:33 RunWM.AfterStep -> RunWM*
lrwxrwxrwx 1 root root 5 Mar 20 14:33 RunWM.Fvwm95 -> RunWM*
lrwxrwxrwx 1 root root 5 Mar 20 14:33 RunWM.MWM -> RunWM*
lrwxrwxrwx 1 root root 5 Mar 20 14:33 RunWM.WindowMaker -> RunWM*
lrwxrwxrwx 1 root root 7 Mar 20 14:37 rxvt -> rxvt.sh*

is this ok? are these files required to be this way? or is this a mistake?

also i heard when installing programs from sources that "./configure" and "make" should be run as a normal user and the final "make install" should be run as root. wouldnt this install the executable files as owned by the user who compiled them instead of the root? or does the make install set up permission.

thanks

S-M
 
Old 03-25-2004, 07:09 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"i was browing through the directories and noticed that some files in /usr/X11R6/bin had world rwx set on them "
This is normal.

"does the make install set up permission."
Yes.


-------------------------
Steve Stites
 
Old 03-25-2004, 07:17 PM   #3
aluser
Member
 
Registered: Mar 2004
Location: Massachusetts
Distribution: Debian
Posts: 557

Rep: Reputation: 43
permissions on symbolic links show up that way. The actual permissions are the permissions on whatever the link is pointing to.
 
Old 03-26-2004, 02:38 AM   #4
shadow_mas
LQ Newbie
 
Registered: Mar 2004
Posts: 4

Original Poster
Rep: Reputation: 0
thanx for the quick answer.
 
  


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
Access rights? BC Linux - Newbie 6 11-18-2015 10:27 AM
Access rights Noido Linux - Newbie 5 06-13-2005 04:36 PM
no access to devices with group access rights flipper333 Debian 2 12-28-2004 09:25 AM
Access rights sore Linux - Newbie 6 01-02-2003 10:31 AM
access rights popcorn5714 Linux - Newbie 3 02-02-2002 01:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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