i am using fedora and a folder i want to set permission public every one read write
chmod -R 755 /directory
chmod owner group world FileName
and other's but can't work
how i can give public permission to every one one of my folder and every thing under it to other users
thanks
解决方案
Following two commands will ensure your purpose
chmod -R 755 /directory
chown -R owner.group /directory
This will give read permissions to everyone. You may be facing issue due to wrong ownership. If the file is not very sensitive, you can also use:
chown -R nobody.nobody /directory ( No body means anyone )