chown help
Hello, as most cpanel users will know there is a bug that means ownership of user dir changes, i have been using chown but i have problem.If i use:
chown -fR :user1 /home/user1
it works but sets all dir under /home/user1 to user1 which in most cases is required, but certain dir need to have different group ownership ie. mail
which means i then have to do the command again to reset the mail/ dir and any other dir that need resetting by doing
chown -fR :mail /home/user1/mail
is there anyway of excludung a dir?
cheers