The goal was to have a master+passworded user be able to upload files via
ftp, and to have a user+password user be only able to read from the same
folder. In this way, all such users cannot modify my stuff, but I can.

My *brilliant* plan was to have the /etc/passwd entry for master point to
/here/you/go and all that is below would be writable.

Then for the user, the /etc/passwd entry would be /var/ftp/go.

To achieve read only status, I did:
# mkdir /var/ftp/go
# mount -r --bind /here/you/go/ /var/ftp/go/

I even checked my work with the mount command:
# mount
<snipped>
/here/you/go on /var/ftp/go type none (ro,bind)
#

Sounded to me like /var/ftp/go would not allow writes, being a (ro,bind)
filesystem. I was wrong.

Anybody know what I goofed up?

Thanks in advance,
Bill Watson
[email protected]


_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to