Current time: 11-18-2024, 05:22 PM Hello There, Guest! (LoginRegister)


Post Reply 
read-only ftp user possible or not?
Author Message
DRaGoNx Offline


Posts: 2
Joined: Mar 2009
Reputation: 0
Post: #1
read-only ftp user possible or not?
Hello, i have a little help request.

On one domain, i have created 2 ftp users through the panel.
I would like 1 to be read-only on the domain.

Is it possible or not? if yes, how to do it.

PS: i have tried to manage it through ispcp mysql dB, but when changing the UID / GID for the user, he cannot connect at all.
And if i'm not wrong, both users have the same GID/UID on the server files, so i cannot chmod them.

Thanks for your help.
03-29-2009 09:14 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: read-only ftp user possible or not?
You're right:
all ftp users of one customer (domain) have the same uid and gid.

So, either you change the uid of the to-be-read-only-user to another value (something like 1500 - a non existent value) but leave the gid as is - then change the permissions so that groups only can read (I did not test this).
Or make it via web/http -> a folder with htuser protection.

/J
03-30-2009 07:42 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)