public static void setOwnerOnlyPermissions(File f) {
		// It's not clear from the below methods' documentation if you have to first
		// clear permissions for everyone before setting them for just the owner.
		// We'll do the (possibly) extra step though to ensure we get the behavior
		// we want.
		f.setReadable(false, false);
		f.setReadable(true, true);
		f.setWritable(false, false);
		f.setWritable(true, true);
	}
Sets the given file (or directory) to readable and writable by only the owner.

@param f The file (or directory) to set the permissions of.
Ghidra/Framework/Utility/src/main/java/utilities/util/FileUtilities.java