Re: Modifying directory permission

2005-02-04 Thread Wiggins d'Anconia
Jenda Krynicky wrote: From: "Anish Kumar K." <[EMAIL PROTECTED]> Is there any way in perl I can modify the permission of a directory using perl scripts It never ceases to amaze me how often people forget to specify their operating system when asking apparently OS specific questions ... Jenda It

Re: Modifying directory permission

2005-02-03 Thread Jenda Krynicky
From: "Anish Kumar K." <[EMAIL PROTECTED]> > Is there any way in perl I can modify the permission of a directory > using perl scripts It never ceases to amaze me how often people forget to specify their operating system when asking apparently OS specific questions ... Jenda = [EMAIL PROTECTE

Re: Modifying directory permission

2005-02-03 Thread John W. Krahn
Anish Kumar K. wrote: Is there any way in perl I can modify the permission of a directory using perl scripts perldoc perlfunc [snip] Functions for filehandles, files, or directories ^^^ "-X", "chdir", "chmod", "chown", "chroot",

RE: Modifying directory permission

2005-02-03 Thread Thomas Bätzler
Anish Kumar K. <[EMAIL PROTECTED]> asked: > Is there any way in perl I can modify the permission of a > directory using perl scripts Of course. Check out the builtins chmod and chown. HTH, Thomas -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <

Re: Modifying directory permission

2005-02-03 Thread Tommy Nordgren
Feb 3, 2005 kl. 12:32 PM skrev Anish Kumar K.: Is there any way in perl I can modify the permission of a directory using perl scripts Anish $dir = shift @ARGV; $perms = ?? #Whatever you wan't system('chmod', $perms,$dir) if -d $dir; "Home is not where you are born, but where your heart finds peac