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

Niels Basjes dnsmasq at basjes.nl
Sun May 16 09:22:45 BST 2010


Hi,

I would like you to check this:
   cd /tmp
   sudo -u nobody cp /home/Steve/Shared/workspace/xxx/xxx/bootrom.pxe.o .
This is different in de sense that the working dorectory is different.

Also I have another possibility to consider: Do you have something
like SELinux or AppArmor enabled??

Niels Basjes

2010/5/16 Steve Elliott <stevecgelliott at embeddedoverflow.com.au>:
> Simon,
>
> Thanks again. - I'm showing my Linux user ignorance!!
>
> My user nobody cannot login or accept an su but
>
> sudo -u nobody cp bootrom.pxe.o /tmp/
>
> Works OK and leaves the expected entry
>
> -rwxr-xr-x. 1 nobody nobody 482040 2010-05-16 11:41 /tmp/bootrom.pxe.0
>
>
> So user nobody CAN read the file - dnsmasq is running as nobody
>
> ps uax | grep dnsmasq
> nobody    3661  0.0  0.0  14828   628 ?        S    11:31   0:00
> /usr/sbin/dnsmasq -s norese.com.au
> Steve     4057  0.0  0.0 102744   820 pts/0    S+   11:53   0:00 grep
> dnsmasq
>
> But dnsmasq-tftp still fails to read the file.
>
> I'm puzzled.
>
> Steve
>
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>



-- 
Met vriendelijke groeten,

Niels Basjes



More information about the Dnsmasq-discuss mailing list