• 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: supporting Get Info "Locked" checkbox in a file system driver
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: supporting Get Info "Locked" checkbox in a file system driver


  • Subject: Re: supporting Get Info "Locked" checkbox in a file system driver
  • From: Paul Nelson <email@hidden>
  • Date: Fri, 23 Apr 2010 15:07:48 -0500

The lock bit comes into a VFS as the UF_IMMUTABLE flag.  See man chflags

On Apr 23, 2010, at 3:02 PM, mogambo wrote:

> Hi,
>
> It seems that clicking that checkbox makes the file read-only.  However, the actual permissions do not change on the file when I check with ls.  Trying to modify the file, with vi say, fails saying it's a read-only file.
>
> Is it handled with some extended attributes?  What are the expectations from a file system driver for a remote file system to support this feature?
>
> Thanks,
> -m.
> _______________________________________________
> 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

 _______________________________________________
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

References: 
 >supporting Get Info "Locked" checkbox in a file system driver (From: mogambo <email@hidden>)

  • Prev by Date: supporting Get Info "Locked" checkbox in a file system driver
  • Next by Date: applicationShouldTerminate and DAUnmount callbacks
  • Previous by thread: supporting Get Info "Locked" checkbox in a file system driver
  • Next by thread: applicationShouldTerminate and DAUnmount callbacks
  • Index(es):
    • Date
    • Thread