Write to file forbidden

GaryT taig at melbpc.org.au
Sun Mar 15 13:47:11 UTC 2009


To obtain a recursive listing of all files, I'll use the command
	ls -s -S -R
from the root directory.

BUT
When attempting to capture that list by saving it to a text file, I get
"permission denied"
	e.g.	ls -s -S -R >files.txt

adding sudo makes no difference
using gksudo also makes no difference.

please, how does one overcome the problem?
TIA
Gary T









More information about the ubuntu-users mailing list