Red Hat General - USB Scanner permissions reset each login.

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat General > January 2004 > USB Scanner permissions reset each login.





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author USB Scanner permissions reset each login.
Jon D. Slater

2004-01-23, 7:06 pm

I have an Epson scanner that works great with Sane.

I see the device as CRW------- scanner0

I've gone in and changed the permissions to 660 so that other people,
logged in at the same time can share the scanner.

The problem is, every time I log back in, the permissions get set back
to C600, and the owner name changes to me.

How do I set the permissions, and get them to "stick"?

I'm running Fedora Core 1

Thanks!

Jon
Robert D. Houlihan

2004-01-23, 7:06 pm

I believe you will need to place the command in one of the script files that
runs in the /ect directory at boot time this will cure your problem.
regards dan houlihan
"Jon D. Slater" <Jon.Slater@MesaNetworks.Net> wrote in message
news:vusthl244d3a1@corp.supernews.com...
quote:

> I have an Epson scanner that works great with Sane.
>
> I see the device as CRW------- scanner0
>
> I've gone in and changed the permissions to 660 so that other people,
> logged in at the same time can share the scanner.
>
> The problem is, every time I log back in, the permissions get set back
> to C600, and the owner name changes to me.
>
> How do I set the permissions, and get them to "stick"?
>
> I'm running Fedora Core 1
>
> Thanks!
>
> Jon




Robert D. Houlihan

2004-01-23, 7:06 pm

I believe you will need to place the command in one of the script files that
runs in the /ect directory at boot time this will cure your problem.
regards dan houlihan
"Jon D. Slater" <Jon.Slater@MesaNetworks.Net> wrote in message
news:vusthl244d3a1@corp.supernews.com...
quote:

> I have an Epson scanner that works great with Sane.
>
> I see the device as CRW------- scanner0
>
> I've gone in and changed the permissions to 660 so that other people,
> logged in at the same time can share the scanner.
>
> The problem is, every time I log back in, the permissions get set back
> to C600, and the owner name changes to me.
>
> How do I set the permissions, and get them to "stick"?
>
> I'm running Fedora Core 1
>
> Thanks!
>
> Jon




Robert D. Houlihan

2004-01-23, 7:06 pm

I believe you will need to place the command in one of the script files that
runs in the /ect directory at boot time this will cure your problem.
regards dan houlihan
"Jon D. Slater" <Jon.Slater@MesaNetworks.Net> wrote in message
news:vusthl244d3a1@corp.supernews.com...
quote:

> I have an Epson scanner that works great with Sane.
>
> I see the device as CRW------- scanner0
>
> I've gone in and changed the permissions to 660 so that other people,
> logged in at the same time can share the scanner.
>
> The problem is, every time I log back in, the permissions get set back
> to C600, and the owner name changes to me.
>
> How do I set the permissions, and get them to "stick"?
>
> I'm running Fedora Core 1
>
> Thanks!
>
> Jon




Tim Wunder

2004-01-23, 7:06 pm

On 12/28/2003 1:20 AM, I believe that Jon D. Slater wrote:
quote:

> I have an Epson scanner that works great with Sane.
>
> I see the device as CRW------- scanner0
>
> I've gone in and changed the permissions to 660 so that other people,
> logged in at the same time can share the scanner.
>
> The problem is, every time I log back in, the permissions get set back
> to C600, and the owner name changes to me.
>
> How do I set the permissions, and get them to "stick"?
>



'man console.perms'
and check
/etc/security/console.perms

HTH,
Tim
Tim Wunder

2004-01-23, 7:06 pm

On 12/28/2003 1:20 AM, I believe that Jon D. Slater wrote:
quote:

> I have an Epson scanner that works great with Sane.
>
> I see the device as CRW------- scanner0
>
> I've gone in and changed the permissions to 660 so that other people,
> logged in at the same time can share the scanner.
>
> The problem is, every time I log back in, the permissions get set back
> to C600, and the owner name changes to me.
>
> How do I set the permissions, and get them to "stick"?
>



'man console.perms'
and check
/etc/security/console.perms

HTH,
Tim
Tim Wunder

2004-01-23, 7:06 pm

On 12/28/2003 1:20 AM, I believe that Jon D. Slater wrote:
quote:

> I have an Epson scanner that works great with Sane.
>
> I see the device as CRW------- scanner0
>
> I've gone in and changed the permissions to 660 so that other people,
> logged in at the same time can share the scanner.
>
> The problem is, every time I log back in, the permissions get set back
> to C600, and the owner name changes to me.
>
> How do I set the permissions, and get them to "stick"?
>



'man console.perms'
and check
/etc/security/console.perms

HTH,
Tim
Jon D. Slater

2004-01-23, 7:06 pm

Yes! Thank you! That's it.

I created a new group called "scanner" with only 3 users.

I then modified /etc/security/console.perms to set the permission to 660
(owner root; group scanner) and it works perfectly!

Thanks Tim!

Jon

Tim Wunder wrote:
quote:

> On 12/28/2003 1:20 AM, I believe that Jon D. Slater wrote:
>
>
> 'man console.perms'
> and check
> /etc/security/console.perms
>
> HTH,
> Tim


Jon D. Slater

2004-01-23, 7:06 pm

Yes! Thank you! That's it.

I created a new group called "scanner" with only 3 users.

I then modified /etc/security/console.perms to set the permission to 660
(owner root; group scanner) and it works perfectly!

Thanks Tim!

Jon

Tim Wunder wrote:
quote:

> On 12/28/2003 1:20 AM, I believe that Jon D. Slater wrote:
>
>
> 'man console.perms'
> and check
> /etc/security/console.perms
>
> HTH,
> Tim


Jon D. Slater

2004-01-23, 7:06 pm

Yes! Thank you! That's it.

I created a new group called "scanner" with only 3 users.

I then modified /etc/security/console.perms to set the permission to 660
(owner root; group scanner) and it works perfectly!

Thanks Tim!

Jon

Tim Wunder wrote:
quote:

> On 12/28/2003 1:20 AM, I believe that Jon D. Slater wrote:
>
>
> 'man console.perms'
> and check
> /etc/security/console.perms
>
> HTH,
> Tim


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com