By allwires on
Hey guys,
I finished installing drupal on my server. I have very limited experience with linux and drupal, so I was hoping someone could explain something to me.
Unless I set the permissions on the sites/default/files folder to to 666 I get some error in drupal about the filesystem. Does setting my permissions to 666 mean that people could just randomly upload as many files as they want into my server? Just use it as an online storage pretty much? What if someone just put some copyrighted material in there and I got in trouble?
I am still learning about setting up websites so sorry if this is a stupid question!
-thanks
Adam
Comments
No 666 is how it should be
No 666 is how it should be set as you want any unauthenticated (with the webserver) user to be able to use the upload script. This will not allow your site to be used as a public fileserver as the script to upload it still needs to be on your site (It's not FTP) so the permissions will be controlled through that, in this case it is Drupal that will be handling those permissions. If you don't want users to upload anything on your site (To avoid potential legal issues) just remove the upload feature for all users from the drupal permissions page.
Thanks
Ok thanks! That explains a lot!