Jun 10, 2002 #1 gkmccone Technical User Oct 24, 2001 17 US Without doing a system call from Perl, does anyone know how to change the group permissions on a file/dir? If there is a method, does anyone know if it will work for "nix" and Win32?
Without doing a system call from Perl, does anyone know how to change the group permissions on a file/dir? If there is a method, does anyone know if it will work for "nix" and Win32?
Jun 10, 2002 #2 justice41 Programmer May 29, 2002 755 US Use Perl's built-in chown() command chown -1, $gid, @files; Where $gid must be numeric. the -1 tells chown to leave the owner unchanged. see perldoc -f chown jaa Upvote 0 Downvote
Use Perl's built-in chown() command chown -1, $gid, @files; Where $gid must be numeric. the -1 tells chown to leave the owner unchanged. see perldoc -f chown jaa