Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > Linux WebDAV no write permissions

Linux WebDAV no write permissions
Thread Tools
ebolla
Forum Regular
Join Date: May 2002
Location: Irvine, CA
Status: Offline
Reply With Quote
Mar 28, 2004, 02:48 PM
 
I recently set up my home RedHat Linux server to use allow users to access files via WebDAV
I used digest authentication to control logins and everything connects fine
but the Finder only allows me read permissions
everytime i try to write to the webdav share from my iBook or any of my other Macs i get an "error code -43"
I'm running OSX.3.3 and redhat 9 with Apache 2.0.49
I've made the webDav share owned by apache and the password file owned by apache also

my Apache config file looks like this:

<IfModule mod_dav_fs.c>
# Location of the WebDAV lock database.
DAVLockDB /usr/local/apache/conf/davlock
DAVMinTimeout 600
<Location />
AuthType Digest
AuthName "iTools"
AuthDigestDomain /
AuthDigestFile /usr/local/apache/conf/.digest_pwi
Allow from all
Require valid-user
AllowOverride None
DAV On
Options Indexes
Order allow,deny
</Location>
</IfModule>

is something wrong with my config file or is this a limit to OSX?

Thanks for the help
     
Big-C
Dedicated MacNNer
Join Date: Apr 2001
Location: Montrose, CA
Status: Offline
Reply With Quote
Apr 2, 2004, 02:40 PM
 
I'm no expert on this setup, but I recently did a combo webdav server serving ical & icalendar (for testing).

I got the permissions error, and fixed it by changing my calendar directories to the appropriate user, that is, www.

So maybe that will help...
     
Mithras
Professional Poster
Join Date: Oct 1999
Location: :ИOITAↃO⅃
Status: Offline
Reply With Quote
Apr 2, 2004, 03:22 PM
 
Also, you want to make sure that the hostname the clients are sending is the same hostname that the server is using.

In particular, this means ensuring that the ServerName apache directive is set to whatever you're using to connect to the Webdav server.

Failing to do this will prevent writes and renames, I think.
     
ebolla  (op)
Forum Regular
Join Date: May 2002
Location: Irvine, CA
Status: Offline
Reply With Quote
Apr 8, 2004, 11:30 AM
 
The local permissions sounds like the most likely cause of the problem but I've already set the owner of the web directories as "apache" and the apache program runs as user "apache"

I modified the server name to my domain name which i use for access but still no luck and I also tried just using the IP address for both without any luck

I also tried to connect using dreamweaver's webdav from my ibook but got the same errors so I'm assuming it definately is a server issue now

does anyone else have any suggestions?
does anyone else use my setup: server runningredhat 9 with apache 2.49 and mod_dav - client using OSX finder


thanks
     
   
Thread Tools
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 12:26 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,