title: Shellscript - How do I exclude file names listed in a particular file from CHOWN execution
body: <p>I'm trying using <code>chown -R user:user /opt/var/test !(file1.php)</code> to change the ownership of all files except file1.php from the test directory where file1.php is present in one of the subdirectories, but the command above doesn't work, no error but the file doesn't get exclueded.</p>
  <p>Also, I have a couple of more files in the same directory and I want to store them in a file exclusionlist.txt and read the file as an array element and pass it to the same command to exclude from the permission change. Any help.</p>