Re: Andere umask für bestimmte Verzeichnisse
Andre Bischof schrieb:
...
Ich meinte richtig. Hab's gerade gefunden [1, 2teiliger Artikel], das
ganze nennt sich inotify, standardmäßig enthalten ab 2.6.13 und wohl
meistens aktiviert (zumindest bei mir in 2.6.18-3). Dazu gibt's dann die
inotify-tools und iWatch [2], damit sollte das was ich will möglich sein
- create-event in /opt/grafik rekursiv überwachen und Kommando
ausführen, um der Gruppe Schreibrechte zu geben (chmod g+w %datei%).
Leider kriege ich iwatch nicht installiert, da scheinbar Perl-Module
fehlen. Benötigt werden:
Event, Inotify2, Mail::Sendmail und XML::Simple
Die habe ich auch via
perl -MCPAN -e 'install XML::Simple' etc.
als root installiert, ich hoffe das war korrekt so.
Trotzdem:
root@linux:/root# /downloads/inotify/iwatch-0.2.1/iwatch
Can't locate XML/SimpleObject/LibXML.pm in @INC (@INC contains:
/etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
/usr/local/lib/site_perl /usr/local/lib/perl/5.8.7
/usr/local/share/perl/5.8.7) at /downloads/inotify/iwatch-0.2.1/iwatch
line 19.
BEGIN failed--compilation aborted at
/downloads/inotify/iwatch-0.2.1/iwatch line 19.
Aber perl sagt:
...
CPAN: Storable loaded ok
Going to read /home/frisco/.cpan/Metadata
Database was generated on Wed, 04 Apr 2007 03:09:19 GMT
XML::Simple is up to date (2.16).
Was mache ich falsch?
Andre
--
Personal weblog and more: http://bischof.homelinux.net
Reply to: