View previous topic :: View next topic |
Author |
Message |
arachn1d Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/202445774740f24df058ac6.jpg)
Joined: 15 Apr 2004 Posts: 369 Location: /var/www/wtf-dude.com lynx wtf-dude.com
|
Posted: Wed Jun 09, 2004 7:31 pm Post subject: pure-ftpd help |
|
|
Hello, I set it up and I can connect fine. Just one question...
How can I have it so that a user has permissions to a directory?
in this case
/var/www/localhost/htdocs/webfolder/
this is so i can update the website.
Right now its saying permission denied but I can roam freely around the directories, any help? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Deathwing00 Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1140581890451d29047ad41.jpg)
Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
Posted: Wed Jun 09, 2004 8:02 pm Post subject: |
|
|
Moved from Portage & Programming. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
the_sphynx Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/180189972142977fd4a944d.jpg)
Joined: 19 May 2004 Posts: 156 Location: Thornton, CO
|
Posted: Wed Jun 09, 2004 8:22 pm Post subject: |
|
|
How are you doing authentication (e.g. passwd, mysql, etc.)? Also what are the permissions on that direcory for the user that you are trying to log in as? _________________ Folding@Home User 285941 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
arachn1d Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/202445774740f24df058ac6.jpg)
Joined: 15 Apr 2004 Posts: 369 Location: /var/www/wtf-dude.com lynx wtf-dude.com
|
Posted: Wed Jun 09, 2004 8:36 pm Post subject: |
|
|
auth is password
the permissions is i guess normal ones created on the system setup ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
the_sphynx Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/180189972142977fd4a944d.jpg)
Joined: 19 May 2004 Posts: 156 Location: Thornton, CO
|
Posted: Thu Jun 10, 2004 6:24 pm Post subject: |
|
|
Sorry about not getting back to you..
What I would first do is make sure that /var/www/localhost/htdocs/webfolder has the correct permisssions to have files written there by the user that you want to allow FTP access.
Then (for security best practices) create a user with that as their home directory and a false shell (/dev/null).
Pure-FTP will recognize that that is the home dir and will place them there by default. That should work.
There is another alternative, although it may be a little trickier, and that is to create a symbolic link to /var/www/localhost/htdocs/webfolder in the typical home dir. of the user (i.e. /home/user). The trick is getting Pure-FTP to allow symbolic links in a dir to be followed. I would suggest going to Pure-FTP's site and check out the docs. _________________ Folding@Home User 285941 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|