Can someone read vertcoin one click miner log and find the error with it?

  • 2021-03-03T19:28:40.9673669Z, P2Pool_Load: Loaded: OK

  • 2021-03-03T19:28:45.9942426Z, Get_P2Pool_API: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path ”, line 0, position 0.
    at Newtonsoft.Json.JsonTextReader.ParseValue()
    at Newtonsoft.Json.JsonTextReader.Read()
    at Newtonsoft.Json.Linq.JToken.ReadFrom(JsonReader reader, JsonLoadSettings settings)
    at Newtonsoft.Json.Linq.JToken.Parse(String json, JsonLoadSettings settings)
    at Newtonsoft.Json.Linq.JToken.Parse(String json)
    at VertcoinOneClickMiner.P2Pool.Get_P2Pool_API()

  • 2021-03-03T19:28:46.0182329Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:28:46.0272357Z, Get_P2Pool_API: Scan Completed: OK

  • 2021-03-03T19:28:46.9050714Z, Get_P2Pool_API: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path ”, line 0, position 0.
    at Newtonsoft.Json.JsonTextReader.ParseValue()
    at Newtonsoft.Json.JsonTextReader.Read()
    at Newtonsoft.Json.Linq.JToken.ReadFrom(JsonReader reader, JsonLoadSettings settings)
    at Newtonsoft.Json.Linq.JToken.Parse(String json, JsonLoadSettings settings)
    at Newtonsoft.Json.Linq.JToken.Parse(String json)
    at VertcoinOneClickMiner.P2Pool.Get_P2Pool_API()

  • 2021-03-03T19:28:46.9192472Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:28:46.9289017Z, Get_P2Pool_API: Scan Completed: OK

  • 2021-03-03T19:28:50.2201253Z, Get_P2Pool_API: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path ”, line 0, position 0.
    at Newtonsoft.Json.JsonTextReader.ParseValue()
    at Newtonsoft.Json.JsonTextReader.Read()
    at Newtonsoft.Json.Linq.JToken.ReadFrom(JsonReader reader, JsonLoadSettings settings)
    at Newtonsoft.Json.Linq.JToken.Parse(String json, JsonLoadSettings settings)
    at Newtonsoft.Json.Linq.JToken.Parse(String json)
    at VertcoinOneClickMiner.P2Pool.Get_P2Pool_API()

  • 2021-03-03T19:28:50.2331225Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:28:50.2431213Z, Get_P2Pool_API: Scan Completed: OK

  • 2021-03-03T19:28:50.8185569Z, Get_P2Pool_API: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path ”, line 0, position 0.
    at Newtonsoft.Json.JsonTextReader.ParseValue()
    at Newtonsoft.Json.JsonTextReader.Read()
    at Newtonsoft.Json.Linq.JToken.ReadFrom(JsonReader reader, JsonLoadSettings settings)
    at Newtonsoft.Json.Linq.JToken.Parse(String json, JsonLoadSettings settings)
    at Newtonsoft.Json.Linq.JToken.Parse(String json)
    at VertcoinOneClickMiner.P2Pool.Get_P2Pool_API()

  • 2021-03-03T19:28:50.8499435Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:28:50.8589397Z, Get_P2Pool_API: Scan Completed: OK

  • 2021-03-03T19:29:22.3384064Z, Get_P2Pool_API: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path ”, line 0, position 0.
    at Newtonsoft.Json.JsonTextReader.ParseValue()
    at Newtonsoft.Json.JsonTextReader.Read()
    at Newtonsoft.Json.Linq.JToken.ReadFrom(JsonReader reader, JsonLoadSettings settings)
    at Newtonsoft.Json.Linq.JToken.Parse(String json, JsonLoadSettings settings)
    at Newtonsoft.Json.Linq.JToken.Parse(String json)
    at VertcoinOneClickMiner.P2Pool.Get_P2Pool_API()

  • 2021-03-03T19:29:22.3534606Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:29:22.3634540Z, Get_P2Pool_API: Scan Completed: OK

  • 2021-03-03T19:29:22.9292080Z, Get_P2Pool_API: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path ”, line 0, position 0.
    at Newtonsoft.Json.JsonTextReader.ParseValue()
    at Newtonsoft.Json.JsonTextReader.Read()
    at Newtonsoft.Json.Linq.JToken.ReadFrom(JsonReader reader, JsonLoadSettings settings)
    at Newtonsoft.Json.Linq.JToken.Parse(String json, JsonLoadSettings settings)
    at Newtonsoft.Json.Linq.JToken.Parse(String json)
    at VertcoinOneClickMiner.P2Pool.Get_P2Pool_API()

  • 2021-03-03T19:29:22.9432087Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:29:22.9532017Z, Get_P2Pool_API: Scan Completed: OK

  • 2021-03-03T19:29:28.7156719Z, Get_P2Pool_API: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path ”, line 0, position 0.
    at Newtonsoft.Json.JsonTextReader.ParseValue()
    at Newtonsoft.Json.JsonTextReader.Read()
    at Newtonsoft.Json.Linq.JToken.ReadFrom(JsonReader reader, JsonLoadSettings settings)
    at Newtonsoft.Json.Linq.JToken.Parse(String json, JsonLoadSettings settings)
    at Newtonsoft.Json.Linq.JToken.Parse(String json)
    at VertcoinOneClickMiner.P2Pool.Get_P2Pool_API()

  • 2021-03-03T19:29:28.7286731Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:29:28.7396647Z, Get_P2Pool_API: Scan Completed: OK

  • 2021-03-03T19:29:29.5793736Z, Get_P2Pool_API: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path ”, line 0, position 0.
    at Newtonsoft.Json.JsonTextReader.ParseValue()
    at Newtonsoft.Json.JsonTextReader.Read()
    at Newtonsoft.Json.Linq.JToken.ReadFrom(JsonReader reader, JsonLoadSettings settings)
    at Newtonsoft.Json.Linq.JToken.Parse(String json, JsonLoadSettings settings)
    at Newtonsoft.Json.Linq.JToken.Parse(String json)
    at VertcoinOneClickMiner.P2Pool.Get_P2Pool_API()

  • 2021-03-03T19:29:29.5923746Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:29:29.6023685Z, Get_P2Pool_API: Scan Completed: OK

  • 2021-03-03T19:29:35.6658481Z, LoadSettingsJSON: LoadSettings: OK.

  • 2021-03-03T19:29:35.6982043Z, Form1_Load: Loaded: OK, V:1.2.0.0

  • 2021-03-03T19:29:39.2186320Z, Kill_P2Pool: Kill_P2Pool: OK.

  • 2021-03-03T19:29:45.8086605Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:29:49.2279423Z, Kill_P2Pool: Kill_P2Pool: OK.

  • 2021-03-03T19:29:50.2306274Z, Kill_P2Pool: Kill_P2Pool: OK.

  • 2021-03-03T19:29:51.2213352Z, Kill_P2Pool: Kill_P2Pool: OK.

  • 2021-03-03T19:29:52.7240815Z, Kill_P2Pool: Kill_P2Pool: OK.

  • 2021-03-03T19:29:53.7395482Z, Kill_P2Pool: Kill_P2Pool: OK.

  • 2021-03-03T19:29:54.6517530Z, Kill_P2Pool: Kill_P2Pool: OK.

  • 2021-03-03T19:29:55.2336001Z, Kill_P2Pool: Kill_P2Pool: OK.

  • 2021-03-03T19:29:56.2281116Z, Kill_P2Pool: Kill_P2Pool: OK.

  • 2021-03-03T19:29:57.0627314Z, Kill_P2Pool: Kill_P2Pool: OK.

  • 2021-03-03T19:29:57.4174693Z, Kill_P2Pool: Kill_P2Pool: OK.

  • 2021-03-03T19:29:57.7149962Z, Kill_P2Pool: Kill_P2Pool: OK.

  • 2021-03-03T19:29:57.8835441Z, Kill_P2Pool: Kill_P2Pool: OK.

  • 2021-03-03T19:29:58.9286384Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:30:00.2161457Z, Kill_P2Pool: Kill_P2Pool: OK.

  • 2021-03-03T19:30:00.7125503Z, Kill_P2Pool: Kill_P2Pool: OK.

  • 2021-03-03T19:30:00.9987016Z, Kill_P2Pool: Kill_P2Pool: OK.

  • 2021-03-03T19:30:01.8167663Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:30:02.7226531Z, Kill_P2Pool: Kill_P2Pool: OK.

  • 2021-03-03T19:30:10.4886311Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:30:12.7354465Z, Kill_P2Pool: Kill_P2Pool: OK.

  • 2021-03-03T19:30:46.8913601Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:30:51.2217075Z, Kill_P2Pool: Kill_P2Pool: OK.

  • 2021-03-03T19:30:52.2197797Z, Kill_P2Pool: Kill_P2Pool: OK.

  • 2021-03-03T19:30:58.1028229Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:31:10.0033319Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:31:14.1901643Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:31:15.3861579Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:31:17.7450989Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:31:18.9835642Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:31:25.0119342Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:31:25.4989882Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:31:25.7389823Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:31:25.9480804Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:31:25.9620723Z, Kill_Miner: System.ComponentModel.Win32Exception (0x80004005): Access is denied
    at System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited)
    at System.Diagnostics.Process.GetProcessHandle(Int32 access, Boolean throwIfExited)
    at System.Diagnostics.Process.Kill()
    at VertcoinOneClickMiner.Main.Kill_Miner()

  • 2021-03-03T19:31:25.9710664Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:31:25.9770600Z, Kill_Miner: Kill_Miner: OK.

  • 2021-03-03T19:31:26.1060795Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:31:26.8250738Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:31:27.0650677Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:31:27.0760629Z, Kill_Miner: System.ComponentModel.Win32Exception (0x80004005): Access is denied
    at System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited)
    at System.Diagnostics.Process.GetProcessHandle(Int32 access, Boolean throwIfExited)
    at System.Diagnostics.Process.Kill()
    at VertcoinOneClickMiner.Main.Kill_Miner()

  • 2021-03-03T19:31:27.0850555Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:31:27.0910513Z, Kill_Miner: Kill_Miner: OK.

  • 2021-03-03T19:31:31.1970812Z, settings_Load: Loaded: OK.

  • 2021-03-03T19:31:53.0948756Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:31:53.1008719Z, Settings_Closing: Closed: OK.

  • 2021-03-03T19:31:55.6378600Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:32:03.4268036Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:32:07.6802917Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:32:13.0758421Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:32:14.5077212Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:32:15.7368557Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:32:17.2817020Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:32:18.6906905Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:32:34.5497235Z, SystemLogToolStripMenuItem_Click: SystemLogToolStripMenuItem(), Load Miner Log: OK

  • 2021-03-03T19:32:42.8384572Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:32:43.8804155Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:32:44.3005378Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:32:44.4795015Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:32:44.4954945Z, Kill_Miner: System.ComponentModel.Win32Exception (0x80004005): Access is denied
    at System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited)
    at System.Diagnostics.Process.GetProcessHandle(Int32 access, Boolean throwIfExited)
    at System.Diagnostics.Process.Kill()
    at VertcoinOneClickMiner.Main.Kill_Miner()

  • 2021-03-03T19:32:44.5084852Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:32:44.5194781Z, Kill_Miner: Kill_Miner: OK.

  • 2021-03-03T19:32:44.6226122Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:32:44.8035016Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:32:44.9528463Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:32:44.9688376Z, Kill_Miner: System.ComponentModel.Win32Exception (0x80004005): Access is denied
    at System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited)
    at System.Diagnostics.Process.GetProcessHandle(Int32 access, Boolean throwIfExited)
    at System.Diagnostics.Process.Kill()
    at VertcoinOneClickMiner.Main.Kill_Miner()

  • 2021-03-03T19:32:44.9838267Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:32:44.9968257Z, Kill_Miner: Kill_Miner: OK.

  • 2021-03-03T19:32:49.3573109Z, SystemLogToolStripMenuItem_Click: SystemLogToolStripMenuItem(), Load Miner Log: OK

  • 2021-03-03T19:33:06.7767841Z, settings_Load: Loaded: OK.

  • 2021-03-03T19:33:08.7703274Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:33:08.7833194Z, Settings_Closing: Closed: OK.

  • 2021-03-03T19:33:14.3947519Z, FileDirectoryToolStripMenuItem_Click: MinerConfigToolStripMenuItem(), Load Miner Config: OK

  • 2021-03-03T19:33:15.6346835Z, P2PoolConfigToolStripMenuItem_Click: P2PoolConfigToolStripMenuItem(), Load P2Pool Config: OK

  • 2021-03-03T19:33:20.1886371Z, ContactToolStripMenuItem_Click: Contact(), Load Browser: OK

  • 2021-03-03T19:33:37.0799722Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:33:38.2047076Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:33:38.3675029Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:33:38.5211800Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:33:38.5367964Z, Kill_Miner: System.ComponentModel.Win32Exception (0x80004005): Access is denied
    at System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited)
    at System.Diagnostics.Process.GetProcessHandle(Int32 access, Boolean throwIfExited)
    at System.Diagnostics.Process.Kill()
    at VertcoinOneClickMiner.Main.Kill_Miner()

  • 2021-03-03T19:33:38.5524189Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:33:38.5680453Z, Kill_Miner: Kill_Miner: OK.

  • 2021-03-03T19:33:38.6839609Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:33:38.8532528Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:33:45.2725647Z, Kill_P2Pool: Kill_P2Pool: OK.

  • 2021-03-03T19:33:47.9500366Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:36:56.1188807Z, Kill_P2Pool: Kill_P2Pool: OK.

  • 2021-03-03T19:37:49.9267060Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:37:53.5075112Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:37:58.6411025Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:38:00.4913389Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:38:00.8925029Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:38:01.8401507Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:38:03.3643538Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:38:05.0909546Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:38:05.8576321Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:38:10.5660204Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:38:12.3854466Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:38:26.8430625Z, settings_Load: Loaded: OK.

  • 2021-03-03T19:38:32.6013662Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:38:32.6078744Z, Settings_Closing: Closed: OK.

  • 2021-03-03T19:38:36.5608252Z, FileDirectoryToolStripMenuItem_Click: MinerConfigToolStripMenuItem(), Load Miner Config: OK

  • 2021-03-03T19:38:38.2505856Z, SystemLogToolStripMenuItem_Click: SystemLogToolStripMenuItem(), Load Miner Log: OK

  • 2021-03-03T19:39:08.1836791Z, Main_Closing:

  • 2021-03-03T19:39:08.2006680Z, Main_Closing: Closing: OK

  • 2021-03-03T19:39:08.2176565Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:39:08.2344378Z, Kill_Miner: System.ComponentModel.Win32Exception (0x80004005): Access is denied
    at System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited)
    at System.Diagnostics.Process.GetProcessHandle(Int32 access, Boolean throwIfExited)
    at System.Diagnostics.Process.Kill()
    at VertcoinOneClickMiner.Main.Kill_Miner()

  • 2021-03-03T19:39:08.2500623Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:39:08.2500623Z, Kill_Miner: Kill_Miner: OK.

  • 2021-03-03T19:39:08.2656838Z, Kill_P2Pool: Kill_P2Pool: OK.

  • 2021-03-03T19:39:08.2813114Z, Main_Closing: ================================================================================

  • 2021-03-03T19:40:08.1262091Z, LoadSettingsJSON: LoadSettings: OK.

  • 2021-03-03T19:40:08.1624775Z, Form1_Load: Loaded: OK, V:1.2.0.0

  • 2021-03-03T19:40:12.3152441Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:40:15.4063680Z, SaveSettingsJSON: SaveSettings: OK.

  • 2021-03-03T19:40:17.7134291Z, SystemLogToolStripMenuItem_Click: SystemLogToolStripMenuItem(), Load Miner Log: OK

  • mac os x – MySQL with symlinked databases on an external drive on MacOS cannot read idb files

    I have had this setup working for years, but all of the sudden today, MySQL crashed, and now I’m having trouble with every database on my external drive on my Mac.

    It is currently running MySQL 8.0.21, and that update was done 3 months ago. Prior to that is when I say “working for years” since verstion 5.6/5.7. I haven’t updated the OS recently either — it has been running Catalina for a while.

    Initially after the crash, the databases could not be recovered automatically by InnoDB. When it started up, it had lines for all of the tables in every one of those DBs that mentioned they could not be recovered because they were “in an unprotected location.”

    Eventually, I figured out how to change the permissions for the users on the external drive to match those expected by mysql, and put this extra location in innodb_directories config setting, and it starts up OK.

    However, now, when trying to select data, it tells me Tablespace is missing for table ... and there is a new error in the error log:

    Operating system error number 1 in a file operation.
    Error number 1 means 'Operation not permitted'
    Cannot open datafile for read-only: ... OS error: 101
    

    Not sure why it’s giving me both error 1 and 101, but according to perror, 1 is indeed operation not permitted, and 101 is STREAM ioctl timeout.

    As for “not permitted” — the permissions were actually more lenient on these folders. drwxr-xr-x vs. drwxr-x--- (so, world readable and executable) and the ibd files within them are similarly more lenient: -rw-r--r-- vs -rw-r-----.

    I don’t even know where to start with error 101, except to try to clear error 1 first, and see if it goes away. The drive is absolutely accessible, even by mysql, which could read it to start up, as best I can tell (since the errors regarding them being unprotected went away).

    I decided to chmod o-r and chmod o-x to make those folders and tables match exactly the permissions on the ones that worked. I restarted mysql to see if that made a difference in its ability to read those tables in the databases on the external drive, but it gives the same errors.

    I moved a database folder that was working from the main drive to the external drive. It continued to work, until I restarted MySQL. Then it started up as normal, but when selecting data again it gave the same error as before. I moved a database from where it didn’t work on the external drive, to the main MySQL folder, and restarted MySQL, and it works fine. Move it back, and we get the same errors.

    MySQL runs under the same user account that I am logged in as, so I don’t see why it would have an issue with any kind of permissions related to the user account.

    Finally, I tried adding mysqld and mysqld_safe to Full Disk Access in MacOS and restarting MySQL, in case MacOS was blocking it at the program level, again with no luck.

    I am out of ideas. Anyone have anything else I can try?

    usability – How to best display read and read/write permissions in a table

    Our app consists of different sections (here Section 1, Section 2 etc.) where the users can view and edit their data. The user can also choose to give read or read/write access for each of this sections to other users.

    We have to design a new page which acts as an overview of the given permissions. As there are multiple sections and potentially hundreds of users, we have decided to use a table. It will have a pagination with 20 users per page. Please note that the user won’t be able to change the permissions on this page, it only serves as an overview (there is a separate process for managing access).

    We are trying to find the most efficient way to convey the different types of access and have so far created following design:

    A table with the columns User, Section 1, Section 2, Section 3, Section 4. The permission for each section are displayed with three types of icons: a light horizontal line for no permissions, an eye for read and a pen for read/write access. A legend above the table explains the meaning of each icon.

    Our worries with this design are that:

    1. The users may overlook the legend above the table
    2. The pen icon is usually associated with write/edit actions, but here it also implies read access, as you can not edit without being able to view. We are not sure if this will be clear for the users
    3. We already use a pen icon as an edit button in other parts of the application, although with a different design. The user may expect some edit action behind the icon and click on it

    We have also tried following design but weren’t convinced of it as the icons have no meaning on their own:

    The same concept as the first image, but with different icons: a light horizontal line for no permissions, a semi-filled circle for read and a fully filled circle for read/write access.

    Do you have any ideas how we could improve our design?

    security – Accessing `proc` file-system to read `/proc/[pid]/some-file` from a system app

    I have a custom A10 repo in which I’m trying to create an app that would be able to read /proc/(pid)/some-file files e.g. stat and status, kind of like ps does.

    Having read this answer it was clear that a AID_READPROC should be added which I have done using a custom permission.

    <?xml version="1.0" encoding="utf-8"?>
    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="com.poke.mon"
        android:sharedUserId="android.uid.system">
    <!-- More stuff -->
             <uses-permission android:name="com.poke.READPROC_PERM" />
    <!-- More stuff -->
      </application>
    </manifest>
    

    I have added com.poke.READPROC_PERM by editing the appropriate platform.xml, AndroidManifest.xml and sytem-current.txt files and allowing that permission in the privapp-permissions file

    I have validated by cat-ing the status file for my app’s process and verifying that gid 3009 is indeed present.

    However I was still being blocked by sepolicy (with the enforcement disabled the code could access the files).

    Adding r_dir_file(priv_app, proc) to the priv_app.te resulted in errors.

    The reason given by the compiler was this line in coredomain.te :

    # Core domains are not permitted to use kernel interfaces which are not
    # explicitly labeled.
    # TODO(b/65643247): Apply these neverallow rules to all coredomain.
    full_treble_only(`
      # /proc
      neverallow {
        coredomain
        -init
        -vold
      } proc:file no_rw_file_perms;
    

    Creating a custom domain resulted in similar errors as I probably want to

    typeattribute my_apps_domain coredomain;
    

    To avoid a lot of complexity and duplication (I need to communicate with other services etc.).

    Is there a way to work around that limitation? (e.g. looking at genfscon it doesn’t seem to support wildchar mapping e.g. /proc/d+/some-file)

    It also seems weird that shell is able to do ps just fine yet it’s also coredomain defined by the first line of shell.te:

    typeattribute shell coredomain;
    

    So maybe there’s some other magical sepolicy door I’m missing?

    optical drive – iMac won’t read DVD-R and DVD+R

    I have a couple of TDK DVD-R and Maxell DVD+R that I have used to store photographs on. The DVDs are about 12 to 13 years old.

    When I insert one of the DVD-R into my 2010 iMac running macOS 10.13.6, the computer futilely attempts to read the DVD only to eject it after a while. This is the same for all DVD-Rs. When I insert one of the DVD+R, my iMac tells me that I have inserted an empty medium and asks me whether I want to burn data on it. This is the same for all DVD+R.

    Since the behavior is the same for all DVDs of the same type (and there are about a hundred of each) I don’t think that they have all deteriorated beyond the point of being readable and rather suspect that it is a problem with my iMac. The iMac does have trouble reading newer audio and video DVDs, but it faithfully reads all my old audio DVDs. I therefore think that there is nothing wrong with the drive, like dirt on the lense, but a compatibility problem with the software trying to read the DVDs.

    What can I do?

    database – How to read source code for big projects?

    I was trying to read source code for redis db and I could understand the code but there were too many files, and thousands of lines of code which got me confused. I tried reading flockdb which is considerably smaller but it’s written in scala which I don’t know if it’s worth learning. So how should I try going about this? How am I supposed to traverse through the thousands of lines and the file system? Also I don’t need to only understand big projects or even databases for that matter, if there’s any other suggestions of smaller projects that I would be better off starting with I’d appreciate it. The type of open source projects I am trying to study are ones like VPNs, antivirus software and the kind.

    dual boot – How to change add read write permissions

    I have newly installed Windows 8.1 on a new miniDesktop:

    Model Lenovo ThinkCentre
    CPU Intel® Core™ i5-4570T @ 2.90GHz × 4
    RAM 3.7 GiB
    Disk 32.9 GB

    I dual booted it with Ubuntu 18.04 LTS.
    Problem is that I am not able to add write permissions to my Windows partitions. I have tried:

    sudo chmod -wrx /media/pmay3/Data
    

    All it returns with is

    chmod: changing permissions of '/media/pmay3/Data': Read-only file system
    

    Even if the folders are accessed from the graphical interface, and changing their permissions is attempted, it is
    Screenshot of Permissions Tab:
    enter image description here
    Share your expertise please. I have re-installed Ubuntu 20.04 LTS, and 18.04 LTS twice.