Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OS 9 clients can't delete files/folders



Okay, after working with things a little longer, I've finally figured out
what the trick is.

As root in the Terminal:
1. Navigate to the share directory
# cd /Homes/students/1st\ Grade\ Students
2. I removed the Network Trash Folders from the root level of each of my
shares
# rm -rf Network\ Trash\ Folder
3. I recreated the Network Trash Folder
# mkdir Network\ Trash\ Folder
4. I changed the group ownership of the newly created Network Trash Folder
to the match the group of the share
# chgrp ehgrade1 Network\ Trash\ Folder
5. I changed the permissions so that the group has no permissions
whatsoever to the Network Trash Folder. Don't ask me why they can have no
permissions, but it works.
# chmod 707 Network\ Trash\ Folder
6. Repeat for each share

This causes the user to have to delete the file immediately. It may not
be the desired method, but it works for me and for my users.

One recommendation I received was to delete the share and the data inside
it and recreate it. I decided that idea would make too much work for me
as I'd have to move the data back into the share, so I made the above
attempt and it worked.

Hopefully this helps others.

Sean

<original posting follows, snipped to make the listmom happy>

<snip>
>

>My users can create and modify their files. When trying to delete files,
>OS X clients want to delete the files immediately, but OS 9 clients show
>the message "You cannot move "<filename>" to the "Trash", because you do
>not have the privilege to make changes."
>
>When I mess with the "Network Trash Folder" folder under the share point,
>I can occasionally make things work, but not for all users.

<snip>
>

>In hierarchical terms, it looks something like, along with
>permissions/owner/group:
>
>/ (drwxrwxr-t root admin)
> Homes (drwxrwx--- root admin)
> Students (drwxr-xr-x root admin)
> 1st Grade Students (drwxr-x--- admin ehgrade1)
> EHuston Students (drwxrwx--- ehgr1stu ehgrade1)
> JKimpel Students (drwxrwx--- ehgr1stu ehgrade1)
> MReinhardt Students (drwxrwx--- ehgr1stu ehgrade1)
> ...

<snip>
>
>Okay, now that I've explained the set up, here's my question. What do I
>need to do in order to make things so that everyone can delete files that
>they have access to? File permissions are okay because users can modify
>the files, they just can't delete them. It's got to be something in the
>Network Trash Folder, but I can't figure it out. I've searched the
>knowledge base and discussions and can't find anything that helps.
>
<snip>
_______________________________________________
macos-x-server mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macos-x-server
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.