Re: deny deleting a file for users

From: Stephen Samuel (samuel_at_bcgreen.com)
Date: 06/04/03

  • Next message: Brian Hatch: "Re: deny deleting a file for users"
    Date: Wed, 04 Jun 2003 10:44:03 -0700
    To: J Norfleet <jnorfleet@picusnet.com>
    
    

    An easier solution would be to simply create a hard link to the
    file... eg:
    ln /home/usr1/nsmail /home/nodel/nsmail

    You would then need an occasional cron job to manage files
    that had been reduced to a link count of one. (including
    recreating the link).

    If you want to get real creative, you could set up sendmail so that
    it checked for the existence of a user's nsmail file every time a
    message got delivered for them by creating a wrapper around the
    local delivery program.

    J Norfleet wrote:
    > On Friday 30 May 2003 7:31 pm, Brian Hatch wrote:
    >
    >>>I would like to know if there exist any way to deny deleting a file for a
    >>>user, but allow this user accessing, removing parts of this file or
    >>>append text?
    >>>
    >>>We have problems in our systems because some users delete theirs own
    >>>nsmail file without notice what they are doing.

    -- 
    Stephen Samuel +1(604)876-0426                samuel@bcgreen.com
    		   http://www.bcgreen.com/~samuel/
    Powerful committed communication, reaching through fear, uncertainty and
    doubt to touch the jewel within each person and bring it to life.
    

  • Next message: Brian Hatch: "Re: deny deleting a file for users"