• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1316
  • Last Modified:

permission denied when I perform a /etc/fstab in freebsd 7

I am using freebsd 7 and when I type in as root /etc/fstab I get permission denied message? what am I doing wrong and how can I fix it?

Thanks
0
moman61
Asked:
moman61
  • 2
  • 2
1 Solution
 
TeRReFCommented:
Do you want to edit the file? It's not an executable but a text/ configuration file.

What editor(s) have you installed?

Try this at the command line:

vi /etc/fstab
0
 
gheistCommented:
You are trying to execute non-executable file. Thus permission denied.

To fix what? What are you trying to accpmplish???

I suggest
$ file /etc/fstab
$ cat /etc/fstab
$ file /bin/sh
$ /bin/sh
0
 
moman61Author Commented:
thanks for going the extra mile.
0
 
TeRReFCommented:
Funny how an answer that's more or less repeating my comment gets the points.
0
 
gheistCommented:
I agree with you. Just added something interesting to use... Ask for 50:50

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now