On Linux get disk space used per user when you are not root [closed]
문제
du --max-depth=1
will give the usage of the user you are logged in as. But we have a dev box shared by more than one team, so its getting tough to find the culprit.
If I am root I can do it but I am not the root user and dont want to ask the System Admins all the time to find the user with most usage.
Any ideas on this please.
해결책
You can't determine the size of directories you have no read/execute permissions for, so this is only possible when being root.
제휴하지 않습니다 StackOverflow