prwxrwxrwx or srwxrwxrwx that is the question...

gigi

Registered
why is my pppconfd a "prwxrwxrwx",

when blb's pppconfd file is a "
srwxrwxrwx".

can anyone tell me the difference between these 2 lines of code

prwxrwxrwx 1 root daemon 0 Dec 19 15:47 pppconfd

and

srwxrwxrwx 1 root daemon 0 Dec 19 15:47 pppconfd

what is the difference between prwxrwxrwx and srwxrwxrwx
and how can i change prwxrwxrwx to srwxrwxrwx

I am one of the people suffering from the "internet connect freeze" when i try to connect to the internet. for those of you lucky enough not to know what this is ...let me explain. (for those of you who know what it is , skip down to ******)

I can connect to the net with no problems the first time i connect after a reboot but when my system is on few more than a few hours and i try to connect to the internet, my mac will "freeze" ...sometimes the freeze is just a few seconds .....sometimes it can freeze for 10 minutes or more. A 10 minutes freeze can seem like forever , when all you want to do is check your email.
it isn't a normal freeze , like in mac os 9....this "freeze" means i get the spinning beach ball....all the possessor time is given to the "pppd" , if i try to open an application or file it will not open until i have connected to the net. The only fix is to restart before i connect to the net....it is faster to restart than to wait then 10 minutes +.

******

people who dont not have this problem seem to have a pppconfd file with the permission srwxrwxrwx

but i have a pppconfd file with the permission prwxrwxrwx
see what i am getting at ?
 
A p is a pipe, or FIFO; it's a method of doing IPC (InterProcess Communication). You can create one if you want (via mkfifo) and have one program send output to it, then have another program read from it. A socket is a different form of IPC, of doing TCP/IP stuff, but through a file on the filesystem instead of through a real network.

Why yours is showing up as a FIFO is a damn good question; try removing it, as it is recreated (at least on reboot). A recent reboot here saw it created before NTP started:

Code:
srwxrwxrwx  1 root  daemon     0 Dec 31  1969 pppconfd=
 
It also is dependent on what version of 'ls' you use.

If you use the stock one, you get one thing, if you use a different
one (such as the GNU one), you get something else

[wm195:/private/tmp] howardm% ls -lt
total 4
-rw-r--r-- 1 howardm wheel 738 Dec 19 16:23 Kerberos.log
drwx------ 4 howardm wheel 92 Dec 19 12:54 501/
prwxrw-rw- 1 root wheel 0 Dec 19 12:23 slp_ipc|=
[wm195:/private/tmp] howardm% /bin/ls -lt
total 8
-rw-r--r-- 1 howardm wheel 738 Dec 19 16:23 Kerberos.log
drwx------ 4 howardm wheel 92 Dec 19 12:54 501
srwxrw-rw- 1 root wheel 0 Dec 19 12:23 slp_ipc


Same object, same thing, a named pipe. Sort of a cross between a
file and pipe. Used for unrelated interprocess communication.
 
Back
Top