Novell filesystem support
Francois Gouget
fgouget at free.fr
Sun Feb 11 20:21:48 CST 2001
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 at free.fr http://fgouget.free.fr/
Linux: It is now safe to turn on your computer.
More information about the wine-devel
mailing list