/var/spool/mail/root: permission denied

Here I go again, running linux 5.8, when trying to open mail for other users by su username, keep on getting a permission error. How do I fix the issue?
Thanks,
F.
felgueraAsked:
Who is Participating?
 
farzanjCommented:
Are you using

su username

OR
su - username

Notice dash after su
0
 
unknown_routineCommented:
User should be in mail group:

ls -l /var/mail

Use groups to check this.
0
 
felgueraAuthor Commented:
Funny, there is no mail group, is that normal?
0
 
felgueraAuthor Commented:
Well, that is it! no dash, with dash the permission issue goes away :)
Thanks,
F.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.