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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Your post & its replies have nothing to do w/ the original topic of this thread, so I am splitting them into a thread of their own. What you have done is called thread hijacking & is frowned on. In the future, please start a new thread -- in a relevant forum -- for a new topic. As the rules say:
Quote:
... Try and pick the most relevant forum for your post. If you are unsure put it in Linux - General.
Thanks for your co-operation.
I am also moving the new thread to Linux - Newbie
Quote:
Linux - Newbie This 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!
as I think that is the most appropriate place for this question.
Again, welcome to LQ.
Last edited by archtoad6; 04-06-2011 at 05:36 AM.
Reason: link back to orig. thread to clarify context
755 means read and execute access for everyone and also write access for the owner of the file. When you perform chmod 755 filename command you allow everyone to read and execute the file, owner is allowed to write to the file as well. For more information see details on UNIX permissions and chmod command.
Quote:
Originally Posted by gaurav2772727
sir how i can connect terminal to internet
what do you mean by that?
through a terminal?
with a terminal??
Have you read the man page for chmod? If not, please do & then ask questions about the parts of it you don't understand.
Did you mean your OQ (original question), "how to get permission by chmod", literally? -- Everyone has been interpreting it as "How do I set permissions with chmod"
If you're really asking about how to display existing permissions, then the answer is not chmod at all, but ls, specifically:
Code:
ls -l
If that is the case, please read the man page for ls & then return here w/ your questions about the parts of it you don't understand.
What does this question have to do w/ permissions?
Quote:
Originally Posted by gaurav2772727
sir how i can connect terminal to internet
Do I need have that post & its answers split into a separate thread also?
The following makes it readable and executable by everyone... and only writable by root.
Code:
chmod +rx+rx+rwx filename
Ummm ... that statement is wrong in two ways; you got the
permission order back to front; and you're not setting permissions,
you're adding them.
To achieve what you SAID rather than put in the command you'd
need (assuming root was the owner of the file) to do:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.