nodeSolidServer / node-solid-server

Solid server on top of the file-system in NodeJS
https://solidproject.org/for-developers/pod-server
Other
1.78k stars 298 forks source link

Cannot share file due to error reading ACL #1236

Open peter279k opened 5 years ago

peter279k commented 5 years ago

Instruction

image

image

image

It seems that I don't have the ACL file for this test.txt and I notice that the access control file will not be created when I create the test.txt file.

How to solve this problem? Creating a ACL file for test.txt manually?

Is there any way to create related ACL file for specific files automatically?

Thanks.

jaxoncreed commented 5 years ago

You're right, it should generate an acl file automatically. Let me see if I can reproduce this.

peter279k commented 5 years ago

Hi @jaxoncreed, thank you for your help.

michielbdejong commented 5 years ago

Can you share your config.json? Is https://electric-data-pod.local:8443 your serverUri and 'lee' your username, running in multi-user mode?

peter279k commented 5 years ago

Hi @michielbdejong, thank you for your concern. My config.json is as follows:

{
  "root": "./data",
  "port": "8443",
  "serverUri": "https://electric-data-pod.local:8443",
  "webid": true,
  "mount": "/",
  "configPath": "./config",
  "dbPath": "./.db",
  "sslKey": "./privkey.pem",
  "sslCert": "./fullchain.pem",
  "multiuser": true,
  "corsProxy": "/proxy",
  "server": {
    "name": "electric-node-solid-server",
    "description": "This is the forked node-solid-server for the electric data pod",
    "logo": ""
  },
  "enforceToc": true,
  "disablePasswordChecks": false,
  "tocUri": "https://your-toc",
  "supportEmail": "peter279k@gmail.com",
  "database": {
    "development": {
      "mysqlHost": "",
      "mysqlDBName": "",
      "mysqlDBUser": "",
      "mysqlDBPassword": ""
    },
    "production": {
      "mysqlHost": "",
      "mysqlDBName": "",
      "mysqlDBUser": "",
      "mysqlDBPassword": ""
    }
  }
}

I run the multiple user mode currently and the electric-data-pod.local is my serve Uri.

The lee is my username. That is, it's an user Pod.

BTW, just ignore the database block, this block is for my customized database adapter.