LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 05-04-2005, 05:45 PM   #1
ahz10
Member
 
Registered: Apr 2005
Distribution: Fedora,Trustix,FreeBSD
Posts: 62

Rep: Reputation: 15
Samba printing permissions problem


Hello,

I am trying to use Samba and CUPS to share a printer, but I am getting a permissions error. In the samba log:

Code:
/var/log/samba/log.192.168.0.157:[2005/05/04 15:30:21, 0] printing/printing.c:print_job_start(2297)
/var/log/samba/log.192.168.0.157:  print_job_start: insufficient permissions to open spool file /var/spool/samba_printer/bree/smbprn.00000013.HwGH6l.
What is the correct permissions for this directory? I tried chmod a+rwx, and it works, but that is insecure. Instead, I tried
Code:
chmod bree foo; chmod g+rwx bree
but strangely that doesn't work.

I have searched Google for a while, but found no good answers.
 
Old 05-05-2005, 11:34 AM   #2
netcrawl
Member
 
Registered: Jan 2004
Location: British Columbia
Distribution: Slackware64 14.1, m0n0wall
Posts: 143

Rep: Reputation: 20
root# chmod a+rw TX /var/spool/samba

From: http://us4.samba.org/samba/docs/man/...html#id2463782

Hope that helps,
netcrawl.
 
  


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
Samba printing problem (again) Under Fire Linux - Networking 6 02-15-2006 04:42 PM
Samba printing problem crash89 Linux - Networking 0 03-30-2004 08:33 AM
Samba Printing Problem rgheck Linux - Networking 1 12-21-2003 01:29 PM
samba printing problem rakeshmalviya Linux - Software 2 10-28-2003 10:43 PM
Printing problem using Samba frkstein Linux - Networking 0 09-16-2002 10:31 PM


All times are GMT -5. The time now is 12:42 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration