[Novalug] Inherited folder/file access
D Rider
twigboy2@gmail.com
Sun Mar 4 23:52:03 EST 2007
On 3/4/07, donjr <djr1952@hotpop.com> wrote:
> On Sun, 2007-03-04 at 22:00 -0500, D Rider wrote:
> <SNIP>
> > [David's response]
> > Running Ubuntu 6.10. The only way I have found to get the scanner
> > detected by xsane is to run it as root (gksudo -k xsane).
> > my user account is set to "Use Scanner" user privilege
> > I had previously added it to the scanner group but curiously root is not
> > I added my user to the saned group with no change in detecting the scanner
> > I noticed that my user is not part of my group but neither is root --
> > still no change
> >
>
> Since you have now told me which distribution you are using, a very
> important piece of information when seeking help, it simple:
> {from the Graphic menu}
> System -> Administration -> User and Groups
>
> Or in an xterm
> $ gksu users-admin
>
> Then select the user you wish to EDIT and press the "Properties" button.
> Tab to the "User privileges" page and enable the "Use Scanner devices"
> plus any other privileges you want this user to have.
> { There are thirteen(13) possible selection on that screen on my
> system. }
>
> If the USER is currently logged in for the changes to take effect they
> will most likely have to log out and back in before anything will
> happen.
>
> The program "users-admin" knows how to properly effect the policies on
> Ubuntu systems.
>
>
Thanks Don but I had done this yesterday.
>
> > What is the device? Do I chmod some settings on the device?
> > Shouldn't that just be (and thus I wouldn't be here)?
>
> It's most likely already been taken care of by the Ubuntu Policy
> handling system, as it changes based on other factors.
>
> > I think I need simple terms and instructions until I get past the
> > curve -- I dunno.
>
> The above should be simple enough to follow on any Ubuntu based system.
>
> { Any Debian based system can also be handled the same way. }
>
So this is what I found tonight (finally):
>From http://penguin-breeder.org/sane/saned/#faq
2. # Are the device access rights correct?
An error like "Device busy" is often caused by incorrect device
access rights.
* Log in as user saned and see whether scanimage -L
finds your scanner.
* If you're using a parallel port scanner, you need to run
saned as user root. Please ensure you didn't
configure inetd or xinetd to run saned
as user saned in that case.
This is a parallel port scanner and I found nothing in xinetd.conf
(and no inetd.conf file found). So, I believe I am screwed to use
root access to make it work. I still have not had any luck getting
the folder perms to inherit. Or would the program explicitly set the
access per root user?
Geez. Maybe I should write a script to mod the access on existing
files/folders (under a common folder location) and then open it each
time after I scan a new file.
> --
> --
> Don E. Groves, Jr.
>
> $ /usr/games/fortune : Exercise caution in your daily affairs.
>
More information about the Novalug
mailing list