I cannot get permission to open my own scanned pics and OCR texts.

Asked by Nigel on 2009-01-26

I can scan with sudo xsane, but I can't open my scans...either images or osc texts.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu xsane Edit question
Assignee:
No assignee Edit question
Last query:
2009-01-27
Last reply:
2009-01-29
Chris Coulson (chrisccoulson) said : #1

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs#When%20not%20to%20file%20a%20bug.

If you run xsane with sudo i think the scanned images are owned by root.
Using sudo is like to run a command as root user, the root user is the power user of the Linux/Unix system.
You need to check and then change the permissions of the scanned images...

Please don't use xsane with sudo... please check you devices permissions and which group is you user member of

From a terminal please type

sudo adduser $(who am i | cut -d" " -f 1) scanner

give your user password when requested, you don't see nothing when you type it, then press enter.

Then use xsane as usual login user.

Now please check the permissions of the scanned image files, open a terminal and type: ls -l command (LS -L)

then if them are owned by root simply type:

sudo chmod 666 scanned_image_name

give your user password when requested, you don't see nothing when you type it, then press enter.

Obviously replace the "scanned_image_name" in the previous command with real name of the imagefile.

Hope this helps

Nigel (nigelgspencer) said : #3

Thanks, but it doesn't work. All it does is make all my previously available pictures unavailable. I was able to get those back with chmod 777 *, but I'm back where I started.

NGS
<email address hidden>

> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #58817]: I cannot get permission to open my own scanned pics and OCR texts.
> Date: Mon, 26 Jan 2009 23:59:28 +0000
>
> Your question #58817 on xsane in ubuntu changed:
> https://answers.edge.launchpad.net/ubuntu/+source/xsane/+question/58817
>
> Status: Open => Answered
>
> marcobra proposed the following answer:
> If you run xsane with sudo i think the scanned images are owned by root.
> Using sudo is like to run a command as root user, the root user is the power user of the Linux/Unix system.
> You need to check and then change the permissions of the scanned images...
>
> Please don't use xsane with sudo... please check you devices permissions
> and which group is you user member of
>
> >From a terminal please type
>
> sudo adduser $(who am i | cut -d" " -f 1) scanner
>
> give your user password when requested, you don't see nothing when you
> type it, then press enter.
>
> Then use xsane as usual login user.
>
>
> Now please check the permissions of the scanned image files, open a terminal and type: ls -l command (LS -L)
>
> then if them are owned by root simply type:
>
> sudo chmod 666 scanned_image_name
>
> give your user password when requested, you don't see nothing when you
> type it, then press enter.
>
> Obviously replace the "scanned_image_name" in the previous command with
> real name of the imagefile.
>
> Hope this helps
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.edge.launchpad.net/ubuntu/+source/xsane/+question/58817/+confirm?answer_id=1
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.edge.launchpad.net/ubuntu/+source/xsane/+question/58817
>
> You received this question notification because you are a direct
> subscriber of the question.

_________________________________________________________________

Please open a terminal and try to run xsane from no root user, don't use sudo, it simply type

xsane

Please report message and/or errors here ( please don't fill this page with a long error log )

Nigel (nigelgspencer) said : #5

Hi;

When I type "xsane", I get: "Failure to create. Permission denied."

Nigel
<email address hidden>

_________________________________________________________________

Please open a terminal and type:

sudo rm -fr $HOME/.sane

and run xsane

Hope this helps

Can you help with this problem?

Provide an answer of your own, or ask Nigel for more information if necessary.

To post a message you must log in.