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 [EMAIL PROTECTED] 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.
