You are not logged in.

#1 2012-10-02 20:40:59

huntrm
Member
Registered: 2012-09-14
Posts: 8

Allow HTTP user in Cherokee to access USER Samba Shares

I'm still struggling to understand users and permissions.  Here's my situation:
- Have a Samba share that's working, located at /home/<username>
- I want to permit Cherokee to have access to a subdirectory for this user (e.g., /home/<username>/<website>), in this case HTTP has access to this subdirectory for reads and writes

I've configured Cherokee to point to this directory, with the HTTP user.  I also, chmod the http user to have access to this directory.

If I do a ls -l, I get following for that subdirectory and all subsequent directories/files:

drwxr-xr-x  2 root root      4096 Oct  1 08:21 backup
drwxr-xr-x  2 root root      4096 Oct  2 09:44 docs
drwxr-xr-x 21 http root      4096 Oct  2 14:10 <website subdirectory>

So, seems like I got the permissions right for the http user powered by Cherokee to access this directory.  But, when Cherokee is running, it won't load the index.html in the subdirectory, which tells me that it's a read issue.  If the webserver isn't running, I get a 404/timeout in my browser.

Is Samba restricting access to just samba, or am I misinterpreting my permissions setup?  Cherokee forum is down, so I wanted to post this here.  I did shutdown Samba, and it didn't make a difference.

Thanks.

Last edited by huntrm (2012-10-02 20:56:46)

Offline

Board footer

Powered by FluxBB