I am just curious about something that happened to me recently.
I am fairly new to linux and recently i was setting up a user account to use my Xserver (i read is not recommended to startx with root access)...
So... when i try to launch the X I get some complaints about not having permission in the tmp folder (maybe i changed them by mistake) and after getting totally frustrated trying to change the permissions in some folders i got sick of it and did the following:
the funny part about it is that even though i set up permissions to rwx for everybody then i got the following error when i tried to switch user from root to user:
# su raptorx
[bin/bash] Permission Denied
I was like WTF??
I had to set the permissions to the default 755 in order to be able to switch users...
Can anybody give me an explanation for that???
If ALL folders are set to 777 how com i get a Permission Denied error??
It is not a problem but im just curious about it.