The stupid question is the question not asked | |
PerlMonks |
Re: Writeability of a file for a different userby strredwolf (Chaplain) |
on Aug 03, 2011 at 03:15 UTC ( [id://918166]=note: print w/replies, xml ) | Need Help?? |
What I would do is stat() the file, which will get you the mask and I think the ID# of the user and group. From that, you can parse through /etc/group and /etc/passwd on any Unix.
Information doesn't want to be free. It wants to be feline.
In Section
Seekers of Perl Wisdom
|
|