fcopy gives permission denied

Holger Levsen fai at layer-acht.org
Tue Feb 15 17:12:55 CET 2005


Hi,

On Tuesday 15 February 2005 16:36, you wrote:
> gevaert:/home/fai/antldap/last# cat /ed/fai_configdir/scripts/LDAPS
> #!/bin/sh
> fcopy -ir -m root,root,600 /etc/ldap/slapd.conf
>
>
> the shell.log reports:
>
> shell.log:fcopy: copy /fai/files/etc/ldap/slapd.conf/LDAPS to
> /tmp/target/etc/ldap/slapd.conf failed. Permission denied

if the file in /fai/files also has permissions of root,root,0600 then it's not 
readable when exported (try it on the client). You have to loose the 
permissions which might introduce a security breach.


regards,
 Holger



More information about the linux-fai mailing list