in reply to How to get file owner name?
Update: this should work
my $uid = (stat $filename)[4] my $user = (getpwuid $uid)[0]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to get file owner name?
by trek1s (Scribe) on Sep 10, 2007 at 09:47 UTC | |
by narainhere (Monk) on Sep 10, 2007 at 11:01 UTC | |
by Fletch (Bishop) on Sep 10, 2007 at 12:51 UTC | |
by grinder (Bishop) on Sep 10, 2007 at 15:41 UTC | |
by trek1s (Scribe) on Sep 10, 2007 at 12:13 UTC |