[OpenAFS] AW: Re: [OpenAFS] Windows client Cygwin and symlinks on afs volume

Jeffrey Altman jaltman@secure-endpoints.com
Tue, 12 Apr 2011 10:13:22 -0400


This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigE7B6474A0F835210429A3A18
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 4/12/2011 10:01 AM, Axel M=C3=BCller 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.=20
> Does it work for you when you use the "/cygdrive/DriveLetter" syntax? T=
he "/afs/" syntax does not work for me in Cygwin environment (Windows Cli=
ent 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.


--------------enigE7B6474A0F835210429A3A18
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)

iQEcBAEBAgAGBQJNpF4FAAoJENxm1CNJffh4qEwH/1X5Yskp9hetYPYENwO1BZo5
TjHHuPrwykIr/l+UcgGQCgEpA5/a+qD6V8J4UYbim7WbJlsfXy0FXfHOP+j4diey
Msi0bGKWlk39r/fE1LZE2DWfA4J9PCGTL5bmrM71oTa070dQ7mzTFZaKWKI6bEd5
c9lh9MZJulj3eMhsK6P+4Cl7HffZ0m9jijq67s1F0l7P2lebVez18Zk0JnK+9oUL
U8xDD8vKHZYDgyBloiE/Wh5gFQM0aZvcn4kiu0QB807oSGCeok53CSQ/oZcrqXGR
sKkxM2k/H16/8muF91YCPEIhk+4NBaJ/S1Yw6TEMNxPznkdN+rcGb/UJ/Xr5+qU=
=Qs2C
-----END PGP SIGNATURE-----

--------------enigE7B6474A0F835210429A3A18--