What I am trying to do is create a directory for users. The issue is
I am getting errors:
Permission Denied from the chmod command which makes sence so I committed them out and it worked. But here are my issues now.
Now the thing would not delete the file out of the journal directory even those its chmod was 644. I also could not delete the username directory even though it was 777 so I had to delete the whole journal directory. Could that be becuase of the Owner and Group? Need any advice that is avaliable for information on how to make this script work correctly.