for ex.-- change ownership recursively to everything in /usr/local
Ctrl-Alt-F2 (NOTE: Ctrl-Alt_F7 to get back)
(or, if no root passwd deignated yet,
PHP Code:
sudo passwd root
, then, afterward, either su or sudo)
-- You are now root, if all went well --
-- Go to directory/file just before where permissions are to be changed, like /usr/local --
-- the command <chmod> changes permissions, while <chown> changes ownwership--
(returns /usr)
PHP Code:
chown -R name:group ./local*
(where "name" is user name desired to own all within /usr/local; "group" likewise)
-- Check it out by
PHP Code:
cd /local | ls -al
--
http://www.tuxfiles.org/linuxhelp/cli.html should help, too
"you can lead a horse to water . . . "