ICE

Please login or register.

Login with username, password and session length
Advanced search  

News:

ICETCP.PRO and ICETCP.PLUS are compatible with Windows 11!

Author Topic: PC Print Permissions  (Read 1326 times)

gjnusbaum

  • Newbie
  • *
  • Posts: 2
PC Print Permissions
« on: January 24, 2008, 12:14:00 pm »

Using Ice.TCP Plus version of program with SCO UNIX.

root user is the only user able to use PC Print configured printer. Other users are receiving message:

   encountered an error while printing on printer icetcp.

   Reason for failure:

   mkdir: cannot make directory: /usr/tmp/icetcp: File exists (error 17)
   mkdir: cannot make directory: /usr/tmp/icetcp/icelp_jobs: Permission denied (error 13)
   cp: unable to create file /usr/tmp/icetcp/icelp_jobs/2321_1: Permission denied (error 13)

Appears to be a user permissions error. How do I fix? What are the files and subdirectories that need to be changed?
Logged

jimn

  • Global Moderator
  • Ice Artist
  • *****
  • Posts: 116
Re: PC Print Permissions
« Reply #1 on: January 24, 2008, 02:34:12 pm »

I'm guessing that the permissions weren't set for icelpd and/or the script

You'll probably need to be logged in as administrator to do the following.

go to /usr/bin/, or whatever dir has icelpd and type:

chmod 777 icelpd

Then go to the dir that icelp1.scr is in (probably  /var/spool/lp/model/) and type:

chmod 777 icelp1.scr

Logged

gjnusbaum

  • Newbie
  • *
  • Posts: 2
Re: PC Print Permissions
« Reply #2 on: January 25, 2008, 09:13:37 am »

Thank you very much! Problem solved. You were partly right, and put me on the correct path.

The file permissions you indicated in your reply were correctly set.

However the subdirectories listed in the error message were the ones with the restricted permissions. I performed a "chmod 777" on these subdirectories:

/usr/tmp/icetcp
/usr/tmp/icetcp/icelp_jobs

Program now working as designed for all users.

Thanks again,
Greg.
Logged
 

Page created in 0.044 seconds with 19 queries.