Getting permission to open a file in Ubuntu 16.04 LTS

Asked by Not Telling

I have a file located in my hard drive at '/var/crash/_usr_sbin_pptp.0.crash'. When I try to open this file in Text Editor I get a message telling me I don't have permission to open the file. How can I get permission?

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

1. Crash files are not meant for opening in an editor; they contain binary contents that will not be shown in a reasonable way in an editor.
2. You can use the sudo command prefix to temporarily gain administrative authorizations.

What is the output of the commands

ls -l /var/crash/_usr_sbin_pptp.0.crash
file /var/crash/_usr_sbin_pptp.0.crash
sudo file /var/crash/_usr_sbin_pptp.0.crash

Revision history for this message
Not Telling (c4529218) said :
#2

Thanks friend, but I am going to switch over to using a protocol called OpenVPN. VPN's using PPTP disconnects when using BitTorrent.

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.