[openbeos] Re: Weird Permission Bits

  • From: François Revol <revol@xxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Mon, 5 Jul 2004 23:49:37 +0200

You did put a mode value as 3rd param on open(), did you ?
So as for BFile I'm not sure hwo to do that on the ctor, 
I usually do that afterwards with SetPermissions(0644);
(from BStatable)
François.

Selon Tyler Dauwalder <tyler@xxxxxxxxxxxxx>:

> While I'm at it, anyone know what's up with the weird permission bits on 
> bfile.udf and open.udf?
> 
> /boot $ ll
> total 5146677
> drwxr-xr-x   1 baron    users        4096 Jul  5 13:08 apps
> drwxr-xr-x   1 baron    users        2048 Aug 24  2003 beos
> -rws--sr--   1 baron    users    1621094848 Jul  5 14:16 bfile.udf
> drwxr-xr-x   1 baron    users        2048 Jan 19 19:20 biggg
> drwxr-xr-x   1 baron    users        2048 Aug 24  2003 demos
> drwxr-xr-x   1 baron    users        2048 Aug 24  2003 develop
> drwxr-xr-x   1 baron    users        5120 Jul  5 14:13 home
> -rw-r--r--   1 baron    users    1343551488 Jul  5 13:59 home.udf
> -r-S--Sr--   1 baron    users    2827151168 Jul  5 14:17 open.udf
> drwxr-xr-x   1 baron    users        2048 Aug 24  2003 optional
> drwxr-xr-x   1 baron    users        2048 Aug 24  2003 preferences
> drwxr-xr-x   1 baron    users        2048 Aug 24  2003 var
> /boot $                                                                     
> 
> -Tyler
> 
> 


-- 



Other related posts: