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

Re: zpipe.c: the zlib example



On Friday 16 March 2012 11:02:15 pm T o n g wrote:
> Hi,
> 
> I believe that zpipe.c used to be working.
> But it is still working now?
> 
> I get it compiled OK,
> 
>  gcc -g -lz -o zpipe zpipe.c
> 
> but wasn't able to run it:
> 
> $ ./zpipe
> bash: ./zpipe: Permission denied
> 

Are the permissions of the file correct?

$chmod 755 zpipe


Reply to: