modifying file permission setter to use system command