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


Click here to return to the 'Great Idea, But....' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Great Idea, But....
Authored by: ret on Feb 05, '03 11:36:00PM
Excellent suggestion. My criticism (although I'm loathe to use that word) is a more general one about the hints posted here (and elsewhere) that require use of the chmod command. For the life of me I don't understand why they are always posted with the octal value for the permissions. Given the number of Unix newbies who use these hints, why don't more people post the marginally longer, but far more understandable chmod u=rw,g=r,o= ... syntax? If you're unaware of it, you can set permissions on files by describing who (u for user, g for group, o for other), how you're changing them (+ to add, - to remove and = to set explicitly), and the permission(s) you're adding (r for read, w for write, x for execute). You can combine the parameters as well, eg chmod ug+rwx,o=r myscript.sh, or perhaps chmod +x myscript.sh. man chmod for more. Just my 2c worth of beef ;-) RET

[ Reply to This | # ]