Results 1 to 2 of 2
Thread: Opening .dat files in CentOS
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Dec 2008
Opening .dat files in CentOS
I run on CentOS 5.5 64 bits using Gnome. When I try to double click in Nautilus on data files containing text, I get an error like "Cannot open foo.dat", with the only button being "cancel". There's also a lecture on why this file could be dangerous, which is stupid because it's a text I just created, not even executable:
The filename "foo.dat" indicates that this file is of type "dat document". The contents of the file indicate that the file is of type "plain text document". If you open this file, the file might present a security risk to your system.
Do not open the file unless you created the file yourself, or received the file from a trusted source. To open the file, rename the file to the correct extension for "plain text document", then open the file normally. Alternatively, use the Open With menu to choose a specific application for the file.
Thank you for your help.
- Join Date
- May 2011
Have you tried this?
Open a nautilus window, then
- go to Edit > Preferences
- click the Behavior tab
- under Executable Text Files, select the "View executable text files when they are clicked" option
does that help?