Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A fix for error 1282 when adding a printer' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A fix for error 1282 when adding a printer
Authored by: lukec on Jul 25, '03 12:36:31PM

I'd like to know *why* this works. In the case of the apple TN, the system searches for /var/spool/cups and there appears to be no provision to make a directory in the event it doesn't exist.

However, in the case of the hint submitter, I'd suspect a permissions problem. I noticed that if I chowned the cups dir to 000 it would actually put the permissions back to 700 when I issued a killall -HUP cupsd . So, I'm unsure of how the hint submitter was able to get that error while the directory existed.

I suspect that this discussion might be too technical for this forum, I also suspect that someone is going to tell me to check out the darwin project ;)

Note: "sudo rm cups" will not work without a -r or a -d switch.

Luke



[ Reply to This | # ]
A fix for error 1282 when adding a printer
Authored by: zarqman on Jul 25, '03 03:03:03PM

if he didn't use a parameter on rm, instead issuing 'sudo rm cups' as described, perhaps that's the key. perhaps the cups directory was replaced by a file called cups. which would mean everything that was in it, isn't. and that you would be unable to add anything to it. likewise, permissions wouldn't help. just a thought...



[ Reply to This | # ]
A fix for error 1282 when adding a printer
Authored by: cparnot on Aug 07, '03 02:18:43PM

Thanks for the comments.
Now, I am not sure anymore what I really did (rm -r or rm). I was so annoyed that I did not bother too much about understanding what happened.
If it was really a file, something really weird must have happened...

I guess the bottom line would be: just make a brand new folder 'cups' if you don't care about loosing some ongoing printing jobs.

---
charles



[ Reply to This | # ]