Automatically setting new files on the server as 755
Hello linux gurus, I hope you can assist me on this. A little background info first: I currently run a web server on Redhat 7.1, it's web documents directory is /www/. I do all of my work on a windows machine, using Samba to access the linux box.
When I create a new file on the windows box and drop it into the /www/ directory, it is assigned a 744 permission, which blocks people on the internet from accessing the file (403 forbidden) for some reason, it works fine with 755. So, everytime I add a file, I have to "chmod -R /www/" the whole directory. Im sure there is a way to automatically set all new files on the server, or just that directory, to a 755 permission, but I have no idea how.
How do I make a folder (/www/) automatically set all files added to it to 755 permission?
-Thanks
|