• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Network Trash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Network Trash


  • Subject: Re: Network Trash
  • From: Charles Francoise <email@hidden>
  • Date: Tue, 12 Apr 2016 19:17:27 +0200

Thanks for the answer!

 if a user mounts a network volume, moves files to the trash, unmounts the network volume, and never returns to that network volume, files are left in the trash forever

This isn’t really an issue, since there is a one user for one volume rule. 

The only network locations that still support trash are network home directories

This is an option we considered early in the development. I’ll keep that in mind.

I’ve also noticed that iCloud Drive, upon deletion from the Finder, sends files to the local Trash and warns the user of what it’s doing. Is this a behaviour I could implement in my own filesystem?

--
Charles Francoise
Lead Mac Developer @ Lima
email@hidden






On 12 Apr 2016, at 18:05, Jim Luther <email@hidden> wrote:

Apple doesn't support trash directories (or temporary item directories) on network volumes and hasn't for quite a while because there is no good mechanism to clean up trash on network volumes (i.e., if a user mounts a network volume, moves files to the trash, unmounts the network volume, and never returns to that network volume, files are left in the trash forever). The only network locations that still support trash are network home directories -- in this case, the trash folder is within the network home directory so any user quotas can be enforced and documents moved to the trash are still within that user's control (no privacy issues).

- Jim

On Apr 12, 2016, at 2:38 AM, Charles Francoise <email@hidden> wrote:

Hi,

I’m currently working on a network filesystem that can only be used by one user at any time (similarly to a cloud drive).

Since only one user manipulates the files at any time, it would be interesting to have a network Trash. Is this something that can be done? Either by exposing a “Trash enabled” capability for the filesystem, or perhaps in the kernel extension for the filesystem?

Thanks,
--
Charles Francoise
Lead Mac Developer @ Lima
email@hidden





Do not post admin requests to the list. They will be ignored. Filesystem-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Network Trash
      • From: Jim Luther <email@hidden>
References: 
 >Network Trash (From: Charles Francoise <email@hidden>)
 >Re: Network Trash (From: Jim Luther <email@hidden>)

  • Prev by Date: Re: Network Trash
  • Next by Date: Re: Network Trash
  • Previous by thread: Re: Network Trash
  • Next by thread: Re: Network Trash
  • Index(es):
    • Date
    • Thread