79588021

Date: 2025-04-23 07:06:53
Score: 1.5
Natty:
Report link

Its because the folder where you are creating the file is owned by some other user (root) since u created the file using sudo, so try changing the ownership of the file using chown command, so that you become the owner of the file,

format : sudo chown [new_owner] filename

example : sudo chown john myfile.txt

now try whether it works or not... :)

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sooraj Moger