HP 4P scanner use

Brian McKee brian.mckee at gmail.com
Sat May 23 12:26:40 UTC 2009


On Sat, 2009-05-23 at 19:48 +1100, Alan Duval wrote:

> However I have the annoying problem that an error message "Failed to 
> create file: Permission denied" occurs when I try to close XSane. I have 
> to close this error message 3 times before XSane closes.
> I started XSane from a user terminal but the same error message occurred 
> when closing and no message  occurred in the terminal.



> When I typed users-admin in root this message occurred prior to the 
> user-admin window opening:
> ** (users-admin:6683): CRITICAL **: Cannot create session bus: Did not 
> receive a reply.

> Could that have something to do with the XSane closing error?

I think that one is a red herring.

My guess is that there is a file that has had root ownership set in
previous runs that we now need to be a bit more permissive.

To prove that out - install 'strace'  (e.g. 'sudo aptitude install
strace' in a terminal or use Synaptic etc - your choice)

Then run strace -e trace=file xsane | grep Permission
That should show ever file system call done by the xsane program and
cull through that output looking for Permission denied errors.

Recreate your problem while watching the output and let's see what you
get.

Brian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090523/7df336cc/attachment.sig>


More information about the ubuntu-users mailing list