You are not logged in.
This is what happens when I try to build packages on my storage drive.
/mnt/Stash/g15daemon/PKGBUILD: line 24: ./configure: Permission denied
==> ERROR: A failure occurred in build().
Aborting...
Output of ls -l:
$ ls -l
total 364
drwxr-xr-x 4 user user 4096 nóv 9 11:04 .
drwxr-xrwx 10 root root 4096 nóv 9 11:04 ..
-rwxrwxrwx 1 user user 999 jún 2 23:13 PKGBUILD
-rwxrwxrwx 1 user user 309933 júl 5 18:01 g15daemon-1.9.5.3.tar.bz2
-rwxrwxrwx 1 user user 28763 nóv 9 00:02 g15daemon.patch
-rwxrwxrwx 1 user user 196 jún 1 22:08 g15daemon.service
d--------- 2 user user 4096 nóv 9 11:04 pkg
drwxr-xr-x 3 user user 4096 nóv 9 11:04 src
mount options(fstab):
/dev/sdb1 /mnt/Stash ext4 rw,noatime,data=ordered,users 0 2
The package compiles and builds just fine in my home directory on /dev/sda, what am I doing wrong?
Last edited by rabcor (2014-11-09 12:43:34)
Offline
From the mount manpage:
users Allow every user to mount and unmount the filesystem. This
option implies the options noexec, nosuid, and nodev (unless
overridden by subsequent options, as in the option line
users,exec,dev,suid).
noexec Do not permit direct execution of any binaries on the mounted
filesystem. (Until recently it was possible to run binaries
anyway using a command like /lib/ld*.so /mnt/binary. This trick
fails since Linux 2.4.25 / 2.6.0.)
Last edited by Spider.007 (2014-11-09 11:47:48)
Offline
EDIT
Post #2 above probably shows the true cause, try changing mount permissions.
Please share the PKGBUILD you are using ( there is a g15daemon package in community, but that one has ./configure at line 34 instead of 24 )
Also post the exact command you're using to build , and the full output of the command.
Is /dev/sdb an internal or removable device ?
Was it automounted or manually mounted ?
The output of mount may also be helpful.
Last edited by Lone_Wolf (2014-11-09 11:52:14)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
Thanks Spider, removing users from fstab fixed it
Offline