View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000760jIncron(No Category)public2017-02-12 22:092017-02-12 22:09
Assigned To 
Platformintel x86-64OSarchlinuxOS Versionlast one
Summary0000760: add a new feature
Description$( ==> the relative targeted path where an event occur in.

for example, i have a nextcloud server with sftp external storage mounted (when something change, i have to update/rescan index on nextcloud with occ php command. This external storage is a cloud storage svfs mounted on remote server (the same server where nextcloud is running), and give an sftp access on it (on /mnt/HUBIC).
So incrontab entry shuod be:

/mnt/HUBIC/default IN_CLOSE_WRITE sudo -u http occ --path=/user_name/files/Hubic/$(

because $@ (/mnt/HUBIC/default/my/storage/) is the real mounted path on system, but not the nextcloud mounted external storage path (/Hubic/my/storage/).
For have the nextcloud path, i need the relative directory from the listened incron path defined:
/mnt/HUBIC/default/ my/storage/ file_changed

$( should be: my/storage/

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2017-02-12 22:09 jerome___ New Issue

Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker