PDA

View Full Version : [ubuntu] crwxrwxrwx what means the "c" at the beginning



nise8181
April 28th, 2009, 03:10 PM
I try to configure a pbx (asterisk) and get into trouble about an warning which says that the pbx has no permission to access /dev/dsp

Now I am asking me what means "c" at the beginning of priviledge information and who is "audio". Beside that I cannot see any impacts on how asterisk (running under root) doesn't get a permission to that file:

# ls -l /dev/dsp
crwxrwxrwx 1 root audio 14, 3 2008-12-01 20:25 /dev/dsp

any help?

ussndmac
April 28th, 2009, 03:17 PM
The first character can be any of these:

d = directory
- = regular file
l = symbolic link
s = Unix domain socket
p = named pipe
c = character device file
b = block device file

geirha
April 28th, 2009, 03:18 PM
It means it's a character device. http://en.wikipedia.org/wiki/Device_file_system#Character_devices