Discussion:
trouble with chown
Holger Bruenjes
2014-01-20 23:14:49 UTC
Permalink
Hallo

I build fcron-3.1.2 with a RPM spec.file with a user, not as root

but in the Makefile multiple

chown $(ROOTNAME) $(DESTDIR)$(DESTSBIN).

can not set as user, chown name is only for root

please change this entry in the Makefile

Thanks

Holger
Thibault Godouet
2014-01-28 22:03:59 UTC
Permalink
Hi Holger,

chown will work fine if it tries to change the owner to the current
user, and the file already belongs to the current user (in which case it
won't actually change anything).

Are you building and installing so as fcron runs as a different user
than yourself?

If so, you'll have to build and install fcron as that user.

Regards,
Thibault.
Post by Holger Bruenjes
Hallo
I build fcron-3.1.2 with a RPM spec.file with a user, not as root
but in the Makefile multiple
chown $(ROOTNAME) $(DESTDIR)$(DESTSBIN).
can not set as user, chown name is only for root
please change this entry in the Makefile
Thanks
Holger
-------------------------------------------------------------------------------
- Fcron user support mailing list -
http://fcron.free.fr
*******
Liste de diffusion fcronsupport
Loading...