[Gambas-user] A few questions

Doriano Blengino doriano.blengino at ...1909...
Mon Jan 31 12:56:47 CET 2011


John Spikowski ha scritto:
> BTW: I fixed my running as root when I shouldn't have problem. The
> following commands will recursively change your owner and group
> permissions for files and directories.
>
> *** FILES ***
> find . -type f -exec chown -R me {} \;
> find . -type f -exec chgrp -R me {} \;
>
> *** DIRECTORIES ***
> find . -type d -exec chown -R me {} \;
> find . -type d -exec chgrp -R me {} \;
>
> *Note: Change 'me' to 'you'.
>
>    
Why don't you use a simpler

     chown -R me *

Regards,
Doriano






More information about the User mailing list