I planed to use watchfolder, therefore I emerged watchfolder-0.3.1.1 and made a test to learn how it works ... Here is the content of my /etc/watchd.conf: -------start--- mv=/bin/mv rm=/bin/rm interval=10 tempdir=/tmp/watch # uid 5555 belong to user test uid=5555 [dir1] uid=5555 dir=/tmp/watch/watchdir prg=/tmp/watch/test.sh -----stop---- Then I prepared test dirs/files : # mkdir -p /tmp/watch/watchdir # echo "echo $* >/tmp/watch/test.log 2&1" >/tmp/watch/test.sh # chmod +x /tmp/watch/test.sh # chown -R test /tmp/watch Now I started watchd and made file in /tmp/watch/watchdir: # su test -c 'echo "test" > /tmp/watch/watchdir/test' After few seconds file /tmp/watch/watchdir/test disapears and should be moved to /tmp/watch/watchtmp.xxxxxx/ directory, but it cannot happen, because dir /tmp/watch/watchtmp.xxxxxx/ is owned by root (perms 0700, which is a bug), because command "mv" runs under user 5555 (correct). Reproducible: Always Steps to Reproduce: 1.emerge watchfolder 2.make a test as described above 3. Actual Results: watched file is not moved, but REMOVED due to permissions/ownership problems Expected Results: watched file should be moved to temdir as defined in /etc/watchd.conf Portage 2.0.50-r9 (default-x86-2004.2, gcc-3.3.3, glibc-2.3.3.20040420-r1, 2.4.27) ================================================================= System uname: 2.4.27 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz Gentoo Base System version 1.4.16 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O2 -mfpmath=sse -msse2 -mmmx -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -mfpmath=sse -msse2 -mmmx -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d aalib acl acpi alsa apache2 arts audiofile avi bonobo cdr crypt cups dga directfb doc dvd encode esd ethereal evo fbcon flash foomaticdb freetds gd gdbm ggi gif gpm gps gtk gtk2 gtkhtml guile icc-pgo imap imlib innodb java jikes jpeg junit kde ladcca lcms libwww linguas_sk lirc mad maildir mikmod mmx motif mozilla mpeg mpi mule mysql nas ncurses nls oav odbc oggvorbis opengl oss pam pcmcia pdflib perl plotutils png pnp python qt quicktime readline sasl scanner sdl slang slp snmp socks5 spell sse ssl svga tcltk tcpd tiff truetype trusted usb video_cards_radeon wavelan wmf x86 xface xml xml2 xmms xv zeo zlib"
aliz, please also put a metadata.xml
Created attachment 52774 [details] New revision of watchfolder with bug fixed..
Sadly, the new version is not in the tree. Maintainer missing?
Re-assign.
I've bumped watchfolder to the most recent version (0.3.3) and added myself as maintainer for the package.