Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Cannot delete AFP user share

Featured Replies

I am using Unraid Beta 14

I made a user share called Time Machine Backup that I now want to delete.  I cannot seem to delete it.  I expect that because of some permission issue.  I can telnet into my server as root but do not know the command to delete the share.

 

Any help is appreciated.  Thanks.

The share must be empty before it can be deleted. AFP also adds some hidden files that must be removed.

 

1. Disable SMB, AFP and NFS for the share.

2. Connect with Telnet or use an attached keyboard and monitor. Login as root.

3. Enter

rm /mnt/user/share name/*
rm /mnt/disk1/share name/.*

The second command may need to be repeated for disk2, disk3, etc.

4. Delete the share using the web GUI.

  • Author

Thank you for the response. 

 

My share is called Time Machine Backup.  When I try the command      rm /mnt/disk1/Time Machine Backup/*  I get...

 

rm: cannot remove `/mnt/disk1/Time': No such file or directory

rm: cannot remove `Machine': No such file or directory

rm: cannot remove `Backup/*': No such file or directory

 

 

There must be some kind of syntax that I am unaware of.  I am a linux idiot and don't know console commands for ffiles and folders  The share I want to delete is only on disk one.  Any advice?

 

Use quotes. Enter: "rm /mnt/disk1/'Time Machine Backup'/*"

  • Author

I changed the name of the share to a single word (Time) for simplicity.  Still no luck.  The output is below. 

 

 

root@Tower:~# rm /mnt/disk1/Time/.*

rm: cannot remove `/mnt/disk1/Time/.': Is a directory

rm: cannot remove `/mnt/disk1/Time/..': Is a directory

rm: cannot remove `/mnt/disk1/Time/.AppleDB': Is a directory

root@Tower:~# root@Tower:~# rm /mnt/disk1/Time/.*

rm: cannot remove `/mnt/disk1/Time/.AppleDB': Is a directory

root@Tower:~#

 

  • Author

That did it.  Thanks :)

  • 5 months later...

Here is how I added user to share, dataset permissions and acl .... option: delete old be netatatalk 3.0 Unable to destroy netatalk-3.0.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.