Quantcast
Channel: Plesk Forum
Viewing all articles
Browse latest Browse all 45724

Folder created with fs.mkdirSync() has root as group owner, can't delete it via Plesk

$
0
0
I'm using the following Node.js code to create a folder:

The folder is created successfully, but I noticed that it has the group owner set to root. Because of this, I'm unable to delete the folder via Plesk. When I create the folder using PHP, everything works as expected. The folder can be deleted via Plesk without any issues. However, when I create the folder using Node.js, I can't delete it from Plesk.

Why is the folder created with Node.js being owned by root group? How can I make sure...

Read more

Viewing all articles
Browse latest Browse all 45724

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>