Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ecryptfs unable to run scripts
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Cr0t
l33t
l33t


Joined: 27 Apr 2002
Posts: 932
Location: USA

PostPosted: Thu Apr 04, 2013 11:07 pm    Post subject: ecryptfs unable to run scripts Reply with quote

As an experiment I installed ecryptfs and I seem to be running into all different kind of issues. I am able to get to work with just passphrase, but not with openssl. If I use it with openssl and put the passphrase in a file, lib ecryptfs just dumps. Anyway just for testing and checking for reliability, i just decided to use the passphrase.

write speed went down from 330mb/s to 80mb/s.

Currently I am pointing to a folder, which through out the data gets several chunks of 1gb filtered through. So far so good... everything works, however, none of the scripts in that folder work as expected.

One of the sub folders is called scripts. If I try `./d<tab>`nothing happens. If type it manually `./done.sh` I get this:
execve("./done.sh", ["./done.sh"], [/* 36 vars */]) = -1 EACCES (Permission denied)
write(2, "strace: exec: Permission denied\n", 32strace: exec: Permission denied
) = 32
exit_group(1) = ?
+++ exited with 1 +++

none of the logs reflect anything. If I copy the same file to anywhere but the ecrypt folder it works as expected. The script does work if I call it via `sh ./done.sh`

Any ideas? This is just weird.
_________________
cya
    ©®0t
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 14056

PostPosted: Thu Apr 04, 2013 11:32 pm    Post subject: Reply with quote

That sounds like the folder is mounted as noexec.
Back to top
View user's profile Send private message
Cr0t
l33t
l33t


Joined: 27 Apr 2002
Posts: 932
Location: USA

PostPosted: Fri Apr 05, 2013 2:43 pm    Post subject: Reply with quote

doh

adjusted fstab to include exec
_________________
cya
    ©®0t
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum