lkml.org 
[lkml]   [1999]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectPROBLEM: file permissions in kernel distro

Hi,

Some files in the kernel source tree are not world readable by default.
(i.e. with permission set by tar xzf linux-2.2.9.tar.gz from the
kernel.org mirror on metalab.) It has been this way for a while, not just
in 2.2.9. Don't know when it started though. It has alway been the two
files
Documentation/kernel-docs.txt
Documentation/proc.txt

demonstration:
tar tvzf linux-2.2.9.tar.gz | grep -e ---

or (on this machine)
cd /usr/src/linux
find -not -perm -044 | xargs ls -ld
-rw------- 1 root root 15872 May 17 14:54 ./Documentation/kernel-docs.txt
-rw------- 1 root root 53064 Feb 6 16:46 ./Documentation/proc.txt

( That find command will find any file or directory which is
(not group readable) || (not world readable)
, assuming I got it right. (I did check it with chmod, though, so it
should be finding any problems.)


This is not exactly an urgent problem, but it is really easy to fix.
Paste this into your shell:

chmod 644 Documentation/{kernel-docs.txt,proc.txt}

should do it.

Thanks for writing my favorite OS, keep up the good work :)

#define X(x,y) x##y
Peter Cordes ; e-mail: X(peter@jcordes.phys. , dal.ca)


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.015 / U:0.624 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site