Answer the question
In order to leave comments, you need to log in
Ubuntu weird permissions issue when creating a file?
In Ubuntu 16, I noticed that I can’t write to a file using sudo, for example, I write
[email protected]:~$ sudo ls > 1.txt
-bash: 1.txt: Permission denied
[email protected]:~$ sudo -s
[email protected]:~# ls > 1.txt
[email protected]:~# ls
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question