How to perform file / directory manipulation with user privileges in mind? How to perform file / directory manipulation with user privileges in mind? unix unix