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

From: Sun Fire (starcat524_at_yahoo.com)
Date: 03/31/04

  • Next message: mahesh_at_tatatel.co.in: "vxresize error"
    Date: Wed, 31 Mar 2004 02:09:05 -0800 (PST)
    To: sunmanagers@sunmanagers.org
    
    

    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


  • Next message: mahesh_at_tatatel.co.in: "vxresize error"