[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vps-mail] Resetting rights to folders and files easily



On Mon, May 10, 2004 at 12:07:45PM -0400, John Oligario wrote:
> Hello,
> 
> With the bayes filters and spamassassin, I would like to know an easy way to
> be able to read the user list, and then go in and change the owner of
> spamassassin and files below, to the respective owner.

>From a Bourne-ish shell (sh, bash, zsh):

  for user in joe bob sally; do chown -R $user:$user /home/$user/.spamassassin; done

Scott
-- 
Scott Wiersdorf
scott@xxxxxxxxxxxx
======================================================================
This is <vps-mail@xxxxxxxxxxxx>       <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).


Main Index | Thread Index
Match: Format: Sort by:
Search: