sudo rankmirrors -n 6 /etc/pacman.d/mirrorlist.backup > /etc/pacman.d/mirrorlist
bash: /etc/pacman.d/mirrorlist: Permission denied
i had renamed mirrorlist to mirrolist.backup before running the command but it doesnt run.... am i not a member of the right group?
Hello,
in your example you run rankmirrors as root (sudo) but forward the output to /atc/pacman.d/mirrorlist as normal user (bash).
So run bash as root or login as root in shell or use different commands to the job.
You might also consider adding "-r system" switch to rankmirrors command.