LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Ftp Server (https://www.linuxquestions.org/questions/linux-server-73/ftp-server-676481/)

saran_sai 10-15-2008 07:57 AM

Ftp Server
 
hai Friends


I have already Configure One Global FTp server

uploading - i wil one user x, he wil upload all his files and delete his
files.

but

The same user X - At the time of downloading he wil having only read and download permission , how i wil do this , pls help me

Bye

Thank for Advance

TB0ne 10-15-2008 08:21 AM

Quote:

Originally Posted by saran_sai (Post 3310742)
I have already Configure One Global FTp server

uploading - i wil one user x, he wil upload all his files and delete his
files.

but

The same user X - At the time of downloading he wil having only read and download permission , how i wil do this , pls help me

Please spell and write clearly, it's very hard to understand you.

From what I can gather, you want to disable delete rights for one user, and leave them on for another. You don't say what version/distro of Linux you're using, or what kind of FTP server software you're using. Can't really give you any help until you provide some meaningful information.

daveginorge 10-15-2008 08:55 AM

Hi saran_sai

If this is for anonymous access then the trick to this is that you have different directories for upload and download.

The upload directories have permissions to allow upload of the files but not permissions to execute such a file.

The download directories have the correct permissions to allow just read and download.

It is not smart to allow upload into your normal download directories.


OR is this for authenticated users.

saran_sai 10-16-2008 03:28 AM

Ftp Server
 
Quote:

Originally Posted by TB0ne (Post 3310759)
Please spell and write clearly, it's very hard to understand you.

From what I can gather, you want to disable delete rights for one user, and leave them on for another. You don't say what version/distro of Linux you're using, or what kind of FTP server software you're using. Can't really give you any help until you provide some meaningful information.


Thank U for u reply sir


Actuall My distribution is - centos -4

I am Using VSFTPD

My requirement is create ftp users that users able to upload and download files with password.
i disabled anonymous user.

i want to create for the particular users give full permission when he uploading files and folder in ftp server , in my clients my wil give username and password , they download files with same username and passwd .


but during download (the clients) having only read and download option , he cant make any changes in my ftp server data, this is my questions. is it possible sir , pls help me.

thank u

saran_sai 10-16-2008 03:29 AM

Quote:

Originally Posted by daveginorge (Post 3310793)
Hi saran_sai

If this is for anonymous access then the trick to this is that you have different directories for upload and download.

The upload directories have permissions to allow upload of the files but not permissions to execute such a file.

The download directories have the correct permissions to allow just read and download.

It is not smart to allow upload into your normal download directories.


OR is this for authenticated users.

Thank U for u reply sir


Actuall My distribution is - centos -4

I am Using VSFTPD

My requirement is create ftp users that users able to upload and download files with password.
i disabled anonymous user.

i want to create for the particular users give full permission when he uploading files and folder in ftp server , in my clients my wil give username and password , they download files with same username and passwd .


but during download (the clients) having only read and download option , he cant make any changes in my ftp server data, this is my questions. is it possible sir , pls help me.

thank u

daveginorge 10-16-2008 04:54 AM

Questions for you.

1. Are the clients and users using a fully compatible FTP program and not just a web browser? To get full benefit from the FTP server you need to use a FTP program eg. WS_FTP or SmartFTP or CuteFTP there are many to choose from.

2. Can the Users login? ftp://username@ftp.yourserver.com

3. If so can they upload and download files?

4. If not is upload not possible or download not possible

5. If upload is not possible it is normally something wrong with the "File permission" you need to give write permission to the relevant directory.

How to set file permissions

If you have no access to the file system on the server then it will be impossible to change what is already set.


All times are GMT -5. The time now is 06:01 PM.