Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-16-2008, 12:28 PM   #1
LQ Newbie
Registered: Dec 2007
Posts: 3

Rep: Reputation: 0
why file permissions in /dev/ files reset to root after every reboot

I am workng on RHEL4 . I have created an user. For getting files printed on line printer I am using cat xxxx >/dev/lp0 from root account. I am changing file perms of /dev/lp0 file executable every time I restart the system to enable the users other than root for printing . Like wise for taking tar backup (/dev/st0 )on tape also. Kindly suggest some solution.
Old 04-16-2008, 01:12 PM   #2
Senior Member
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
what does ls -l /dev/lp0 give ?

other than that, you can make the changing perms happen on every boot automatically by putting the command in /etc/rc.d/rc.local (or some similar file , read the readme in rc.d dir)
Old 04-16-2008, 01:23 PM   #3
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,896

Rep: Reputation: 352Reputation: 352Reputation: 352Reputation: 352
This might help you understand /dev.

Last edited by bigrigdriver; 04-16-2008 at 01:24 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
permissions reset on reboot trempel Fedora 11 08-18-2005 03:24 AM
/dev/nvdia* permissions keep resetting on reboot Lagg Slackware 7 05-13-2005 05:04 PM
/dev/sound/* permissions reset using udev ratman96 Linux - General 0 05-04-2005 02:13 PM
reset all file permissions, nothing works, need help fixing qwijibow Linux - General 5 06-14-2004 04:17 PM
File permissions keep getting reset johnsmith1899 Linux - Networking 4 05-19-2003 12:02 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:15 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration