in reply to How can I Check the permissions of the folder,and correct them?
in thread rmtree deletes everything inside the folder but doesn't deletes the root folder him self
set:($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size, $atime,$mtime,$ctime,$blksize,$blocks) = stat($filename);
see perlfunc for more details stat chmod.chmod
|
|---|