[erlang-questions] Erlang on EC2 - Filesystem errors?
Scott Lystig Fritchie
fritchie@REDACTED
Thu Oct 15 00:22:25 CEST 2009
Paul Davis <paul.joseph.davis@REDACTED> wrote:
pd> {error_logger,{{2009,10,14},{1,42,33}},std_error,"File operation
pd> error: eacces. Target: .. Function: read_file_info. Process:
pd> code_server."}
Paul, the most common way I've run into this is to do the following as
the superuser (and doesn't require EC2):
mkdir -p /root/some-private-directory
cd /root/some-private-directory
chown root .
chmod 700 .
su some-non-privileged-user -c "erl blah blah blah..."
The "some-non-privileged-user" user can't read anything in the current
directory, which is still /root/some-private-directory.
-Scott
More information about the erlang-questions
mailing list