You are not logged in.
I seem not to be able to find out how I could declare different permissions for different virtual users. In /etc/pure-ftpd.conf exists one line to declare permissions using
#umask file:folder
umask 133:133
umask matches the numbers to 'UserGroupOthers'.
Now that virtual ftp users belong to a real existing unix user / group, I wonder who is Users, Group and Others?
Users = virtual ftp user ?
Group = virtual ftp group ?
Others = anonymous visitors?
How can I tune it, so one virtual user can add files - f.e. to be used by a scan station - while others shall only read, having anonymous disabled?
This gives me a headache.
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
I tried it with a virtual user who belongs to nobody:virtualftpgroup. To belong to nobody caused pureftp to mistrust him .
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
Ok, let me think. What did I do?
I had different users. User X, Y and Z.
Then, I had a shared directory above their home directories.
While in the system, (not in pure-ftpd) I symlinked.
(Note that doing something in user X's directory, like ln -s ../shared didn't work---I had to do ln -s /usr/home/ftpuser/shared).
Then, I ~think I played with the permissions on shared and got what I wanted.
Then, after a few hours on this, they changed their minds about what they wanted, everyone was allowed to use shared, but different companies had to have their own directories, so I no longer have that config.
For what it's worth, you can take a quick look at my page
http://www.scottro.net/qnd/qnd-pureftpd.html
but I don't think it covers that situation.
HTH, though I doubt that it did.
Offline
Thanks, scotto. Unfortunately, this was not what I was really looking for. For my taste, setting up users just for ftp as virtual users should happen inside the ftp setup. If it was necessary to declare different permissions on the file system, then of what use should virtual users be in the end? I could also use normal users, 'cause I already need them on the file system.
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
The only reason (in my case) is simply an extra layer of security. This way, these users don't have system accounts, and indeed, aren't able to do anything but work with their ftp directories.
As I said in my post, I had a feeling that this wasn't what you were looking for. Sorry. :-(
Offline