[NBLUG/talk] Permissions question

Mark Street jet at sonic.net
Fri Oct 17 09:19:00 PDT 2003


Let's see brianpics entry in /etc/passwd,

and the output from the command

id brianpics

What are the full permissions on /home/httpd directory?
For brianpics directory the perms can be more restrictive 750 or even 700.

From /etc/vsftpd/vsftpd.conf, uncomment as I have done here.  Of course my 
config may be different than yours..

# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().
chroot_list_enable=YES
# (default follows)
chroot_list_file=/etc/vsftpd.chroot_list
#

Create the file vsftpd.chroot_list file and put the users login name in it.

then run as root

service vsftpd restart

login as your user.... ftp chroot jail...

On Friday 17 October 2003 07:45, Todd Cary wrote:
> Mark -
>
> <<<
> ServerRoot /etc/httpd or DocumentRoot /home/httpd/html
>
>
> ServerRoot /etc/httpd
>
> <<<
>
> DocumentRoot /home/httpd/html
>
> <<<
> theApache 1.3* or Apache 2 ??
>
> What ftp server are you using?
>
>
> Apache 2.
> VsFtp
>
> <<<
> Why do you set the group to adm on the brianpics dir, set it to the
> owner and
>
> If I set the group to the ownder, brianpics, I cannot login.  Why?
>
> Here is the confusing part for me:
>
> The users home directory is /home/httpd/brianpics and the privileges are
> drwxrwxr-- and the directory is owned by brianpics.  The ftp error is
> "500 OOPS: chdir" on attempting login.
>
> chdir from where to where?
>
> Sorry if this has an obvious answer that I am just missing, but......

-- 
Mark Street, D.C.
Red Hat Certified Engineer
Cert# 807302251406074
--
Key fingerprint = 3949 39E4 6317 7C3C 023E  2B1F 6FB3 06E7 D109 56C0
GPG key http://www.streetchiro.com/pubkey.asc




More information about the talk mailing list