hello all. i have always come across this problem. i will explain as much possible to get a permanent solution from you guys.
we have a development server, fedora 5. there will be one or more developers working on the same machine on same or different applications. All the applications which are mainly in php should be executable by apache; also, the applications should be editable from ftp through editors such as dreamweaver, zend, etc. Also, as you would be knowing, not really i want files and services to run from root as they may delete something.
fyi: proftpd is the ftp server; httpd is the web server; scripts in php 5
i have full permissions on the server so i would try your procedure which may involve creating, modifitying users, groups & permissions. So, what should I do with the following..
1. httpd
2. ftp
3. files
Executing php and editing using ftp
Moderator: General Moderators
- raghavan20
- DevNet Resident
- Posts: 1451
- Joined: Sat Jun 11, 2005 6:57 am
- Location: London, UK
- Contact:
- raghavan20
- DevNet Resident
- Posts: 1451
- Joined: Sat Jun 11, 2005 6:57 am
- Location: London, UK
- Contact:
so lets say if i have something like this will it work?
developers: rag, mike
new group: developers
add members to group developers: rag & mike in developers
httpd(/etc/httpd/conf/httpd.conf): user-nobody group-developers
ftp(/etc/proftpd.conf): user-nobody group-developers
files(ex: /var/www/html): user-nobody group-developers
files permission: 774
i tried something like this, it did not work from ftp side (editing was disallowed)
Thanks feyd, Rag
developers: rag, mike
new group: developers
add members to group developers: rag & mike in developers
httpd(/etc/httpd/conf/httpd.conf): user-nobody group-developers
ftp(/etc/proftpd.conf): user-nobody group-developers
files(ex: /var/www/html): user-nobody group-developers
files permission: 774
i tried something like this, it did not work from ftp side (editing was disallowed)
Thanks feyd, Rag