Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Problems? Is your data what you think it is?
 
PerlMonks  

How to find file ownership under NT (yuck)

by prodevel (Scribe)
on May 30, 2001 at 19:55 UTC ( [id://84358]=perlquestion: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.

prodevel has asked for the wisdom of the Perl Monks concerning the following question:

I'm wondering how to go about getting the username who owns a particular file...

Regards and thanks in advance!
  • Comment on How to find file ownership under NT (yuck)

Replies are listed 'Best First'.
Re: How to find file ownership under NT (yuck)
by Albannach (Monsignor) on May 30, 2001 at 20:38 UTC
Re: How to find file ownership under NT (yuck)
by prodevel (Scribe) on May 30, 2001 at 22:29 UTC
    Thanks very much - I'll look into that...

    It doesn't seem to like to install from the internet:

    C:\Perl\bin>perl ppm.pl install http://www.roth.net/perl/packages/win32-perms.ppd
    Installing package 'http://www.roth.net/perl/packages/win32-perms.ppd'...
    Error installing package 'http://www.roth.net/perl/packages/win32-perms.ppd': Could not locate a PPD file for package http://www.roth.net/perl/packages/win32-perms.ppd

    I'll try the manual install...
Re: How to find file ownership under NT (yuck)
by LD2 (Curate) on May 31, 2001 at 01:16 UTC

      No, under Win32, stat always returns 0 for both UID and GID (update: as does File::stat).

              - tye (but my friends call me "Tye")

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://84358]
Approved by root
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.