ICE

TCP/IP Products => TCP-PLUS => Topic started by: gjnusbaum on January 24, 2008, 12:14:00 pm

Title: PC Print Permissions
Post by: gjnusbaum 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?
Title: Re: PC Print Permissions
Post by: jimn 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

Title: Re: PC Print Permissions
Post by: gjnusbaum 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.