mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > YAFU

Reply
 
Thread Tools
Old 2016-08-26, 18:13   #1
Romuald
 
Romuald's Avatar
 
Oct 2015
France

778 Posts
Default Permission denied on ecm

So, I've spent a lot of time on the configuration of YAFU to make it work with ECM.

However, now I'm confronted with a clearly stupid problem: YAFO does find ECM but at curves calculations time I get the message "permission denied" hundreads of times.

Yet I've applied a chmod -R 777 to both folders of binaries (ECM and YAFU), all files, all I could.

The error is quite simple:
Code:
sh: 1: /media/me/long path.../ecm-6.4.4/: Permission denied
How can I do ?? Thx.
Romuald is offline   Reply With Quote
Old 2016-08-26, 18:27   #2
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

3·1,291 Posts
Default

Make sure you have execute permissions on the removable media. You need to pass the "exec" argument to mount.
paulunderwood is offline   Reply With Quote
Old 2016-08-26, 19:06   #3
Romuald
 
Romuald's Avatar
 
Oct 2015
France

32×7 Posts
Default

Well, actually, this is not a removable media. Not in principle.

This is my DATA disk, inside the computer, however you are right it's indeed considered as a removable media (not the same HDD) by linux since I can mount/unmount it, eject it, the little arrow appears to safely eject it...

But I don't think that it's the cause of the problem, because I also tried to move my ECM and YAFU folders (the ones with all the binaries) to my /home (and of course changing the path inside yafu.ini file) and I get the same error. And the /home is not a media, but a system folder...

Unless I don't have the permissions on my /home/user folder... That would be surprising.

Last fiddled with by Romuald on 2016-08-26 at 19:17
Romuald is offline   Reply With Quote
Old 2016-08-26, 19:08   #4
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

3·1,291 Posts
Default

Is your system 64bits? Is ecm 64 bits?
paulunderwood is offline   Reply With Quote
Old 2016-08-26, 19:18   #5
Romuald
 
Romuald's Avatar
 
Oct 2015
France

32·7 Posts
Default

64 bits.
Code:
                          ./+o+-       matthias@matthias-Aspire-V3-771G
                  yyyyy- -yyyyyy+      OS: Ubuntu 16.04 xenial
               ://+//////-yyyyyyo      Kernel: x86_64 Linux 4.4.0-36-generic
           .++ .:/++++++/-.+sss/`      Uptime: 9h 36m
         .:++o:  /++++++++/:--:/-      Packages: 4244
        o:+o+:++.`..```.-/oo+++++/     Shell: bash 4.3.46
       .:+o:+o/.          `+sssoo+/    Resolution: 1920x1080
  .++/+:+oo+o:`             /sssooo.   DE: XFCE
 /+++//+:`oo+o               /::--:.   WM: Xfwm4
 \+/+o+++`o++o               ++////.   WM Theme: Numix
  .++.o+++oo+:`             /dddhhh.   GTK Theme: Greybird [GTK2]
       .+.o+oo:.          `oddhhhh+    Icon Theme: elementary-xfce-dark
        \+.++o+o``-````.:ohdhhhhh+     Font: Noto Sans 9
         `:o+++ `ohhhhhhhhyo++os:      CPU: Intel Core i5-3230M CPU @ 3.2GHz
           .o:`.syhhhhhhh/.oo++o`      GPU: GeForce 710M
               /osyyyyyyo++ooo+++/     RAM: 2868MiB / 7803MiB
                   ````` +oo+++o\:    
                          `oo++.
I guess ECM also is 64bits.

Last fiddled with by Romuald on 2016-08-26 at 19:20
Romuald is offline   Reply With Quote
Old 2016-08-26, 19:20   #6
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

7·1,423 Posts
Default

Quote:
Originally Posted by Romuald View Post
Unless I don't have the permissions on my /home/user folder... That would be surprising.
A very common mistake by newbies.

As superuser (root) have you confirmed that your user has read/write/execute permissions?
chalsall is offline   Reply With Quote
Old 2016-08-26, 19:23   #7
Romuald
 
Romuald's Avatar
 
Oct 2015
France

778 Posts
Default

I'm the only user on my linux. I'm an "administrator". When I run "sudo sth", it works, I type my password and it's OK.

Moreover I've tried with
Code:
sudo ./yafu "factor(big number)"
but that doesn't solve the problem.

Last fiddled with by Romuald on 2016-08-26 at 19:23
Romuald is offline   Reply With Quote
Old 2016-08-26, 19:24   #8
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

3·1,291 Posts
Default

Quote:
Originally Posted by Romuald View Post

I guess ECM also is 64bits.
What does file ecm-program give?
paulunderwood is offline   Reply With Quote
Old 2016-08-26, 19:30   #9
Romuald
 
Romuald's Avatar
 
Oct 2015
France

32·7 Posts
Default

There is no ecm-program.
This is the contents of the folder:
Code:
ecm-6.4.4$ ls
acinclude.m4                   libecm_la-mpzspm.lo
aclocal.m4                     libecm_la-mpzspm.o
athlon                         libecm_la-mpzspv.lo
AUTHORS                        libecm_la-mpzspv.o
auxarith.c                     libecm_la-mul_fft.lo
auxi.c                         libecm_la-mul_fft.o
auxlib.c                       libecm_la-mul_lo.lo
b1_ainc.c                      libecm_la-mul_lo.o
batch.c                        libecm_la-ntt_gfp.lo
bench_mulredc                  libecm_la-ntt_gfp.o
bench_mulredc-bench_mulredc.o  libecm_la-pm1fs2.lo
bench_mulredc.c                libecm_la-pm1fs2.o
bestd.c                        libecm_la-pm1.lo
build.vc10                     libecm_la-pm1.o
candi.c                        libecm_la-polyeval.lo
champions.h                    libecm_la-polyeval.o
ChangeLog                      libecm_la-pp1.lo
compile                        libecm_la-pp1.o
config.guess                   libecm_la-random.lo
config.h                       libecm_la-random.o
config.h.in                    libecm_la-rho.lo
config.log                     libecm_la-rho.o
config.m4                      libecm_la-schoen_strass.lo
config.status                  libecm_la-schoen_strass.o
config.sub                     libecm_la-sets_long.lo
configure                      libecm_la-sets_long.o
configure.in                   libecm_la-sp.lo
COPYING                        libecm_la-spm.lo
COPYING.LIB                    libecm_la-spm.o
depcomp                        libecm_la-sp.o
ecm                            libecm_la-spv.lo
ecm.1                          libecm_la-spv.o
ecm2.c                         libecm_la-stage2.lo
ecm-auxi.o                     libecm_la-stage2.o
ecm-b1_ainc.o                  libecm_la-toomcook.lo
ecm.c                          libecm_la-toomcook.o
ecm-candi.o                    libtool
ecm-ecm.h                      listz.c
ecm-eval.o                     longlong.h
ecmfactor                      ltmain.sh
ecmfactor.c                    lucas.c
ecmfactor-ecmfactor.o          m4
ecm-getprime.o                 main.c
ecm-gmp.h                      Makefile
ecm.h                          Makefile.am
ecm-impl.h                     Makefile.in
ecm-main.o                     median.c
ecm_ntt.c                      memory.c
ecm-params.h                   missing
ecm-params.h.alpha-ev5         mpmod.c
ecm-params.h.alpha-ev56        mpmod.h
ecm-params.h.alpha-ev6         mpzspm.c
ecm-params.h.armv5tel          mpzspv.c
ecm-params.h.athlon            mul_fft.c
ecm-params.h.athlon64          mul_fft-params.h
ecm-params.h.core2             mul_fft-params.h.athlon64
ecm-params.h.corei5            mul_fft-params.h.default
ecm-params.h.default           mul_fft-params.h.pentium3
ecm-params.h.hppa2.0           mul_fft-params.h.pentium4
ecm-params.h.ia64              mul_lo.c
ecm-params.h.mips64el          NEWS
ecm-params.h.pentium3          ntt_gfp.c
ecm-params.h.pentium4          pentium4
ecm-params.h.pentium-m         pm1.c
ecm-params.h.powerpc7450       pm1fs2.c
ecm-params.h.powerpc970        polyeval.c
ecm-params.h.sparc64           powerpc64
ecm-random.o                   pp1.c
ecm-resume.o                   random.c
ecm.xml                        README
ellparam_batch.c               README.lib
eval.c                         resume.c
factor.c                       rho.c
Fgw.c                          schoen_strass.c
getprime.c                     sets_long.c
INSTALL                        sp.c
INSTALL-ecm                    sp.h
install-sh                     spm.c
ks-multiply.c                  spv.c
libecm.la                      stage2.c
libecm_la-auxarith.lo          stamp-h1
libecm_la-auxarith.o           test.ecm
libecm_la-auxlib.lo            test_mulredc.c
libecm_la-auxlib.o             test.pm1
libecm_la-batch.lo             test.pp1
libecm_la-batch.o              TODO
libecm_la-bestd.lo             toomcook.c
libecm_la-bestd.o              tune
libecm_la-ecm2.lo              tune-auxarith.o
libecm_la-ecm2.o               tune-auxlib.o
libecm_la-ecm.lo               tune.c
libecm_la-ecm_ntt.lo           tune-ecm_ntt.o
libecm_la-ecm_ntt.o            tune-ks-multiply.o
libecm_la-ecm.o                tune-listz.o
libecm_la-ellparam_batch.lo    tune-median.o
libecm_la-ellparam_batch.o     tune-mpmod.o
libecm_la-factor.lo            tune-mpzspm.o
libecm_la-factor.o             tune-mpzspv.o
libecm_la-getprime.lo          tune-mul_fft.o
libecm_la-getprime.o           tune-mul_lo.o
libecm_la-ks-multiply.lo       tune-ntt_gfp.o
libecm_la-ks-multiply.o        tune-polyeval.o
libecm_la-listz.lo             tune-random.o
libecm_la-listz.o              tune-schoen_strass.o
libecm_la-lucas.lo             tune-spm.o
libecm_la-lucas.o              tune-sp.o
libecm_la-median.lo            tune-spv.o
libecm_la-median.o             tune-toomcook.o
libecm_la-mpmod.lo             tune-tune.o
libecm_la-mpmod.o              x86_64
Romuald is offline   Reply With Quote
Old 2016-08-26, 19:31   #10
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

74418 Posts
Default

Then file ecm.
paulunderwood is offline   Reply With Quote
Old 2016-08-26, 19:32   #11
Romuald
 
Romuald's Avatar
 
Oct 2015
France

32·7 Posts
Default

Code:
/ecm-6.4.4$ file ecm
ecm: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=42e2cd48ae7e9f4e6a13adfbd9827d4ce99fe66a, not stripped
Romuald is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
requesting permission from George to release Prime95 screenshot under GPL ixfd64 Software 13 2021-06-17 07:48
PrimeNet error 9: Access denied under FreeBSD aevernon Information & Answers 5 2016-01-21 14:57
Asking permission of the company sixblueboxes Information & Answers 32 2015-12-10 19:36
PrimeNet error 9: Access denied? mike12166 Information & Answers 7 2009-06-20 08:54
./mprime: Permission denied. Unregistered Software 3 2004-05-07 08:20

All times are UTC. The time now is 08:16.


Mon Oct 25 08:16:30 UTC 2021 up 94 days, 2:45, 0 users, load averages: 1.50, 1.56, 1.35

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.