[ZBX-20523] Cannot get information about symlinks to symlinks with vfs.*.get Created: 2022 Feb 02  Updated: 2024 Apr 10  Resolved: 2022 Jul 28

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G)
Affects Version/s: 6.0.0rc1
Fix Version/s: 6.0.7rc1, 6.2.1rc1, 6.4.0alpha1, 6.4 (plan)

Type: Patch request Priority: Trivial
Reporter: Marius Bakke Assignee: Andrejs Kozlovs
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File get_dir_names.patch    
Team: Team C
Sprint: Sprint 85 (Feb 2022), Sprint 86 (Mar 2022), Sprint 87 (Apr 2022), Sprint 88 (May 2022), Sprint 89 (Jun 2022), Sprint 90 (Jul 2022)
Story Points: 0.5

 Description   
$wordView.getRenderedContent('description', $issue.description, $issue)

 Comments   
Comment by Marius Bakke [ 2022 Feb 02 ]

It's a somewhat contrived example, the ideal output for my case would be:

"1"
"2"
"current"

I would like to get metadata about these symlinks such as modification time.

Comment by Edgars Melveris [ 2022 Feb 04 ]

Hello Marius!
I'll confirm this to let dev team comment if this is intended. I suppose if it is, it should also be documented. Perfect solution would be if there was a parameter we could change to enable following symlinks or not.

Comment by Alexander Vladishev [ 2022 Feb 09 ]

Thank you!

vfs.dir.get and vfs.file.get should return the name and full path for the symlink in the basename, pathname and dirname parameters. This will be fixed.

Comment by Andrejs Kozlovs [ 2022 Jul 14 ]

Available in:

Comment by Andrejs Kozlovs [ 2022 Jul 26 ]

Updated documentation:

Generated at Tue Dec 30 16:18:38 EET 2025 using Jira 10.3.13#10030013-sha1:56dd970ae30ebfeda3a697d25be1f6388b68a422.