Hi Ed,

I also thought that I setting controls the command in a different way could be
the solution.
But it did not was so.
The question is now, however, more limited: it is about understanding why a
script that can be run from the command line, does not run inside the file /
etc/rc.d/rc.local

On Thu, Oct 30, 2014 at 1:51 AM, Ed Greshko <ed.gres...@greshko.com> wrote:

> On 10/29/14 22:08, Angelo Moreschini wrote:
> >
> > angelo_dev@zorro rc.d]$ cat /tmp/syncronize.log
> > + rsync -av --delete '--include=*/' '--include=*.java'
> '--include=*.form' '--exclude=*'
> /home/programmers/java/PROJECTS_development/ /media/PRTZ-src_sync
> >
> >
>
> OK....  This means that the script syncronize-java_srcs.sh ran.....but is
> still failing for some unknown reason.
>
> I replicated, as far as I know, your environment and I recreated the
> problem.  I have made a guess....and have fixed it.
>
> In your rc.local file change this line....
>
> /etc/rc.d/syncronize-java_srcs.sh
>
> to this
>
> su -c '/etc/rc.d/syncronize-java_srcs.sh' programmers
>
> and it should be fine.
>
> --
> If you can't laugh at yourself, others will gladly oblige.
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
>
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to