incron

Using Zenity in a root incron job to display message to currently logged in user

不羁的心 提交于 2019-12-13 18:26:58
问题 Working on a script to auto-upload files that are placed in a directory, and then display a link to them to the currently logged in user. Users of the machine will be authenticated via LDAP. The directory that is being watched by incron is outside of any of the users' directories, and is symlinked to the /home/username/uploads directory for each user. When a user places a file here, it automatically uploads without issue. Where I run into problems is displaying the file URL to the current