I want to automate the creation or processing of the following:
- Directory and subdirectory creation for your scenario company
- Files in each of the directories
- Symbolic links from 2 subdirectories to their parent directories
- Setting appropriate file permissions for the directories and files:
[list] - Directories
[list] - the file owner can read, modify and access the scenario company directories,
- the group members can read and access the scenario company directories,
- everyone else has no access.
[/list] - Files
[list] - The owner can read and modify the file,
- the group members can only read the file
- everyone else has no permissions at all.
[/list]
[/list] - Include branching to only execute the directory, file and link commands only if the directory or file does not already exist.
- Set up an error log file with commands to route the errors messages into it.
However, I have only been using Linux for a few weeks now and this is proving to be extremely complicated. I have read tutorials on automating but cannot understand it. This is a school assignment due today by 11:59pm central time. Ant assistance would be greatly appreciated!