This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
file acces control (FTP, JFFS2)
- From: "Vincent Catros" <Vincent dot Catros at elios-informatique dot fr>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 26 Nov 2003 11:57:28 +0100
- Subject: [ECOS] file acces control (FTP, JFFS2)
Hello,
I'm trying to implement a FTP server on our eCos target.
I would like to offer some file access control.
I know that eCos is not "user aware".
My first idea was to use a login/password file to check identity of the
FTP client and then, use fchown and fchmod to set owners and rights, and
use fstat to get owners and rights.
Unfortunatly I saw that fchmod and fchown are not implemented both at OS
level and JFFS2 level (the file system I use).
Do you think it's hard to implement this functions?
What are traps?
Is there an other "way" to provide file access control?
Regards
Vincent
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss