Permission denied

99 views
Skip to first unread message

Stepha...@gmail.com

unread,
Oct 30, 2007, 11:04:55 AM10/30/07
to Pureadmin Discussions
Ehlo,
I've pureftpd on SuSE SLES 10 and your pureadmin.

My problem is when i've configured one user ...
I'm going to connect with the ftp agent and can't create or modify
folders or files.

Plz, can u explain-me why ?
Perhaps, it's due to a pureftpd-donf bad config.

PS: excuse-me if my language isn't correct, so french !

Isak Savo

unread,
Oct 30, 2007, 12:56:49 PM10/30/07
to pureadmin-...@googlegroups.com
2007/10/30, Stepha...@gmail.com <Stepha...@gmail.com>:

>
> Ehlo,
> I've pureftpd on SuSE SLES 10 and your pureadmin.
>
> My problem is when i've configured one user ...
> I'm going to connect with the ftp agent and can't create or modify
> folders or files.

It's probably because the permissions on the FTP users folder is incorrect.

In pureadmin, you map each user to a system user (called "ftpuser" by
default) and a system group (called "ftpgroup" by default).

The directory where your ftp files are ("/home/ftpuser" by default)
needs to be owned by this user and group.

In the terminal, you want to see something like this:
ls -ld /home/ftpusers/
4 drwxr-xr-x 6 ftpuser ftpgroup 4096 2005-11-01 12:06 /home/ftpusers/

You can change permission by using the 'chown' command in the terminal:
chown ftpuser:ftpgroup /home/ftpusers -R

('-R' to make all subdirectories and files inside be changed to
ftpuser/group too)

> Perhaps, it's due to a pureftpd-donf bad config.

It could be configuration related too, but check folder permission
first. If permissions are correct, there might be some setting in
pureftpd that prevents users from modifying stuff.

-Isak

Reply all
Reply to author
Forward
0 new messages