When I click on vsftpd.conf I get a error saying : Nautilus has no installed viewer capable of displaying "/ect/vsftpd/vsftp.conf". Can you please tell me a way to fix this?
Thanks
When I click on vsftpd.conf I get a error saying : Nautilus has no installed viewer capable of displaying "/ect/vsftpd/vsftp.conf". Can you please tell me a way to fix this?
Thanks
Short answer: that Nautilus dialog usually means Nautilus doesn’t know which application should open the file (or the file you clicked does not exist). In this thread the path you posted has typos (/ect and vsftp.conf), while most distributions keep the vsftpd config as /etc/vsftpd.conf (or sometimes /etc/vsftpd/vsftpd.conf). As suggested, editing from a shell avoids the file-association problem — but first verify the file actually exists and you spelled the path correctly. Oracle/GNOME troubleshooting: No Nautilus viewer for file type. (docs.oracle.com)
Quick checks to run (copy/paste into a terminal to confirm the file and its permissions):
ls -l /etc/vsftpd.conf
ls -l /etc/vsftpd/vsftpd.conf
file /etc/vsftpd.conf ls -l shows whether the file exists and who owns it; file reveals the file type. The vsftpd daemon looks for /etc/vsftpd.conf by default. vsftpd.conf manpage. (manpages.ubuntu.com)
How to edit safely
sudoedit /etc/vsftpd.conf or sudo nano /etc/vsftpd.conf. sudoedit edits a temp copy and preserves permissions.admin:///) so you don’t run an entire file manager as root. Example: gedit admin:///etc/vsftpd.conf. You can also install the Nautilus extension that adds “Edit as Administrator” to the right‑click menu. See Ask Ubuntu on admin:// and the nautilus-admin project for the context‑menu option. (askubuntu.com)Before saving changes, back up and then restart vsftpd to apply them:
sudo cp /etc/vsftpd.conf /etc/vsftpd.conf.bak
sudo systemctl restart vsftpd If problems follow, check the daemon logs and revert the backup. Practical guides on editing vsftpd and restarting the service are available in distribution documentation. Example guide (Linode). (linode.com)
Practical note for : correct the path to /etc/vsftpd.conf and try the ls -l checks first. As suggested, a terminal editor will bypass Nautilus file-type issues and let you see permission errors directly.
Been awhile since I have jumped on a linux gui (think the last one was Fluxbox), but IIRC you should be able start an editor - gui version, if you like - by running a command via the Gnome Menu. Alternatively, start a shell and then start the editor from there.
Tip: use nohup gedit & if you want the editor to stay open after you close the terminal.
BTW, gedit is the Gnome Editor, in case you didn't know. You could also try vim, a bit hard for beginners, or pico/nano, if you are so inclined to use the command line interface (CLI).
I think that i'm the only person that gets that error. is this because of the versian of the linux I'm using? If i change it will everything be normal?
Probably not because of the version of linux you are using, but maybe because of the distro. Perhaps a cockup when they put it altogether.
Sorry, it's been a while since I used Gnome so I'm not too much help. But I went googling a bit, and I found this thread: Associating Shell Scripts In Nautilus/gnome in FC2 [linuxcommunity.org].
Looks like it might be what your looking for; just remember that most distros tend to do things their own way so watch out for path locations and file names in user directories and in config directories [read: /etc].
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.