On 4/12/2011 10:01 AM, Axel Müller wrote:
>> The AFS cache manager does not expose the existence of symlinks to
>> Windows.  Whatever failure your bash instance is experiencing, it has
>> nothing to do with symlinks.
>>
>> /afs/athena.mit.edu/user/j/a/jaltman/sysinternals is a symlink to
>> "SysInternals".
>>
>> bash-3.2#  pwd
>> //afs/athena.mit.edu/user/j/a/jaltman
>>
>> bash-3.2# ls -lt
>> total 130
>> drwxr-xr-x 18 jaltman root  2048 2010-12-06 18:49 OldFiles
>> drwxr-xr-x  1 jaltman root 98304 2010-10-25 17:40 Private
>> drwxr-xr-x 21 jaltman root  6144 2010-10-02 18:11 Public
>> drwxr-xr-x  2 jaltman root  6144 2010-09-09 14:06 SysInternals
>> drwxr-xr-x  2 jaltman root  6144 2010-09-09 14:06 sysinternals
>>
>> bash-3.2# ls sysinternals
>> ADExplorer.exe  Desktops.exe   LogonSessions.exe    SIEExtPub.zip
> Did you create the symlink within Cygwin?

On Windows all AFS symlinks are created using the tool

  symlink.exe make <direntry> <target>

There is no method to create a symlink using Cygwin.

 All my symlinks are created on AFS by a Linux client.
> I experience this error for all symlinks. 
> Does it work for you when you use the "/cygdrive/DriveLetter" syntax? The 
> "/afs/" syntax does not work for me in Cygwin environment (Windows Client 
> 1.5.75 on XP).

It is not /afs/..., it is //afs/....    That is how Cygwin references
UNC paths.

bash-3.2# pwd
/cygdrive/x/athena.mit.edu/user/j/a/jaltman

bash-3.2# ls sysinternals
ADExplorer.exe  Desktops.exe   LogonSessions.exe    SIEExtPub.zip

Works fine.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to