Hey there everyone. I have a question: I want to write a script that will write content to a file. Right now I have the directory that the file is in set at 0777 permissions and the file set at 0666 permissions. But I only want this script to be able to write to my file and my directory, not the whole world. Is there a way to do this? Perhaps to have the script identify a uid or gid or something? Thanks in advance.



Reply With Quote



Bookmarks