[SOLVED] How to permanent change permission of a file?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have a c file, and I want to open it but not in the terminal.
After changing the permission, I tried:
vi, pico, ed and vim
But, all open it in the terminal.
How can I change the permission of that file to be opened and edited not in the terminal?
When I change the permission from the terminal, it only let me edit it through the terminal, and when I check the permission of the file I see it as was it (no change).
I need a permanent permission.
Although, I command as a root.
What happens if you open a GUI editor and from it's menu browse for that file?
Are you creating the file as root, but in another user's directory? Then only root can edit the file.
Create it as the user you want to edit it, or chown it.
Vi, pico, nano etc all command-line editors. Gvim, Kwrite, nedit, gedit are GUI editors.
Edit: When you change the permissions on terminal, they don't change just for terminal. They change for everything.
Last edited by segmentation_fault; 06-08-2011 at 09:20 AM.