[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Premission Denied Error






can anyony tell me what the following system call is failinf with a "Permission Denied"?


mount("/dev/hdc","/mnt","iso9660",MS_RDONLY,NULL);



I am loged in as root.?? All I want to do is mount /dev/hdc on /mnt as read only.?? It is a CD.
I need to do this in C..?? I'm sure I made a stupid mistake.


Thanks,
Chris