Problem scenario
You run a quota command. But you get “quota: Cannot open quotafile…” //aquota.group or //aquota.user … “Permission denied.”
What should you do?
Possible Solution #1
Maybe you do not have permissions. Can you run it with “sudo “?
If you run it with sudo and just see the quota governing the root user, then try running a command like this:
sudo quota -u jdoe
# Replace “jdoe” with the non-root user
You may want to find the relevant files with commands like this:
sudo find / -name aquota.group
sudo find / -name aquota.user
Possible Solution #2
This assumes you have the chattr utility installed;
…
Continue reading “How Do You Troubleshoot “…quota: Cannot open quotafile //aquota.user: Permission denied”?”