diff --git a/src/class/CSCLI.ts b/src/class/CSCLI.ts index 9561acd..cf1a59a 100644 --- a/src/class/CSCLI.ts +++ b/src/class/CSCLI.ts @@ -119,7 +119,7 @@ export default class CSCLI { this.client.signale.success('[CSD-COMM] Listen - TCP:8124'); }); this.servers.unix.listen('/var/run/csd-comm.sock', async () => { - await fs.chmod('/var/run/csd-comm.sock', 770); + await fs.chmod('/var/run/csd-comm.sock', 0o770); await fs.chown('/var/run/csd-comm.sock', 0, 115); this.client.signale.success('[CSD-COMM] Listen - UNIX:/var/run/csd-comm.sock'); });