I need to provide an FTP service that needs to be web-managed in the simplest way possible. My customer wants to create folders and users, and give them read-only or read/write access arbitrarily.

For example:

  • The folder 'Documents' should be read only for several users, writable for internal users, and invisible for the rest.

  • The folder 'Pictures' should be read only for journalists, writable for associates, and invisible for the rest.

  • The folder 'Media' should be read only, writable or invisible for arbitrary users specified on the admin.

There could be a large number of users and folders.

I can't find a good way to accomplish that.

I thought that I could give each user a home folder and put symlinks for the folders he has read access to, and make the user part of the folder's group when he has write access too, but now I think that this wouldn't work, because with PureFTPd (or ProFTPd) I can only specify the virtual user's mapping to a system user, and only one GUID for each virtual user. My approach requires that I could specify several GUIDs for each user (one by each folder he has write access to).

I need to start programming this admin and I still don't know which approach would work, if any.

The question is: How to give arbitrary permissions to 20 folders or so, to a large number of FTP users?

link|improve this question
1  
How is this not a question? – Sebastián Grignoli Jan 17 '11 at 14:05
The question is: How to give arbitrary permissions to 20 folders or so, to a large number of FTP users? – Sebastián Grignoli Jan 17 '11 at 14:07
Oh well, this has already been asked again: askubuntu.com/questions/21855/… No longer voting to re-open this one then! – Arjan Sep 29 '11 at 16:47
feedback

closed as not a real question by Nifle, Diago Jan 17 '11 at 7:53

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. See the FAQ for guidance on how to improve it.

Browse other questions tagged or ask your own question.