You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Brian Dessent <br...@dessent.net> on 2003/10/24 21:54:01 UTC

Re: [users@httpd] Apache2 upgrade + smb mount + symbolic link = zero byte downloads

Rob Rosenfeld wrote:

> I definitely can copy from the share to the local filesystem.  In fact, as a
> normal user, I can use local MP3 players (mpg123, etc.) to play the file
> directly off the smbfs mount.  Also, since apache displays the proper
> indices when Options Indexes is enabled, I think the permissions are fine.
> 
> Do different permissions affect apache's ability to see/index the file
> versus its ability to return the file?
> 
> Is there anything related to this that changed between 1.3.28 and 2.0.47?
> This used to work under 1.3.28.

Yes, but remember that Apache is running as a different user (most
likely "nobody" or "www") and so the fact that you can copy and play the
mp3 files from your user account doesn't really mean that this is the
case of the Apache user.

What are the permissions on the directory containing the files, and the
files themselves?  What user and group owns the files?  What user and
group is Apache running as?  After you've answered these then we can
rule out permissions definitively.

I suspect a permissions problem because this is a samba share, and samba
has to map Windows-world ACLs onto POSIX-style 'rwx' permissions, and
sometimes this mapping doesn't have the right semantics.

Brian

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org