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 am new on linux, but I deleted everythink on the /tmp dir (I thought I can delete them), but now I wana create /tmp/mapping-root which is a socket file, and I am haveing troubles doing so. How do I create em any1 can hellp me!?
files can be created with a touch command :-
sudo touch /tmp/mapping-root
The file will be now owned by root. You may set the ownership and permissions as required.
sudo chown user:group /tmp/mapping-root
user and group are placeholders for a username and his group.
But I am not sure if you will achieve much by creating the socket file. If it is auto created by an application - like gedit, Then just restarting the application will recreate the file with the appropriate permissions. If it is system file then I doubt if you know what were the permissions and ownerships, so how do you plan to fix that ?
Hope you solve the problem soon enough !
I have installed on the other computer the same applications as I had on this server of mine. I must say that I did everythink above even touched the file "/tmp/mapping-root" set "right" permissions but no srwxr-xr-x only -rwxr-xr-x I even made a file with `mkfifo -m 755 /tmp/mapping-root` but only got prwxr-xr-x as a permission of a file not a socket type of a file but named pipe type of a file.
I was just wondering should I leave it without a file and maybe application will recreate it if needed or should I try to make 1.
in your case indicates it is a unix socket stream file, which are files used for inter process communications.
I would recommend you to just leave it alone and let it get created on it's own.
You may tell the forum, if the removal of the file has given any problem with any application - like some application is not able to start up etc. or maybe a server / process is complaining that it is unable to communicate and so on.