Quote:
Originally Posted by bsctov
Im just trying to use a FTP to change/edit my website files, its currently setup with Gproftpd with the webserver root as the user access root.
|
As cyent said: it sounds like a permissions issue. The account that you're using to log in for ftp needs to have permissions to access/modify files in the /var/www dir to make any changes. There's a couple ways you can do this that I've worked with:
Change the ownership of the directory to the user/group you're using for ftp access.
Leave the default ownership in place and append the www ftp groups to the user account you're using for ftp/www access.
Change the permissions of the dir to allow lax/open access (BAD IDEA!).
Personally I'd start with adding the groups to your username: it's more secure, doesn't remove access to the dir from other priveleged accounts and should allow you the editing capacity you're looking for. Under no circumstances, however, should you switch ownership/permissions to the base 'user' groups: it's extremely unsecure in comparison to the other two methods.
Gryyphyn, out.