~ubuntu-branches/ubuntu/raring/ltspfs/raring-proposed

« back to all changes in this revision

Viewing changes to src/ltspfs.c

  • Committer: Bazaar Package Importer
  • Author(s): Stéphane Graber
  • Date: 2010-01-13 13:49:37 UTC
  • mfrom: (1.1.17 upstream)
  • Revision ID: james.westby@ubuntu.com-20100113134937-xfuq6hiuel2iuded
Tags: 0.5.14-0ubuntu1
* new upstream version (0.5.14)
 * Fix mount point access when the users are in the same primary group.
 * Fix localapp mount when remote and local user doesn't have matching case.
 * Bump standards to 3.8.3
 * Update short description (was the same for both ltspfsd-core and ltspfsd)

Show diffs side-by-side

added added

removed removed

Lines of Context:
343
343
    stbuf->st_uid = fc->uid;
344
344
    stbuf->st_gid = fc->gid;
345
345
 
 
346
    /*
 
347
     * Also, in order to make sure that all files are umask 700, we'll
 
348
     * manipulate the st_mode at this point.
 
349
     */
 
350
 
 
351
    stbuf->st_mode = stbuf->st_mode & (S_IFDIR | S_IFREG | 0700);
 
352
 
346
353
    if (!xdr_u_longlong_t(&in, &stbuf->st_rdev))
347
354
        return -EACCES;
348
355
    if (!xdr_longlong_t(&in, &stbuf->st_size))