Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Fixing permissions...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Fixing permissions...
Authored by: noworryz on Mar 12, '03 11:04:54PM

Once you have the ownership and group fixed, as shown above, you can get the permissions the way you want them without using sudo.

First give yourself the correct permissions, denying access to all others:


cd
chmod -RP u=rwX,g=,o= * .[^.]*

Then, if you want, give read access to user in your group and all other users:


cd
chmod -RP g+rX,o+rX * .[^.]*

That's it!

[ Reply to This | # ]

Fixing permissions...
Authored by: Coumerelli on Nov 24, '03 11:33:55PM

noworryz - YOU are the man!!!!! You helped save my hide. After copying my whole drive from one comp to another the permissions were ALL screwed up. I did what you said, and BAM it worked. YOU Da man!!!! (or woman ;))

Thanks a million (figuratively). And for anyone who is scarred, do it, but just keep an eye out for typos.

---
"The best way to accelerate a PC is 9.8 m/s2"



[ Reply to This | # ]