| Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-03-2003, 01:31 PM
|
#1
|
|
LQ Newbie
Registered: Aug 2003
Location: Belgium
Distribution: Mandrake
Posts: 10
Rep:
|
chown and chmod in /dev resets at boot
Hi all,
I just managed to get my scanner started via sane. To access the scanner from the network I use saned. To allow saned to access the scanner the owner and mode of /dev/usbscanner and /dev/usb/scanner0 had to be changed via:
# chown root:saned /dev/usbscanner && chmod g+rw /dev/usbscanner
Everything works fine untill the next (re)boot. Checking /dev/usbscanner shows that the settings have been restored to their old values (eg owner of /dev/usbscanner is reset to root).
What is causing this behaviour? I would like to make these changes persistent. Any help will be much appreciated.
thanks in advance,
Guust
|
|
|
|
09-03-2003, 01:46 PM
|
#2
|
|
Guru
Registered: Jan 2001
Posts: 24,128
Rep: 
|
Check your startup scripts to make sure they aren't reverting them back at boot time.
|
|
|
|
09-03-2003, 02:04 PM
|
#3
|
|
LQ Newbie
Registered: Aug 2003
Location: Belgium
Distribution: Mandrake
Posts: 10
Original Poster
Rep:
|
Thanks,
can you give me a clue where I should look and what I should look for? I had a look at some of the scripts in /etc/rc.d but I'm not really sure what to look for.
Guust
|
|
|
|
09-05-2003, 06:45 AM
|
#4
|
|
Senior Member
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802
Rep:
|
Mandrake uses devfs by default so you need to study up on devfs. There are many config files which devfs uses so I can't tell you which one to look in, but try /etc/devfsd.conf also look in the directory /etc/devfsd there should be a bunch of config files in there.
You don't have to reboot every time you change something. You can change the permissions and do this (as root) to see if they stick:
service devfsd restart
|
|
|
|
09-05-2003, 07:19 AM
|
#5
|
|
Member
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: fedora, slackware, suse
Posts: 447
Rep:
|
I don't use Mandrake, however, in redhat the file is /etc/security/console.perms while in Suse the proper file in /etc/permissions. Perhaps it is one of those, but as the folks say above, you could probably check your config files. Perhaps the command "apropos permissions" will give it to you, It does on both redhat and suse ... well almost, on suse it gives a man chkstat which is a tool suse gives to edit the /etc/permissions for those who don't like to use vi.
Last edited by fsbooks; 09-05-2003 at 07:20 AM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:14 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|