Re: supporting Get Info "Locked" checkbox in a file system driver
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