I did O_RDWR | O_TRUNC | O_CREAT. But regardless, aren't permissions a bitmask? I wouldn't think you could cause random 's' and 'S' characters to appear, just toggle the usual chars on or off. -Tyler On 2004-07-05 at 14:49:37 [-0700], François Revol wrote: > 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 > > >