Results 1 to 2 of 2
Thread: Linux FTP Server
09-21-2008, 07:43 AM #1
- Join Date
- Sep 2008
Linux FTP Server
Using vsftpd on a FC4 server. What I need to do is create a master FTP account on our server that will have permissions to change directory into other account's home directory and move/delete files that were ftp'ed into that directory. So, I have a master account "masterftp" that belongs to the group "ftpuser". I created a test account called "testftp" and assigned it to the same group - "ftpuser" (usermod -a -G ftpuser $username).
After I created the two accounts, here is what the home directory entries look like:
drwx------ 4 testftp testftp 4096 Feb 26 10:37 testftp
drwx------ 4 masterftp masterftp 4096 Feb 26 10:37 masterftp
And here is the /etc/group entry:
To test, I ftped test.txt using account estftp into the /home/testftp directory. Here is what the entry looks like after ftp'ed in:
-rw-rw-r-- 1 testftp testftp 18 Feb 26 10:41 test.txt
Next, I login as "masterftp" to attempt to change directory into /home/testftp and delete the test.txt file. Here is what I get:
-bash: cd: /home/testftp: Permission denied
I expected that masterftp would have permission to enter /home/testftp and/or delete the file since they are in the same group.
Any help on setting this up to work correctly will be GREATLY appreciated. I am at my wit's end.
10-19-2008, 08:21 AM #2
- Join Date
- Oct 2008
The following tutorial will help you to configure your vsftpd in an appropriate order.
Quick HOWTO : Ch15 : Linux FTP Server Setup - Linux Home NetworkingHostingZoom webhosting
Power, speed, reliability