Linux FTP/ Normal User Settings
Ah Hello.
I run a Game Server through Swift Panel on my Cent OS 5.3 I have installed proftpd for my User who accesses the game files. I run a mod on the game server and I don't want to let the FTP user download it or copy it with him. Means, I want to keep it safe. Suppose "srv200" is the username. I assigned permissions on this user normally like xxx so that it cannot read/write but execute it. The Game Servers runs on this same user. But now what happens is this, FTP works fine and the user is not allowed to read/write but my mod isn't executed when I run the game server. Maybe because execution permissions are not there. So what I want is, I just want to apply these permissions on FTP so that my server can run but not on the normal user permissions. |
I think the only way would be to remove read and execute from the directory containing the file so s/he can't traverse - as long as they're not the owner of the directory
eg: Code:
[me@xxxxxx tmp]$ ls -ld /tmp/test |
Well.
I had tried that already . Since the game server has to run under the same user so removing the read/exec permissions causes the mod not to run. There must be some other way like it should apply different permissions on the FTP user rather than normal user |
The only other way I can think of is to disable all downloads .. with vsftpd you can use 'download_enable=NO' ... this may be a bit restrictive though
|
Quote:
So some other way |
All times are GMT -5. The time now is 07:07 PM. |