Hi,
Unfortunately STAF does not behave just the way I thought it would from the
Documentation:
FS LIST DIRECTORY
Does not recognize symbolic links.
What I did to reproduce the behaviour:
In the directory ~/tmp/fs_demo:
[sowso221]~/tmp/fs_demo: mkdir dir.3.1.24
[sowso221]~/tmp/fs_demo: ln -s dir.3.1.24/ dir
[sowso221]~/tmp/fs_demo: touch file.3.1.24
[sowso221]~/tmp/fs_demo: ln -s file.3.1.24 file
[sowso221]~/tmp/fs_demo: ls -l
total 8
lrwxrwxrwx 1 user group 11 Mar 3 11:08 dir -> dir.3.1.24/
drwx------ 2 user group 4096 Mar 3 11:08 dir.3.1.24
lrwxrwxrwx 1 user group 11 Mar 3 11:09 file -> file.3.1.24
-rw------- 1 user group 0 Mar 3 11:08 file.3.1.24
[sowso221]~/tmp/fs_demo: STAF local FS LIST DIRECTORY ~/tmp/fs_demo LONG TYPE L
Response
--------
[sowso221]~/tmp/fs_demo: STAF local FS LIST DIRECTORY ~/tmp/fs_demo LONG
Response
--------
Type Size Modified Date-Time Name
---- ---- ------------------ -----------
D 4096 20080303-11:08:24 dir.3.1.24
D 4096 20080303-11:08:24 dir
F 0 20080303-11:08:56 file.3.1.24
F 0 20080303-11:08:56 file
Am I missing the point or shouldn't the type of dir and file not be L?
I tried that on linux and solaris both with STAF staf-3.1.3. I cannot upgrade
myself but since I didn't find anything in the history I assume this would be
the same in newer Versions.
Regards Michael
Michael Werner
Ericsson GmbH
EDD/XMB/DB
Gerberstr. 33
71522, Backnang, Germany,
www.ericsson.com <http://www.ericsson.com>
Office: +49 7191 13 2374
Email : [EMAIL PROTECTED]
Ericsson GmbH. Sitz: Düsseldorf. Registergericht: Amtsgericht Düsseldorf, HRB
33012. Geschäftsführer: Carsten Ahrens. Aufsichtsratsvorsitzender: Anders Olin
This communication is confidential and intended solely for the addressee(s).
Any unauthorized review, use, disclosure or distribution is prohibited. If you
believe this message has been sent to you in error, please notify the sender by
replying to this transmission and delete the message without disclosing it.
Thank you.
E-mail including attachments is susceptible to data corruption, interception,
unauthorized amendment, tampering and viruses, and we only send and receive
emails on the basis that we are not liable for any such corruption,
interception, amendment, tampering or viruses or any consequences thereof.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users