DEV Community

Discussion on: Learning about Unix File Permissions

Collapse
jimmymcbride profile image
Jimmy McBride

Good ol' chmod. I was roaming around my filesystem in root one time and I made some files and directories and went to check it out a few days later and keep getting permissions denied errors and I was like, "WTF?" Tryed good ol' chown to give myself permission, but I was in as home user, not root user, so it didn't work. I needed to switch to root to chown files to home user cause I was in root when I did it. Took me a minute.

"With root power, comes root responsibility"