On Tue, 25 Oct 2005 09:26:48 +0200 Luca Dionisi <[EMAIL PROTECTED]> wrote:
> On 10/23/05, Matthias B. <[EMAIL PROTECTED]> 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. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page