TITLE
    Mac OS X Server 10.0: Deleting Guest-Created Folders Requires root Access
Article ID:
Created:
Modified:
106344
6/7/01
6/7/01

TOPIC

    A folder created by an AppleShare user logged in through Guest access can only be deleted by the root user.


DISCUSSION

    Symptom

    When you are logged in as an Admin user and attempt to delete a folder that was created by an AppleShare user logged in with Guest access, an alert appears with this message (or a variation of it):
      "The operation cannot be completed because you do not have sufficient privileges for '502'."

    Products affected
    • Mac OS X Server 10.0.3

    Solution

    Folders created in this manner have an owner of "Unprivileged User" or "Nobody." You must use root access to delete a folder (directory) created by a Guest-access user.

    Deleting with Terminal

    If you are familiar with the Terminal, you may use the sudo command to delete the undesired folder.

    Deleting with Finder

    Otherwise, follow these steps:
      1. Choose Log Out from the Apple menu.
      2. Log back in as the root user.
      Note: The root user does not appear in the Users pane of System Preferences but is enabled in Mac OS X Server 10.0.3 by default. Where you would normally type your user name during login, type: root
      3. Type your normal Admin user password.

    Once logged in as root, you can delete the folder by Choosing Empty Trash from the Finder menu.

Document Information
Product Area: Mac OS System Software
Category: Mac OS X Server
Sub Category: Troubleshooting
Keywords: kmosxserver10

Copyright © 2000 Apple Computer, Inc. All rights reserved.