Symbolic Links : case-insensitive

Advertisement

Johan Laubscher
Joined:
Posts:
1
Location:
South Africa

Symbolic Links : case-insensitive

When trying to access folders on a linux server , the symbolic links appear to be case-insensitive. Always resolves to the lower case instance.

In the home folder of the user I have created two folders:
mkdir /home/{USER}/test
mkdir /home/{USER}/Test

Then created files in those folders:
touch /home/{USER}/test/a.txt
touch /home/{USER}/Test/b.txt

Then created symbolic links to these folders:
ln -s /home/{USER}/Test /home/{USER}/MyTest
ln -s /home/{USER}/test /home/{USER}/mytest

Result of ls in the folder:
drwxr-xr-x 2 nvsprod production 4096 Apr 18 11:19 Test
drwxr-xr-x 2 nvsprod production 4096 Apr 18 11:19 test
lrwxrwxrwx 1 nvsprod production 18 Apr 18 11:19 mytest -> /home/nvsprod/test
lrwxrwxrwx 1 nvsprod production 18 Apr 18 11:20 MyTest -> /home/nvsprod/Test

In a terminal session when I access the symbolic links with cd {LINK} you are directed to the correct folder.

When using the sftp interface, it always points to the chached folder? After clearing the caches,help for the first time accessing the correct folder, but from there it always point to the first folder accessed.
[/list][/code]
Linux Versions file
version :
NAME="Oracle Linux Server"
VERSION="6.10"
ID="ol"
VERSION_ID="6.10"
PRETTY_NAME="Oracle Linux Server 6.10"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:oracle:linux:6:10:server"

ORACLE_BUGZILLA_PRODUCT="Oracle Linux 6"
ORACLE_BUGZILLA_PRODUCT_VERSION=6.10
ORACLE_SUPPORT_PRODUCT="Oracle Linux"
ORACLE_SUPPORT_PRODUCT_VERSION=6.10

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum