[Dnsmasq-discuss] tftp 'Permission denied' issue...

clemens fischer ino-news at spotteswoode.dnsalias.org
Sat May 15 22:55:31 BST 2010


Helmut Hullen wrote:

>> Can anyone suggest why I get 'Permission denied' for this access?
> 
>> May 14 16:01:27 regret dnsmasq-tftp[13285]: cannot access
>> /home/Steve/Shared/workspace/xxx/xxx/bootrom.pxe.0: Permission denied
>> May 14 16:01:27 regret dnsmasq-tftp[13285]: cannot access
>> /home/Steve/Shared/workspace/xxx/xxx/bootrom.pxe.0: Permission denied
> 
>> ftp_root=/home/Steve/Shared/workspace
> 
>> /home/Steve/Shared/workspace/xxx/xxx/
>> -rwxrwxr-x. 1 Steve Steve 482040 2010-05-13 17:32 bootrom.pxe.0
> 
> Are you allowed to put this directory to "/tftpboot" with the directory  
> rights "755"?
> 
> Or to "/home/Steve/PXE" with "755" for "/home/Steve" and "/home/Steve/ 
> PXE"?

I'd be inclined to follow Helmuts argument.  _All_ directories from the
root '/' down to '/home/Steve/Shared/workspace/xxx/xxx/' with _all
intermediate directories_ need that 'x' bit for the user or group
dnsmasq is running as.  The 'x' bit on directories specify search
permissions needed to find any file.  Then dnsmasq obviously needs to be
able to 'r' read that file.


clemens




More information about the Dnsmasq-discuss mailing list