Slackware This Forum is for the discussion of Slackware Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
10-14-2010, 07:05 AM
#1
LQ Veteran
Registered: May 2008
Posts: 6,897
World writable directory? /usr/doc/mpfr-2.4.2/examples
Code:
gazl@nix:~$ ls -ld /usr/doc/mpfr-2.4.2/examples
drwxrwxrwx 2 root root 4096 2009-11-30 02:45 /usr/doc/mpfr-2.4.2/examples
Please can someone else confirm this so I know it's not just me before I bother Pat with a bug report?
(64-current)
Last edited by GazL; 10-14-2010 at 07:06 AM .
10-14-2010, 07:16 AM
#2
Senior Member
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Rep:
drwxrwxrwx shows its world writable
d--->directory
first rwx---> read write executable for user/owner
second/middle rwx---> read write executable for group
third/rws --> read write executable for others (world - writable)
10-14-2010, 07:19 AM
#3
LQ Veteran
Registered: May 2008
Posts: 6,897
Original Poster
LOL!
What I meant was: Please can you confirm that it's also world writable on your system.
10-14-2010, 07:19 AM
#4
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098
I got the same permissions on that, GazL.
1 members found this post helpful.
10-14-2010, 07:25 AM
#5
Senior Member
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Rep:
Hi,
I dont have that file on my system,I mean example is not there and also path is different
ls -ld /usr/share/doc/mpfr-2.4.2/*
-rw-r--r--. 1 root root 18013 Nov 30 2009 /usr/share/doc/mpfr-2.4.2/COPYING
-rw-r--r--. 1 root root 26440 Nov 30 2009 /usr/share/doc/mpfr-2.4.2/COPYING.LIB
-rw-r--r--. 1 root root 11337 Nov 30 2009 /usr/share/doc/mpfr-2.4.2/NEWS
-rw-r--r--. 1 root root 3892 Nov 30 2009 /usr/share/doc/mpfr-2.4.2/README
10-14-2010, 07:29 AM
#6
LQ Veteran
Registered: May 2008
Posts: 6,897
Original Poster
Thanks ponce. I'll drop Pat a note.
prayag_pjs, that command doesn't actually show the directory itself, which was the bit I was interested in. Thanks anyway.
10-14-2010, 07:30 AM
#7
Member
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638
Rep:
in My LFS system permissions are 755
Code:
ls -ld /usr/share/doc/mpfr-3.0.0/examples/
drwxr-xr-x 2 root root 4096 2010-10-08 15:48 usr/share/doc/mpfr-3.0.0/examples/
Regards,
1 members found this post helpful.
10-14-2010, 07:40 AM
#8
LQ Veteran
Registered: May 2008
Posts: 6,897
Original Poster
Yep, thanks sem. That's what I'd expect it to be. Must be a minor slackware packaging snafu.
10-14-2010, 07:51 AM
#9
Senior Member
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858
On my system (Slackware64 13.1):
Code:
$ ls -l /usr/share/doc/ | grep mpfr
drwxr-xr-x 3 root root 156 2010-02-23 20:36 mpfr-2.4.2/
EDIT: I should get coffee first.
Code:
$ ls -l /usr/share/doc/mpfr-2.4.2/
total 128
-rw-r--r-- 1 root root 789 2009-11-29 20:43 AUTHORS
-rw-r--r-- 1 root root 3313 2009-11-29 20:43 BUGS
-rw-r--r-- 1 root root 18013 2009-11-29 20:43 COPYING
-rw-r--r-- 1 root root 26440 2009-11-29 20:43 COPYING.LIB
-rw-r--r-- 1 root root 16213 2009-11-29 20:43 FAQ.html
-rw-r--r-- 1 root root 14796 2009-11-29 20:44 INSTALL
-rw-r--r-- 1 root root 11337 2009-11-29 20:43 NEWS
-rw-r--r-- 1 root root 3892 2009-11-29 20:43 README
-rw-r--r-- 1 root root 18708 2009-11-29 20:43 TODO
-rw-r--r-- 1 root root 9 2010-02-23 20:35 VERSION
drwxrwxrwx 2 root root 68 2009-11-29 20:45 examples/
Last edited by Richard Cranium; 10-14-2010 at 10:10 AM .
Reason: IMADORK
10-14-2010, 08:05 AM
#10
Member
Registered: Jul 2008
Location: British Columbia
Distribution: Slackware current
Posts: 403
Rep:
Same here.
drwxrwxrwxr for example/
Last edited by brixtoncalling; 10-14-2010 at 08:55 AM .
10-14-2010, 08:11 AM
#11
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098
seems to be only on current
10-14-2010, 08:35 AM
#12
LQ Veteran
Registered: May 2008
Posts: 6,897
Original Poster
Nope, it's like that in the package for 64/13.1 too. A number of the posts above are looking at the wrong directory.
Code:
# tar -tvf ./slackware64-13.1/slackware64/l/mpfr-2.4.2p03-x86_64-1.txz | grep "examples/$"
drwxrwxrwx root/root 0 2009-11-30 02:45 usr/doc/mpfr-2.4.2/examples/
10-14-2010, 09:18 AM
#13
Member
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Rep:
Also odd permissions on 13.1 64bit.. but far less harmful.
2775
drwxrwsr-x 2 root root /usr/doc/syslinux-3.84/doc
2775
drwxrwsr-x 2 root root /usr/doc/syslinux-3.84/manual
find -xdev -type d -perm /o+w,g+w
1 members found this post helpful.
10-14-2010, 09:58 AM
#14
LQ Veteran
Registered: May 2008
Posts: 6,897
Original Poster
There's a handful of other weird SGID ones under /usr too. try this:
find /usr -type d ! -perm 755 -print0| xargs -0r ls -ld
10-14-2010, 11:08 AM
#15
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928
src2pkg would have warned about those when the package was created...
All times are GMT -5. The time now is 09:06 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News