Hi;

  I try not to run my scripts with elevated privilege.

  But sometimes files, directories and filesystems need to be accessed
via elevated privilege.

  So how to do this?

  If I'm logged in as an ordinary user and run a script (manually or
under crontab), the "-d", "-f", "-r" type of file metadata queries are
performed as me.  What happens if I need to perform file metadata
queries for files and/or directories that belong to root or somebody
else where there is insufficient privilege to perform that function?
I'd rather not have to use sudo to do this.  What is a perl native
method?

Thanks,
Ken Wolcott

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to