![](https://secure.gravatar.com/avatar/df8330968b6df8cd1c1942c5fb4b720c.jpg?s=120&d=mm&r=g)
commit a3c238f57058873b65e79bb7e1bdf41c692bde75 Author: Juergen Daubert <jue@jue.li> Date: Tue Oct 31 17:58:26 2006 +0100 sane: fixed permissions for /var/lock diff --git a/sane/.footprint b/sane/.footprint index d6c725b..02affad 100644 --- a/sane/.footprint +++ b/sane/.footprint @@ -419,5 +419,5 @@ drwxr-xr-x root/root usr/man/man8/ drwxr-xr-x root/root usr/sbin/ -rwxr-xr-x root/root usr/sbin/saned drwxr-xr-x root/root var/ -drwxr-xr-x root/root var/lock/ +drwxrwxrwt root/root var/lock/ drwxrwxr-x root/scanner var/lock/sane/ diff --git a/sane/Pkgfile b/sane/Pkgfile index 38f9608..a59df2b 100644 --- a/sane/Pkgfile +++ b/sane/Pkgfile @@ -5,7 +5,7 @@ name=sane version=1.0.18 -release=1 +release=2 source=(ftp://ftp2.sane-project.org/pub/$name/$name-backends-$version/$name-backends-$version.tar.gz) build () { @@ -24,6 +24,8 @@ build () { install -m 644 tools/udev/libsane.rules $PKG/etc/udev/rules.d chown root:root $PKG/{var,var/lock} - chmod 755 $PKG/{var,var/lock} + chmod 0755 $PKG/var + chmod 1777 $PKG/var/lock + rm -r $PKG/usr/{doc,share} }