[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-devel
Subject:    Re: Thinking about GtkFileSystem
From:       Alexander Bostrom <abo () e ! kth ! se>
Date:       2003-03-18 14:04:47
[Download RAW message or body]

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
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic