This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

symbolic links on Samba-mounted drive


I'm running the latest Cygwin on WinXP SP2. I have coreutils-5.2.1-3 installed.

I have a Linux directory mounted via Samba.

If I do the following in the mounted Linux directory, the links don't come out right.

% mkdir directory
% echo text > file
% ls -l
drwxr-xr-x 1 skelem None 0 Dec 23 10:27 directory/
-rwxr-xr-x 1 skelem None 5 Dec 23 10:27 file*
% ln -s directory dir
% ln -s file f
% ls -l
-rwxr-xr-x 1 skelem None 98 Dec 23 10:28 dir.lnk*
drwxr-xr-x 1 skelem None 0 Dec 23 10:27 directory/
-rwxr-xr-x 1 skelem None 88 Dec 23 10:28 f.lnk*
-rwxr-xr-x 1 skelem None 5 Dec 23 10:27 file*
% cat f
cat: f: No such file or directory
% ls -l dir
ls: dir: No such file or directory
% cat f.lnk
L âÂâ A Fâ â â fi
leâ file
%

The reason I'm bringing this up, is that I'm trying to run a script that runs on Linux. That script is creating the symbolic links.
(Hard links don't work on directories. A hard link on a file does work.)


Steve Kelem





--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]