LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-30-2008, 08:26 PM   #1
visitnag
Member
 
Registered: Mar 2008
Posts: 147

Rep: Reputation: 15
printing permission problem.


Recently we migrated to RHEL4es from RH8. We are using a line printer on the server. But whenever the server is restarted the /dev/lp0 (which we use to printer) permissions are getting changed and for every reboot we have are changing the permissions by using chmod 777 /dev/lp0 through root. When we kept this command in bash profile, whenever we restart the server it is giving the error 'command not authorised chmod 777 /dev/lp0' but it is changing the /dev/lp0 permissions to 777 and without any problem we are using the printer. How to overcome the error message?
 
Old 08-31-2008, 05:46 AM   #2
Fantasio
Member
 
Registered: Nov 2007
Location: Vinsobres - Drome - France
Distribution: SuSE Linux 11.3
Posts: 152

Rep: Reputation: 19
see in /etc/udev ...
There, you 'll be able to force access rights

Last edited by Fantasio; 08-31-2008 at 05:48 AM.
 
Old 09-02-2008, 01:12 PM   #3
visitnag
Member
 
Registered: Mar 2008
Posts: 147

Original Poster
Rep: Reputation: 15
i saw /etc/udev there udev.conf... but i am unable to understand how to force /dev/lp0 to 777 permissions. I kept chmod 777 /dev/lp0 in /etc/profile. But Whenever i login it is giving error as i told earlier. My question is it safe to keep this command in roots bash profile. We were told that not to change roots bash profile. Is it safe or not?

Last edited by visitnag; 09-22-2008 at 12:30 PM.
 
  


Reply


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
permission problem - "You don't have permission to access" radone Linux - General 3 07-24-2006 11:23 AM
Permission denied error when printing with CUPS Davidian1024 Linux - Software 3 07-18-2005 02:47 PM
cps printing problem - /var/spool (permission denied) carboncopy Slackware 10 11-11-2004 04:28 AM
Printing permission denied johnwr Linux - Hardware 3 10-25-2004 08:52 PM
Printing fine via samba, but Windows still says permission denied. Do I care? jcb4003 Linux - Newbie 2 08-26-2004 07:14 PM


All times are GMT -5. The time now is 04:06 PM.

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