LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 05-11-2007, 03:35 PM   #1
nuro305
Member
 
Registered: Mar 2004
Location: New Mexico
Distribution: FC4, SuSE 9.3 Pro, SuSE 10.1, SLED 10 SDK
Posts: 128

Rep: Reputation: 15
Network Printer /DEV/NULL Error


Hey,

I'm running SLED 10 and I keep getting Unable to open "/dev/null" - Permission denied. error when I try and print.

I have setup the printer as every type of connect option there is, CUPS, UNIX, SMB...
It's an Cannon Image runner 3300 on an IP in our corporate network.

Any thoughts on what the heck this error is ? This is got to be some kind of bug. Printing can't be this complex on SLED 10.
 
Old 05-12-2007, 12:24 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 76
What are the permissions on /dev/null (i.e., the output of “ls -l /dev/null”)?
 
Old 05-14-2007, 11:36 AM   #3
nuro305
Member
 
Registered: Mar 2004
Location: New Mexico
Distribution: FC4, SuSE 9.3 Pro, SuSE 10.1, SLED 10 SDK
Posts: 128

Original Poster
Rep: Reputation: 15
Thanks for the reply. They are:
crw - rw - - - -

I have never messed with it. Does that look correct ?

Thnaks,
Paul

Last edited by nuro305; 05-14-2007 at 11:42 AM.
 
Old 05-14-2007, 12:06 PM   #4
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 76
No that doesn’t look correct. Permissions should usually be 0666 (or rarely, 0222). What is the group owner? Perhaps your distro expects the permissions to be 0660 and anyone who needs to read/write should have belong to the necessary group. I would suggest either changing the permissions to 0666 as root (i.e., “sudo chmod 0666 /dev/null”) or post the group (i.e., “ls -l /dev/null”) and we’ll assess if it is a group you should let your common user join.
 
Old 05-14-2007, 01:02 PM   #5
nuro305
Member
 
Registered: Mar 2004
Location: New Mexico
Distribution: FC4, SuSE 9.3 Pro, SuSE 10.1, SLED 10 SDK
Posts: 128

Original Poster
Rep: Reputation: 15
AH HA !

Ok, I don't mind changing the Perms, but I think I see a potential problem. I'm also running "Parallels" VM on this box and it's not exactly officially supported on SLED 10 (only SuSE 10.1)

Here's the output of ls -l /dev/null


crw - rw - - - - 1 root parallels 1, 3 2006-09-20 11:14 /dev/null


Let me know what you would do to fix this. (this is just a single user system for me)

Thanks again for the help.
 
Old 05-14-2007, 01:14 PM   #6
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 76
I would go ahead and chmod 666. A lot of applications “need” write access to /dev/null, so it might be best just to give universal read/write access (rather than add every user to the parallels group). As far as persistence, I don’t think you’ll have a problem between reboots since null is one of the device nodes required by udev itself. If you do have trouble, try finding the udev rule that adds the null device and change the “MODE” attribute to “0666”.
 
Old 05-14-2007, 03:50 PM   #7
nuro305
Member
 
Registered: Mar 2004
Location: New Mexico
Distribution: FC4, SuSE 9.3 Pro, SuSE 10.1, SLED 10 SDK
Posts: 128

Original Poster
Rep: Reputation: 15
Thanks,

I'll chmod to 666 and try it out later this wek in the office.

Thanks for the advice.

Paul
 
Old 05-15-2007, 02:36 PM   #8
nuro305
Member
 
Registered: Mar 2004
Location: New Mexico
Distribution: FC4, SuSE 9.3 Pro, SuSE 10.1, SLED 10 SDK
Posts: 128

Original Poster
Rep: Reputation: 15
New Error on Local Printer

Hi,

I hope your still watching this thread ;-)

I'm home trying to use a local USB Cannon ip4000 printer (still havent's tried the networked one at the office) and after the "Wizard" completed I now got this error:

Paused: Unable to open device "hal:///org/freedesktop/Hal/devices/usb_device_4a9_1093_23CAA4_if0_printer_noserial": Permission denied

I have chmoded /dev/null to 666 and even tried 777 for kicks....... to no avail. Any other ideas on this error ?

Thanks, Mucho
 
  


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
What is meant by " file > /dev/null 2>&1 </dev/null " attockonian Linux - Newbie 5 06-30-2006 11:51 PM
Creating a printer, but sending to a script & /dev/null, how to? cougar694u Linux - Software 1 09-24-2004 02:38 PM
reoccuring /dev/null error on bootup mehesque Linux - Newbie 3 01-13-2004 05:48 PM
my linux error : Couldn't open /dev/null (read-only filesystem) Darick Ang Linux - General 3 10-28-2003 02:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 11:40 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