PDA

View Full Version : File permissions in RH8


ajmould
01-03-03, 09:48 AM
How do I enable access (read, write, execute) to all users for a selected folder and all files and subfolders of that folder?

I know you can right-click files and change things but doing them all individually will be such a pain. Is there a console command that I can use to do this?

Also, RH8 refuses to let me give permission to other users to access the mounted windows drives that I have.

I'd be greatful for any help that you can give. :)

volt
01-03-03, 12:45 PM
chmod 777 <file/folder> should do

luigi
01-03-03, 02:15 PM
On console you can do this:

su
<root password here>
chmod -R a+r myFolder

This will recursively change all files and folders to allow all users to read the files. (The -R option works also with chown command.)

Hope this will help you.

Luigi

ajmould
01-04-03, 05:30 AM
Great stuff. That was just the command I was looking for. Thanks.