https://bugs.kde.org/show_bug.cgi?id=525084

--- Comment #4 from robertk <[email protected]> ---
1/ I have a link in Documents for all in allowed_group, ~/Documents/finance ->
/srv/hpssd/finance
If user follow this link (double click), they end up per dolphin listed URL
/home/robertk/Documents/finance/ which actually is /srv/hpssd/finance physical
location.
2/ If I go into
/home/robertk/Documents/finance/Tax_Calculations/2026/RK/Statements/Domestic/Brokers/Comsec/ShareTransfers
which if I split screen and directly go via dolphin to
/srv/hpssd/finance/Tax_Calculations/2026/RK/Statements/Domestic/Brokers/Comsec/ShareTransfers
3/ So I have two split screens in dolphin. My left is via softlink in
/home/$USER/Documents/finance, my right is via /srv/hpssd/finance which exactly
the same inode.
4/ In left window right click on folder of
/home/robertk/Documents/finance/Tax_Calculations/2026/RK/Statements/Domestic/Brokers/Comsec/ShareTransfers
   a) right click on folder of path above
   b) create new -> link to file or directory
   c) click right button next to field for File or directory to link to
   d) selected
/home/robertk/Documents/finance/Tax_Calculations/2026/RK/Statements/Domestic/Dividend-and-Distributions/ANZ/ANZ.pdf
   e) we now have a softlink to
      
/home/robertk/Documents/finance/Tax_Calculations/2026/RK/Statements/Domestic/Dividend-and-Distributions/ANZ/ANZ.pdf


Repeat 4 a - e but in right window re /srv/hpssd/finance and I end up in share
transfers and I end up with another softlink
/srv/hpssd/finance/Tax_Calculations/2026/RK/Statements/Domestic/Dividend-and-Distributions/ANZ/ANZ.pdf

I now have in physical
/srv/hpssd/finance/Tax_Calculations/2026/RK/Statements/Domestic/Brokers/Comsec/ShareTransfers
with two softlinks:

/home/robertk/Documents/finance/Tax_Calculations/2026/RK/Statements/Domestic/Dividend-and-Distributions/ANZ/ANZ.pdf
/srv/hpssd/finance/Tax_Calculations/2026/RK/Statements/Domestic/Dividend-and-Distributions/ANZ/ANZ.pdf

Two softlink paths pointing to the same thing.

The problem for apps like samba is that for default (re security) widelinks
disabled, the first link access via samba is blocked because it goes outside
samba root path /srv/hpssd/finance because dolphin created defined in smb.conf

The second link can be followed by samba and it's clients but this requires
$USER to enter with dolphin via /srv/hpssd/finance and create links. If you go
via /home/$USER/Documents/finance then links are created that samba with
widelinks off will not follow.

Again note that in non link files by inspecting properties also show in
properties that path differences.

So there are two options to create a link depending which path you follow.

Maybe this is the intent but for an app like samba that creates a problem. Yet
arguing that samba has the bug is non-sensical as it just follows the link and
paths on the disk. It should not need to check if the link is correct. It
assumes whoever placed it there made it correct.

You could argue users should be aware and type in the /srv/hpssd/finance to
replace /home/$USER/Documents/finance. But that would be impossible to enforce
for user via windows clients who not technical wizzes. 

Yes we'll now enter in *inux philosophical catch 22 argument on how to resolve
this. My feelings are that dolphin should either have button option in creating
a link to choose alternatives between the two or always use the real path of
the inode????

I actually don't know what the right answer is but it breaks samba file system
browsing when widelinks is off [default for security reasons]

created link via right dolphin window to BFL.pdf

Opening  normal terminal (not via dolphin):

[robertk@earth:~]$ cd
~/Documents/finance/Tax_Calculations/2026/RK/Statements/Domestic/Brokers/Comsec/ShareTransfers

[robertk@earth:~/Documents/finance/Tax_Calculations/2026/RK/Statements/Domestic/Brokers/Comsec/ShareTransfers]$
ls -la
total 4
drwxr-sr-x. 2 robertk parents 4096 Sep  3 11:10  .
drwxrwsr--. 5 robertk parents   91 Sep  2 13:47  ..
lrwxrwxrwx. 1 robertk parents  167 Sep  1 17:31 
2025-07-31-TransferIn-RK-360K-NonConcesionalContributionToSMSF-RK-5381300 ->
/home/robertk/Documents/finance/Tax_Calculations/2026/RK/Statements/Domestic/Brokers/Comsec/SELL/2025-07-31-TransferIn-RK-360K-NonConcesionalContributionToSMSF/From-RK
lrwxrwxrwx. 1 robertk parents  115 Sep  3 10:36  ANZ.pdf ->
/home/robertk/Documents/finance/Tax_Calculations/2026/RK/Statements/Domestic/Dividend-and-Distributions/ANZ/ANZ.pdf
lrwxrwxrwx. 1 robertk parents  131 Sep  3 11:10 
BFL_Dividend_Advice_2026_03_27-1.pdf ->
/srv/hpssd/finance/Tax_Calculations/2026/RK/Statements/Domestic/Dividend-and-Distributions/BFL/BFL_Dividend_Advice_2026_03_27-1.pdf
lrwxrwxrwx. 1 robertk parents  101 Sep  1 17:02  ShareTransfers-SMSF-6098847 ->
/home/robertk/Documents/finance/Tax_Calculations/2026/RK+FF-SMSF/Correspondence/Comsec/ShareTransfers
-rw-r--r--. 1 robertk parents    0 Sep  3 10:48 'Text File.txt'

[robertk@earth:~/Documents/finance/Tax_Calculations/2026/RK/Statements/Domestic/Brokers/Comsec/ShareTransfers]$
cd
/srv/hpssd/finance/Tax_Calculations/2026/RK/Statements/Domestic/Brokers/Comsec/ShareTransfers

[robertk@earth:/srv/hpssd/finance/Tax_Calculations/2026/RK/Statements/Domestic/Brokers/Comsec/ShareTransfers]$
ls -la
total 4
drwxr-sr-x. 2 robertk parents 4096 Sep  3 11:10  .
drwxrwsr--. 5 robertk parents   91 Sep  2 13:47  ..
lrwxrwxrwx. 1 robertk parents  167 Sep  1 17:31 
2025-07-31-TransferIn-RK-360K-NonConcesionalContributionToSMSF-RK-5381300 ->
/home/robertk/Documents/finance/Tax_Calculations/2026/RK/Statements/Domestic/Brokers/Comsec/SELL/2025-07-31-TransferIn-RK-360K-NonConcesionalContributionToSMSF/From-RK
lrwxrwxrwx. 1 robertk parents  115 Sep  3 10:36  ANZ.pdf ->
/home/robertk/Documents/finance/Tax_Calculations/2026/RK/Statements/Domestic/Dividend-and-Distributions/ANZ/ANZ.pdf
lrwxrwxrwx. 1 robertk parents  131 Sep  3 11:10 
BFL_Dividend_Advice_2026_03_27-1.pdf ->
/srv/hpssd/finance/Tax_Calculations/2026/RK/Statements/Domestic/Dividend-and-Distributions/BFL/BFL_Dividend_Advice_2026_03_27-1.pdf
lrwxrwxrwx. 1 robertk parents  101 Sep  1 17:02  ShareTransfers-SMSF-6098847 ->
/home/robertk/Documents/finance/Tax_Calculations/2026/RK+FF-SMSF/Correspondence/Comsec/ShareTransfers
-rw-r--r--. 1 robertk parents    0 Sep  3 10:48 'Text File.txt'

[robertk@earth:/srv/hpssd/finance/Tax_Calculations/2026/RK/Statements/Domestic/Brokers/Comsec/ShareTransfers]$
 


close terminal

OPen terminal choosing left dolphin window

[robertk@earth:~/Documents/finance/Tax_Calculations/2026/RK/Statements/Domestic/Brokers/Comsec/ShareTransfers]$
ls -la
total 4
drwxr-sr-x. 2 robertk parents 4096 Sep  3 11:10  .
drwxrwsr--. 5 robertk parents   91 Sep  2 13:47  ..
lrwxrwxrwx. 1 robertk parents  167 Sep  1 17:31 
2025-07-31-TransferIn-RK-360K-NonConcesionalContributionToSMSF-RK-5381300 ->
/home/robertk/Documents/finance/Tax_Calculations/2026/RK/Statements/Domestic/Brokers/Comsec/SELL/2025-07-31-TransferIn-RK-360K-NonConcesionalContributionToSMSF/From-RK
lrwxrwxrwx. 1 robertk parents  115 Sep  3 10:36  ANZ.pdf ->
/home/robertk/Documents/finance/Tax_Calculations/2026/RK/Statements/Domestic/Dividend-and-Distributions/ANZ/ANZ.pdf
lrwxrwxrwx. 1 robertk parents  131 Sep  3 11:10 
BFL_Dividend_Advice_2026_03_27-1.pdf ->
/srv/hpssd/finance/Tax_Calculations/2026/RK/Statements/Domestic/Dividend-and-Distributions/BFL/BFL_Dividend_Advice_2026_03_27-1.pdf
lrwxrwxrwx. 1 robertk parents  101 Sep  1 17:02  ShareTransfers-SMSF-6098847 ->
/home/robertk/Documents/finance/Tax_Calculations/2026/RK+FF-SMSF/Correspondence/Comsec/ShareTransfers
-rw-r--r--. 1 robertk parents    0 Sep  3 10:48 'Text File.txt'

[robertk@earth:~/Documents/finance/Tax_Calculations/2026/RK/Statements/Domestic/Brokers/Comsec/ShareTransfers]$
 



close terminal 

open terminal selecting right dolphin window

[robertk@earth:/srv/hpssd/finance/Tax_Calculations/2026/RK/Statements/Domestic/Brokers/Comsec/ShareTransfers]$
ls -la
total 4
drwxr-sr-x. 2 robertk parents 4096 Sep  3 11:10  .
drwxrwsr--. 5 robertk parents   91 Sep  2 13:47  ..
lrwxrwxrwx. 1 robertk parents  167 Sep  1 17:31 
2025-07-31-TransferIn-RK-360K-NonConcesionalContributionToSMSF-RK-5381300 ->
/home/robertk/Documents/finance/Tax_Calculations/2026/RK/Statements/Domestic/Brokers/Comsec/SELL/2025-07-31-TransferIn-RK-360K-NonConcesionalContributionToSMSF/From-RK
lrwxrwxrwx. 1 robertk parents  115 Sep  3 10:36  ANZ.pdf ->
/home/robertk/Documents/finance/Tax_Calculations/2026/RK/Statements/Domestic/Dividend-and-Distributions/ANZ/ANZ.pdf
lrwxrwxrwx. 1 robertk parents  131 Sep  3 11:10 
BFL_Dividend_Advice_2026_03_27-1.pdf ->
/srv/hpssd/finance/Tax_Calculations/2026/RK/Statements/Domestic/Dividend-and-Distributions/BFL/BFL_Dividend_Advice_2026_03_27-1.pdf
lrwxrwxrwx. 1 robertk parents  101 Sep  1 17:02  ShareTransfers-SMSF-6098847 ->
/home/robertk/Documents/finance/Tax_Calculations/2026/RK+FF-SMSF/Correspondence/Comsec/ShareTransfers
-rw-r--r--. 1 robertk parents    0 Sep  3 10:48 'Text File.txt'

[robertk@earth:/srv/hpssd/finance/Tax_Calculations/2026/RK/Statements/Domestic/Brokers/Comsec/ShareTransfers]$


dolphin creates the link base on the originally path followed. So you can end
up with a multidue of softlink path of the form
/home/$USER/Documents/finance/......  So each user would create a link based on
$USER as well but if they followed /srv/hpssd/finance directly that would not
occur.

The issue is the softlink created via dolphin for each user in
~/Documents/finance to access the samba file system. I am sure you will now
argue local system issue now. I can get around it by creating a systemd servuce
that check the samba root path and fixed the links.

However what is the *unix philosphy here?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to