Hi There!

The folders and files you mention are created by MacOS to handle the details
of the HFS file system. On the mac HFS file system each logical file
consists of two physical files on the harddrive - called the data fork and
the resource fork. The resource fork is a kind of database of resources for
a file, things like printing info, icons, file type, etc... (Things that
windows often stores in its central registry file, and unix simply manages
without). A mac file can consist of either fork, or both, but not neither or
there is no file. The '.file' files you see for each 'file' are most likely
the resource fork belonging to that file. The .trashes folder contains all
the deleted items on that partition (in this case, the slide 'partition')
since mac users expect to find files they put in the trash within the trash
even if they take their disk to another computer.

Hiding the '.' files will probably have the result that the mac users will
no longer be able to get back the resource forks of the files they save. For
some file types this will not matter at all, other file types will be
unusable without their resource forks. All files will lose their
creator/type attributes, although MacOS should probably still be able to
open them based on their file extension.

The '.' file spam created by mac users is something unix admins are used to
- there's not much you can do against it... Also using the webdav client to
encode the files differently will also not always produce the desired
result. Either the client will truncate the resource fork to PUT the file,
which has the disadvantages mentioned above, or it will recode the file as
'MacBinary' or something like that, which will not be openable except on a
mac.

If anyone has a good solution to this problem, the world would like to know!

Richie




-----Urspr�ngliche Nachricht-----
Von: Neo [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 02. August 2002 02:03
An: [EMAIL PROTECTED]
Betreff: Mac OSx Fails without / root acl


I was tickled when I originally set up slide and was able to use all the
features of slide from a Mac OS 10.  But when I was originally testing it, I
was /users/Cstone with full inherited permissions to /.  Then I started
locking the system down and I was only giving permissions to Cstone where he
should be able to read/write (i.e. /groups/VSDE).  Now the OS 10 uploads
fail.  

It looked like a problem with OS 10 attempting to access the /.trashes
folder and that folder didn't exist and Cstone didn't have permissions to
create that folder.  So I made the /.Trashes folder part of the Domain.xml
and gave all users full permission hoping that would solve the problem.
Needless to say, that didn't help.  The uploads still fail.

I downloaded the Mac Goliath DAV client and that has similar problems with
one exception...if you turn off the Mac encoding it works like a champ. In
that scenario it does a HEAD and PUT just like a windows web folder.
Otherwise it acts just like the Mac OS and it will do a bunch of PROPFIND's
that consistently fail and ultimately the Mac client will display an error
box.

Please help.

Find below a snip from my domain.xml and console output of the bad upload
attempt.

- snip - 

<data>
        <objectnode classname="org.apache.slide.structure.SubjectNode"
uri="/">
                <permission action="/actions/read" subject="/users/eniff"
inheritable="false"/>
                <permission action="/actions/read" subject="/users"
inheritable="false"/>
                <objectnode
classname="org.apache.slide.structure.ActionNode" uri="/actions">
                        <permission action="/actions/read"
subject="/users"/>
                        <objectnode
classname="org.apache.slide.structure.ActionNode" uri="/actions/read"/>
                        <objectnode
classname="org.apache.slide.structure.ActionNode" uri="/actions/write"/>
                        <objectnode
classname="org.apache.slide.structure.ActionNode" uri="/actions/manage"/>
                </objectnode>
                <objectnode
classname="org.apache.slide.structure.SubjectNode" uri="/.Trashes">
                        <permission action="/actions" subject="/users"
inheritable="true"/>
                </objectnode>
                <objectnode
classname="org.apache.slide.structure.SubjectNode" uri="/groups">
                        <permission action="/actions/read" subject="/users"
inheritable="false"/>
                        <objectnode
classname="org.apache.slide.structure.SubjectNode" uri="/groups/VSDE">
                                <permission action="/actions"
subject="+/users/group/g_1"/>
                        </objectnode>
                        <objectnode
classname="org.apache.slide.structure.SubjectNode" uri="/groups/NGST">
                                <permission action="/actions"
subject="/users/Cstone" inheritable="true"/>
                                <permission action="/actions"
subject="+/users/group/g_15"/>
                        </objectnode>
                </objectnode>
        </objectnode>
</data>

- snip - 


01 Aug 2002 19:29:31 - org.apache.slide.webdav.WebdavServlet - INFO -
PROPFIND = 207 Multi-Status (time: 32 ms) URI = /groups/VSDE
01 Aug 2002 19:30:05 - org.apache.slide.common.Domain - WARNING - Not Found
01 Aug 2002 19:30:05 - org.apache.slide.transaction.SlideTransactionManager
- INFO - Rollback Transaction 15 xid
HttpProcessor[8089][3]-1028244605953-15- in thread HttpProcessor[8089][3]
01 Aug 2002 19:30:05 - org.apache.slide.webdav.WebdavServlet - INFO -
PROPFIND = 207 Multi-Status (time: 15 ms) URI = /groups/NGST/GOESR Task.doc
01 Aug 2002 19:30:06 - org.apache.slide.common.Domain - WARNING - Not Found
01 Aug 2002 19:30:06 - org.apache.slide.transaction.SlideTransactionManager
- INFO - Rollback Transaction 16 xid
HttpProcessor[8089][3]-1028244606406-16- in thread HttpProcessor[8089][3]
01 Aug 2002 19:30:06 - org.apache.slide.webdav.WebdavServlet - INFO -
PROPFIND = 207 Multi-Status (time: 15 ms) URI = /groups/NGST/GOESR Task.doc
01 Aug 2002 19:30:06 - org.apache.slide.common.Domain - WARNING - Not Found
01 Aug 2002 19:30:06 - org.apache.slide.transaction.SlideTransactionManager
- INFO - Rollback Transaction 17 xid
HttpProcessor[8089][4]-1028244606593-17- in thread HttpProcessor[8089][4]
01 Aug 2002 19:30:06 - org.apache.slide.webdav.WebdavServlet - INFO -
PROPFIND = 207 Multi-Status (time: 16 ms) URI = /groups/NGST/GOESR Task.doc
01 Aug 2002 19:30:06 - org.apache.slide.common.Domain - WARNING - Not Found
01 Aug 2002 19:30:06 - org.apache.slide.transaction.SlideTransactionManager
- INFO - Rollback Transaction 18 xid
HttpProcessor[8089][2]-1028244606781-18- in thread HttpProcessor[8089][2]
01 Aug 2002 19:30:06 - org.apache.slide.webdav.WebdavServlet - INFO -
PROPFIND = 207 Multi-Status (time: 15 ms) URI = /groups/NGST/GOESR Task.doc
01 Aug 2002 19:30:06 - org.apache.slide.common.Domain - WARNING - Not Found
01 Aug 2002 19:30:06 - org.apache.slide.transaction.SlideTransactionManager
- INFO - Rollback Transaction 19 xid
HttpProcessor[8089][2]-1028244606953-19- in thread HttpProcessor[8089][2]
01 Aug 2002 19:30:06 - org.apache.slide.webdav.WebdavServlet - INFO -
PROPFIND = 207 Multi-Status (time: 31 ms) URI = /groups/NGST/GOESR Task.doc

thanks,
neo

_____________________________________________________________
Sign up for FREE email from Southern Maryland Online at http://somd.com

_____________________________________________________________
Promote your group and strengthen ties to your members with
[EMAIL PROTECTED] by Everyone.net  http://www.everyone.net/?btn=tag

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to