Oracle Error ORA-01568: cannot set space quota on PUBLIC

Oracle Error Message

ORA-01568: cannot set space quota on PUBLIC

Reason for the Error

Trying to set space quota on a tablespace for PUBLIC.

Solution

If trying to grant system-wide or tablespace-wide space priviledges to all users, use GRANT RESOURCE [ON ] TO PUBLIC.