On Thu, Mar 23, 2006 at 11:20:10AM +0100, Bartosz Fenski aka fEnIo wrote:
> Thanks for bugreport although it's quite strange for me.
> Here's what I'm using in postinst:
> 
>   if [ -c /dev/fuse ]; then chown root:fuse /dev/fuse; fi
>   if [ -c /dev/.static/dev/fuse ]; then chown root:fuse /dev/fuse; fi
> 
> So if /dev/fuse file doesn't exist this part of code should be skipped. 

The second line is wrong: /dev/.static/dev/fuse exists (because
MAKEDEV created it at some point presumably), but /dev/fuse doesn't,
so an error is reported by chown.

Did you mean:

 if [ -c /dev/.static/dev/fuse ]; then chown root:fuse /dev/.static/dev/fuse; fi

?

cheers, Phil

-- 
http://www.kantaka.co.uk/ .oOo. public key: http://www.kantaka.co.uk/gpg.txt


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to