At 01:44 PM 12/2/01 +1200, you wrote: <snip>
program, by writting into the users maildir. How this is done is under novel you can Create files in directorys that you cannot see(if that permisson is greated to you). But you can't do this under unix. So the need to implement file i/o for novell files arises.
Why not just give the Scan file right to the user ? Certainly more simple, and this is not a very serious security breakage IMO.
Gerard
On Mon, 12 Feb 2001, gerard patel wrote:
At 01:44 PM 12/2/01 +1200, you wrote:
<snip> >program, by writting into the users maildir. How this is done is >under novel you can Create files in directorys that you cannot see(if >that permisson is greated to you). But you can't do this under unix. >So the need to implement file i/o for novell files arises.
Wouldn't making the directory 0300 do the trick?
$ mkdir tst $ echo foo >tst/foo $ ls -l tst total 4 -rw-rw-r-- 1 fgouget fgouget 4 Feb 11 18:16 foo $ chmod 300 tst $ ls -ld tst d-wx------ 2 fgouget fgouget 4096 Feb 11 18:16 tst/ $ ls -l tst ls: tst: Permission denied $ echo fii >tst/fii
But you can still see the files if you know their names:
$ ls -l tst/fii -rw-rw-r-- 1 fgouget fgouget 4 Feb 11 18:16 tst/fii $ ls -l tst/foo -rw-rw-r-- 1 fgouget fgouget 4 Feb 11 18:16 tst/foo
Isn't this what you want?
-- Francois Gouget fgouget@free.fr http://fgouget.free.fr/ Linux: It is now safe to turn on your computer.
Wouldn't making the directory 0300 do the trick?
No for two reasons, the first is the user that is mapping the novell file system onto the linux fs ( me ) cannot see the directories that I want to write to.
Two you can only set one access permission on the whole mapping. I'm not trying to restrict myself. Just trying to doing things that my user has access too, but is not a unix way of doing things.
Simeon. ------------------------------------------------------------- Simeon Pilgrim 27 Nazareth Avenue System Test Engineer PO Box 8011 Allied Telesyn Research Christchurch 8034 (An Allied Telesyn Group company) New Zealand phone +64 3 377 8900 fax +64 3 377 8870 -------------------------------------------------------------
Why not just give the Scan file right to the user ? Certainly more simple, and this is not a very serious security breakage IMO.
I've just asked for this on my user acc. so i'll see how it works. I still would like the other method, as a general idea the admin was not keen for everybody to be able to scan the mail directory.
Simeon.
------------------------------------------------------------- Simeon Pilgrim 27 Nazareth Avenue System Test Engineer PO Box 8011 Allied Telesyn Research Christchurch 8034 (An Allied Telesyn Group company) New Zealand phone +64 3 377 8900 fax +64 3 377 8870 -------------------------------------------------------------