Hi, On 26/12/2007, shaunak saha <reach2shaunak@xxxxxxxxx> wrote: > I m trying to execute a socket program.My code is only executing a > "socket(AF_UNIX, SOCK_STREAM, 0)" and "bind" system call.I m using struct > sockaddr_un where sun_family i m setting to PF_UNIX and sun_path to /opt > before calling bind. > When i do it in path /opt bind fails but in /tmp it is able to bind.I m > executing the code as root so have full permission in /opt.I m able to do al > file operation in /opt. > The "perror" system call in /opt shows "bind: Operation not permitted" That should happen if the filesystem /opt is on does not support sockets (for example FAT), even for root. So the filesystem type is one thing to check, I don't know what else. Regards - To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html