7. If you have installed Maya/Studio on the same computer as the license server, there may also be a /var/flexlm/######.lic file. To easily edit the file in the /var/flexlm folder, you will need to run this command:
sudo chmod -R 777 /var/flexlm
=Full permissions on this folder. You can then edit the license file using Textedit and saving in the same folder without any permissions issues.
The maya.lic file should contain:
SERVER your-server-name-or-ip-address 0 USE_SERVER
NOTE: There should be a the number 0 after your-server-name-or-ip-address.