set sticky bit on /var/spool/lp/fifos/public

From: Sun Fire (starcat524@yahoo.com)
Date: Wed Mar 31 2004 - 05:09:05 EST


Dear Sun Managers,

I have a Solaris 8 machine and due to company policy
requirement, I need to set the sticky on the directory
of /var/spool/lp/fifos/public.

The default permission settings for the public files
is shown below.

# pkgchk -l -p /var/spool/lp/fifos/public
Pathname: /var/spool/lp/fifos/public
Type: directory
Expected mode: 0773
Expected owner: lp
Expected group: lp
Referenced by the following packages:
        SUNWpsr
Current status: installed

drwxrwx-wx 2 lp lp 512 Oct 29 2002
public

However, when I tried to change set the sticky bit,
lpsched will change the permission back to 773.

# chmod 1773 public
# ls -l
total 4
prw-rw-rw- 1 lp lp 0 Oct 30 2002
FIFO
drwxrwx--x 2 lp lp 512 Oct 29 2002
private
drwxrwx-wt 2 lp lp 512 Oct 29 2002
public
#
#
# pwd
/var/spool/lp/fifos
# lpshut
Print services stopped.
#
# /usr/lib/lpsched
Print services started.
#
#
# pwd
/var/spool/lp/fifos
# ls
FIFO private public
# ls -l
total 4
prw-rw-rw- 1 lp lp 0 Oct 30 2002
FIFO
drwxrwx--x 2 lp lp 512 Oct 29 2002
private
drwxrwx-wx 2 lp lp 512 Oct 29 2002
public

I would like to know why does this behaviour happens?
Is it recommended to set the sticky bit for this file?
If not, I need some write out to back me up. Is there
any reason why this directory cannot be set the sticky
on?

Thanks in advance for your help.

Regards,
Tim

__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:28:23 EDT