Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hello,
I have a script called "change" that lives in the following directory:
/home/controlm/measurements/The /home/controlm dir is the home dir for the controlm user ID.
There will be multiple people using the change script and they will execute the script from there own home directory (PATH to /home/controlm/measurements will be exported in .profile)
User will type in - change to envoke the script, the script will ask a few questions, create a file called changelog.<month> if it has not already been created and append the answers to the file.
Since I was the first person to run the script, the changelog.Feb file was created with me as the owner and gave it rw-r-r permissions.
If a different person runs 'change' from their home dir, then they are going to get a permissions error when the script try's to append their answers to the changelog.Feb file.
Is there any way around this? I can change it manually but that would defeat the purpose of having this automation in place.
Thanks for any help!
Big_Z

![]() |
Timestamp for files
|
UNIX GUI problem
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |