1

I have a basic shared folder on a ubuntu desktop (VM) that I want everyone to have 100% read/write to it. I can set this up, and use a mac to connect and mount the folder but logging in as the ubuntu user.

MAMP is running on the OSX machine (same machine). The volume is mounted at /Volumes/uploads on the Mac. When I try and upload some files through Apache.PHP, which then move to the mounted volume it says it is a permission error.

The user in Apache is the same as the user who is mounting the volume (in this case just admin).

As it's mounted as admin, and apache is running as admin, and I can write files to it in Finder, I was wondering if I have missed something in the Samba config or the Apache config?

2
  • Can you add the exact error from the apache log?
    – Keith
    May 9, 2013 at 4:09
  • I don't get anything showing up in PHP or Apache logs, except when I initially try and change the CMS (Drupal's) private file path to the volume it will say [Thu May 09 18:00:10 2013] [error] [client ::1] client denied by server configuration: /Applications/MAMP/htdocs/.DS_Store
    – stabbie
    May 9, 2013 at 10:06

1 Answer 1

1

It was a conflict in paths. uploads was already created under Volumes and it was uploads-1 - but of course the name is "uploads" in finder.

Note to all: Always check your paths!!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .