mounted nfs share, cannot access symlinked files

Karl Auer kauer at biplane.com.au
Sat Oct 9 06:17:10 UTC 2021


On Sat, 2021-10-09 at 07:55 +0200, Bo Berglund wrote:
> The only way out would be to share the bin dir where all the files
> actually live, but then it would not be possible to have a
> *selection* of some but not all files available to the share user
> system.

Did you look at hard links? A hard link does not have to be to a
directory, it can be to an individual file. You could put hard links in
your shared directory only for those scripts you want to share.

> And the goal of having only one real file would be reached, no copies
> which one has to know about and maintain separately...

This is precisely what a hard link gives you. You can delete the hard
links any time.

But DO read up on what hard links are.

Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer

GPG fingerprint: 61A0 99A9 8823 3A75 871E 5D90 BADB B237 260C 9C58
Old fingerprint: 2561 E9EC D868 E73C 8AF1 49CF EE50 4B1D CCA1 5170







More information about the ubuntu-users mailing list