[sane-devel] devfsd
Robert Stanford
rob at rotapile.com
Sun Dec 9 22:23:10 GMT 2001
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.
Regards
Robert Stanford
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.
>
> Bye
> Oliver
>
> --
> 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 at rauch-domain.de
>
>
More information about the sane-devel
mailing list