Re: Thinking about GtkFileSystem
- From: Alexander Bostrom <abo e kth se>
- To: Ettore Perazzoli <ettore ximian com>
- Cc: Owen Taylor <otaylor redhat com>, gtk-devel-list gnome org, ettore ximian gnome org, alexl redhat com
- Subject: Re: Thinking about GtkFileSystem
- Date: 18 Mar 2003 15:04:47 +0100
Ettore Perazzoli <ettore ximian com> writes:
> I think we'll want symlink and permissions; the former to decide when to
> superimpose the "arrow" icon, and the latter to gray out the files that
> cannot be opened.
>
> Probably the permission field doesn't need to be the full permission
> bitfield though, the backend could just say if the file is
> readable/writable for the current user and the GUI would gray out items
> accordingly.
Hello,
If you do include a complete permission bitfield, please do remember that
sometimes the usual interpretation of stat.mode_t for a particular file
will not be the same as the results of access(2). This happens for example
when using a file system with "real ACLs", like AFS. Therefore, you'll
still need another bitfield with just the access(2) info.
/abo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]