LFS SVN and Package Management using Package Users problem
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>
> 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
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.
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.
Tell me and I forget.
Teach me and I remember.
Involve me and I learn.
More information about the lfs-support