Mon, 10 Dec 2001 08:23:10 +1000
Unfortunately i'm in a special situation, im porting SANE to the Linux
Terminal Server Project www.ltsp.org so we can hang scanners of thin
clients and the LTSP now use the devfs daemon. Being thin clients they
canont save node states over reboots.
Strangely a previous build of sane (1.0.3) that I copied from a RH7.1 RPM
and used in the same way works fine.
The symlinks permisions were (strangely enough) lr-xr-xr-x /dev/sg0
Yet the /dev/scsi/foo/bar/generic nodes permissions were crw-r-----
Any chmod I do to the symlink affects the target, not the symlink.
On Mon, 10 Dec 2001 07:16:54 Oliver Rauch wrote:
> Robert Stanford wrote:
> > Is it possible to compile sane-backends so it doesnt check symlink
> > permissions with the devfs.
> Aehm, I do not know if there is a change for devfs,
> but the permission of a symbolic link is - as far as I know -
> always 777 (lrwxrwxrwx). When you try to change the permission
> of a symbolic link then the permission of the linked file is
> changed. This is at least what happens with ext2 filesystem.
> Homepage: http://www.rauch-domain.de
> sane-umax: http://www.rauch-domain.de/sane-umax
> xsane: http://www.xsane.org
> E-Mail: mailto:Oliver.Rauch@rauch-domain.de