On operating systems which support file permissions, PERMIT changes the permissions assigned to a file. If the operating system does not support this feature or does not support some of the categories or codes you specify or if you do not have the proper privilege to change the permissions, an error is returned.
This statement is not supported by HTBasic. Use PROTECT instead.