What is the most reliable way to give all users read/write privileges for a given directory, all of its subdirectories, and files in CentOS 7?
In an eclipse web application project that uses Maven, I am getting the following compilation error in the pom.xml:
Parent of resource: /home/user/workspace/MinimalDbaseExample/target/m2e-wtp is marked as read-only.
Since this sounds like a permissions issue, I typed in the following in the CentOS 7 terminal:
chmod -R ugo+rw /home/user/workspace/MinimalDbaseExample/target/
And I also tried:
chmod -R 0777 /home/user/workspace/MinimalDbaseExample
But eclipse is still showing the compilation error, even after multiple
Project clean and
Maven update operations. However, I am able to import the same zipped project file into a Windows version of eclipse, and there is no compilation error related to file permissions in the Windows version, so this causes me to wonder if perhaps my above
chmod statements did not actually open up the file permissions in the CentOS 7 machine.
Is there a better statement syntax that can reliably open up read write permissions to all users for the given directory and all its recursive subdirectories and files?