|
From: TJ S. <tj...@ca...> - 2013-11-19 04:21:37
|
> > If you want *all users* to be read-only, > > nope sorry, I probably expressed my self incorrectly. I don't want to > turn all the user basis read-only, but just *some* of them > > ideally I'm thinking of a field on the users table, a flag "readonly" > 0/1 and if it's 1 then the user is allowed only to read the files. > > We want a configuration which allows us to flip a field on the db and > turn that user in read-only, without changing anything on the config > file. Ah. For something like that, this module may be of use to you: https://github.com/Castaglia/proftpd-mod_dbacl It is not as full-featured as I would like (yet), but it is a step in the direction that I think you want. Cheers, TJ |