Re: Question about directory ownership (SOLVED)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux