LFS SVN and Package Management using Package Users problem

Matthias B. msbREMOVE-THIS at winterdrache.de
Tue Oct 25 12:20:22 PDT 2005


On Tue, 25 Oct 2005 09:26:48 +0200 Luca Dionisi <luca.dionisi at gmail.com>
wrote:

> On 10/23/05, Matthias B. <msbREMOVE-THIS at winterdrache.de> wrote:
> >
> > Could you go to /usr/src/libdvdread and try out what
> >
> > find -type f -perm +o+w -printf "%p"
> >
> > reports.
> >
> > What does
> >
> > ls -la /usr/src/libdvdread
> >
> > say?
> >
> 
> The output of the commands follows:
> 
> package libdvdread:/usr/src/libdvdread> find -type f -perm +o+w -printf
> "%p"
> ./build./.project./libdvdread-0.9.4.tar.gz./pkg.lst./make.log./.viminfo
> ./configure.log./configure.err./make.err./install.log./install.err./.ba
> shpackage 

Oops. Should have added a "\n" after the "%p" to make it more readable.
Anyway, "-perm +o+w" is supposed to select all files that have the
world-writable bit set. In your case find reports the above files as
having that bit set, although this is contradicted by the output from ls.
One of the 2 programs is obviously wrong.

Please try

find -type f -perm +002 -printf "%p\n"
find -type f -perm -002 -printf "%p\n"
find -type f -perm -o+w -printf "%p\n"

and report the results.

MSB

-- 
Tell me and I forget.
Teach me and I remember.
Involve me and I learn.




More information about the lfs-support mailing list