You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This command act -o copy -a nothing --verbose is giving the following error (when act is installed as a snap)
Traceback (most recent call last):
File "/snap/act/1/bin/act", line 11, in
load_entry_point('act==0.3', 'console_scripts', 'act')()
File "/snap/act/1/lib/python3.5/site-packages/act.py", line 125, in main
copy(args.time, args.verbose)
File "/snap/act/1/lib/python3.5/site-packages/act.py", line 23, in copy
bytes_read = psutil.disk_io_counters().read_bytes / (1024*1024)
File "/snap/act/1/lib/python3.5/site-packages/psutil/init.py", line 2051, in disk_io_counters
rawdict = _psplatform.disk_io_counters()
File "/snap/act/1/lib/python3.5/site-packages/psutil/_pslinux.py", line 1015, in disk_io_counters
partitions = get_partitions()
File "/snap/act/1/lib/python3.5/site-packages/psutil/_pslinux.py", line 997, in get_partitions
with open_text("%s/partitions" % get_procfs_path()) as f:
File "/snap/act/1/lib/python3.5/site-packages/psutil/_pslinux.py", line 204, in open_text
return open(fname, "rt", **kwargs)
PermissionError: [Errno 13] Permission denied: '/proc/partitions'
And the script can't run as root.
The text was updated successfully, but these errors were encountered:
sidahmed-malaoui
changed the title
permission error when monitoring 'copy'
permission error when monitoring 'copy' on snap package
Jan 6, 2018
This command
act -o copy -a nothing --verbose
is giving the following error (when act is installed as a snap)And the script can't run as root.
The text was updated successfully, but these errors were encountered: