add -c option to chown and chmod

Changes to be committed:

	modified:   lib/base.lib