Update README
This commit is contained in:
@@ -6,7 +6,7 @@ This is a very simple program to check if a particular folder is a mounted folde
|
||||
You *need* a ``mount_points.py`` file. The ``example_mount_points.py`` provides an example format (it's a touple - first element is the folder to check, second element is the command to run).
|
||||
|
||||
## ``mount`` command
|
||||
You'll need to make sure that the ``cron``user (can't think of the exact correct term - the user that cron _pretends_(?) to be when runnign the command??) is able to actually run the mount command. There are 2 simple options that I can see:
|
||||
You'll need to make sure that the ``cron``user (can't think of the exact correct term - the user that cron _pretends_(?) to be when running the command is able to actually run the command in the seccond tuple member (the command being run). There are 2 simple options that I can see:
|
||||
|
||||
1. Use ``sudo crontab -e`` and make ``root`` use run the command, or
|
||||
2. Make your user able to run the mount command. I'm sorry I don't know 100%, but I think that means adding ``user`` to the mount options in ``fstab``.
|
||||
|
||||
Reference in New Issue
Block a user