On 06/19/2013 10:19 PM, Reindl Harald wrote: > > > Am 20.06.2013 05:17, schrieb Anthony: >> How do I add myself as co-owner of a directory? I set up a new >> apache server and need to transfer files to /var/www/html. The >> problem is, of course, I've denied root login but don't have >> sufficient privs to login and transfer files under my username. >> >> How can I fix this? > > man chown man chgrp man setfacl > > generally the files should not be owned by apache and only > writeable by the owner, in your case you > > from point of security it is very bad if the webserver has > write-permissions because it may lead after a small breach in > manipulated files wide opening the doors Thank you. In my case, it looked like root was one of the owners of the directory but apache wasn't. The owners were listed as root and me. But I couldn't write to it. I did a chown anthony: /var/www/html and that seems to have given me write privs since I'm now the owner. I couldn't find the man page for setfacl but I'll dig around the net and see if I can find it. In the meantime, I'm assuming simply taking ownership of the directory shouldn't open any security holes, right? Thanks for the quick help! anthony -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org