Hello, I have a script that allows users to create some folders. The problem is when the folders are created, it has the user's id instead of mine. Is there a way to maintain my owner id for those generated folders without asking the users to 'su' to my user ID ? Thanks very much..
Example script:
#!/opt/local/Perl-5.6/bin/perl
my $myDir = "/path1/path2/theDir";
mkdir($myDir);
...