st_mode 134 examples/libsmbclient/smbwrapper/smbsh.c if (stat(line, &statbuf) == 0 && S_ISREG(statbuf.st_mode)) { st_mode 125 examples/libsmbclient/smbwrapper/smbw_dir.c if (! S_ISDIR(statbuf.st_mode)) { st_mode 28 examples/libsmbclient/smbwrapper/smbw_stat.c external->s_mode = internal->st_mode; st_mode 81 examples/libsmbclient/smbwrapper/smbw_stat.c statbuf.st_mode = 0040777; st_mode 290 examples/libsmbclient/smbwrapper/wrapper.c dest->st_mode = src->s_mode; st_mode 308 examples/libsmbclient/smbwrapper/wrapper.c dest->st_mode = src->s_mode; st_mode 47 examples/libsmbclient/testchmod.c printf("\nBefore chmod: mode = %04o\n", st.st_mode); st_mode 61 examples/libsmbclient/testchmod.c printf("After chmod: mode = %04o\n", st.st_mode); st_mode 48 examples/libsmbclient/testfstatvfs.c if (S_ISREG(statbuf.st_mode)) st_mode 259 examples/libsmbclient/testsmbc.c (int)st2.st_size, st2.st_mode); st_mode 262 examples/libsmbclient/testsmbc.c (int)st1.st_size, st1.st_mode); st_mode 64 examples/libsmbclient/teststat3.c COMPARE("st_mode", st_mode); st_mode 274 examples/libsmbclient/tree.c (st1.st_mode&S_IRUSR?'r':'-'), st_mode 275 examples/libsmbclient/tree.c (st1.st_mode&S_IWUSR?'w':'-'), st_mode 276 examples/libsmbclient/tree.c (st1.st_mode&S_IXUSR?'x':'-'), st_mode 277 examples/libsmbclient/tree.c (st1.st_mode&S_IRGRP?'r':'-'), st_mode 278 examples/libsmbclient/tree.c (st1.st_mode&S_IWGRP?'w':'-'), st_mode 279 examples/libsmbclient/tree.c (st1.st_mode&S_IXGRP?'x':'-'), st_mode 280 examples/libsmbclient/tree.c (st1.st_mode&S_IROTH?'r':'-'), st_mode 281 examples/libsmbclient/tree.c (st1.st_mode&S_IWOTH?'w':'-'), st_mode 282 examples/libsmbclient/tree.c (st1.st_mode&S_IXOTH?'x':'-'), st_mode 283 examples/libsmbclient/tree.c st1.st_mode); st_mode 86 lib/replace/repdir_getdents.c if (!S_ISDIR(sb.st_mode)) { st_mode 88 lib/replace/repdir_getdirentries.c if (!S_ISDIR(sb.st_mode)) { st_mode 122 lib/tdb/tools/tdbbackup.c st.st_mode & 0777); st_mode 63 lib/util/util.c return ((S_ISREG(st.st_mode)) || (S_ISFIFO(st.st_mode))); st_mode 93 lib/util/util.c ret = S_ISDIR(st.st_mode); st_mode 130 lib/util/util.c if (!S_ISDIR(st.st_mode)) { st_mode 137 lib/util/util.c ((st.st_mode & 0777) != dir_perms)) { st_mode 801 lib/zlib/contrib/puff/puff.c if ((s.st_mode & S_IFMT) != S_IFREG) return NULL; st_mode 514 lib/zlib/examples/gun.c if (stat(from, &was) != 0 || (was.st_mode & S_IFMT) != S_IFREG) st_mode 518 lib/zlib/examples/gun.c (void)chmod(to, was.st_mode & 07777); st_mode 183 nsswitch/wb_common.c if (!S_ISDIR(st.st_mode) || st_mode 212 nsswitch/wb_common.c if (!S_ISSOCK(st.st_mode) || st_mode 160 source3/client/cifs.upcall.c if (!S_ISREG(sbuf.st_mode)) { st_mode 1873 source3/client/client.c if (S_ISDIR(statbuf.st_mode)) { st_mode 3159 source3/client/client.c filetype_to_str(sbuf.st_mode)); st_mode 3162 source3/client/client.c if (S_ISCHR(sbuf.st_mode) || S_ISBLK(sbuf.st_mode)) { st_mode 3175 source3/client/client.c ((int)sbuf.st_mode & 0777), st_mode 3176 source3/client/client.c unix_mode_to_str(mode_str, sbuf.st_mode), st_mode 415 source3/client/clitar.c size_t towrite = S_ISREG(stbuf.st_mode) ? tp : tbufsiz; st_mode 1344 source3/client/mount.cifs.c if (S_ISDIR(statbuf.st_mode) == 0) { st_mode 1351 source3/client/mount.cifs.c if((statbuf.st_uid == getuid()) && (S_IRWXU == (statbuf.st_mode & S_IRWXU))) { st_mode 271 source3/client/tree.c (st1.st_mode&S_IRUSR?'r':'-'), st_mode 272 source3/client/tree.c (st1.st_mode&S_IWUSR?'w':'-'), st_mode 273 source3/client/tree.c (st1.st_mode&S_IXUSR?'x':'-'), st_mode 274 source3/client/tree.c (st1.st_mode&S_IRGRP?'r':'-'), st_mode 275 source3/client/tree.c (st1.st_mode&S_IWGRP?'w':'-'), st_mode 276 source3/client/tree.c (st1.st_mode&S_IXGRP?'x':'-'), st_mode 277 source3/client/tree.c (st1.st_mode&S_IROTH?'r':'-'), st_mode 278 source3/client/tree.c (st1.st_mode&S_IWOTH?'w':'-'), st_mode 279 source3/client/tree.c (st1.st_mode&S_IXOTH?'x':'-'), st_mode 280 source3/client/tree.c st1.st_mode); st_mode 152 source3/client/umount.cifs.c if ((lstat(MOUNTED, &statbuf) == 0) && (S_ISLNK(statbuf.st_mode))) st_mode 92 source3/include/smb_macros.h #define VALID_STAT_OF_DIR(st) (VALID_STAT(st) && S_ISDIR((st).st_mode)) st_mode 306 source3/lib/system.c if (ret == 0 && S_ISDIR(sbuf->st_mode)) sbuf->st_size = 0; st_mode 323 source3/lib/system.c if (ret == 0 && S_ISDIR(sbuf->st_mode)) sbuf->st_size = 0; st_mode 340 source3/lib/system.c if (ret == 0 && S_ISDIR(sbuf->st_mode)) sbuf->st_size = 0; st_mode 277 source3/lib/tdb_validate.c st.st_mode & 0777); st_mode 373 source3/lib/time.c if(S_ISDIR(pst->st_mode) && fake_dirs) { st_mode 544 source3/lib/util.c return((S_ISREG(sbuf->st_mode)) || (S_ISFIFO(sbuf->st_mode))); st_mode 557 source3/lib/util.c return S_ISSOCK(st.st_mode); st_mode 575 source3/lib/util.c ret = S_ISDIR(st->st_mode); st_mode 1756 source3/lib/util_sock.c if (!S_ISDIR(st.st_mode)) { st_mode 1762 source3/lib/util_sock.c ((st.st_mode & 0777) != dir_perms)) { st_mode 191 source3/lib/wbclient.c if (!S_ISDIR(st.st_mode) || st_mode 214 source3/lib/wbclient.c || !S_ISSOCK(st.st_mode) st_mode 311 source3/libsmb/clifile.c sbuf->st_mode = unix_filetype_from_wire(IVAL(rdata, 56)); st_mode 320 source3/libsmb/clifile.c sbuf->st_mode |= wire_perms_to_unix(IVAL(rdata,84)); /* protection */ st_mode 64 source3/libsmb/libsmb_stat.c st->st_mode = 0; st_mode 67 source3/libsmb/libsmb_stat.c st->st_mode = SMBC_DIR_MODE; st_mode 69 source3/libsmb/libsmb_stat.c st->st_mode = SMBC_FILE_MODE; st_mode 72 source3/libsmb/libsmb_stat.c if (IS_DOS_ARCHIVE(mode)) st->st_mode |= S_IXUSR; st_mode 73 source3/libsmb/libsmb_stat.c if (IS_DOS_SYSTEM(mode)) st->st_mode |= S_IXGRP; st_mode 74 source3/libsmb/libsmb_stat.c if (IS_DOS_HIDDEN(mode)) st->st_mode |= S_IXOTH; st_mode 75 source3/libsmb/libsmb_stat.c if (!IS_DOS_READONLY(mode)) st->st_mode |= S_IWUSR; st_mode 326 source3/libsmb/libsmb_stat.c if (S_ISDIR(statbuf.st_mode)) { st_mode 332 source3/libsmb/libsmb_stat.c } else if (S_ISREG(statbuf.st_mode)) { st_mode 301 source3/modules/nfs4_acls.c if (smbacl4_nfs42win(mem_ctx, theacl, &sid_owner, &sid_group, S_ISDIR(sbuf->st_mode), st_mode 543 source3/modules/onefs_acl.c if (S_ISDIR(sbuf.st_mode) && (sbuf.st_flags & SF_HASNTFSACL) == 0) { st_mode 151 source3/modules/onefs_open.c if (file_existed && S_ISFIFO(psbuf->st_mode)) { st_mode 292 source3/modules/onefs_open.c if(S_ISDIR(psbuf->st_mode)) { st_mode 298 source3/modules/onefs_open.c fsp->mode = psbuf->st_mode; st_mode 673 source3/modules/onefs_open.c if (S_ISDIR(psbuf->st_mode)) { st_mode 699 source3/modules/onefs_open.c new_dos_attributes, psbuf->st_mode, st_mode 705 source3/modules/onefs_open.c (unsigned int)psbuf->st_mode, st_mode 1507 source3/modules/onefs_open.c if (!S_ISDIR(psbuf->st_mode)) { st_mode 1521 source3/modules/onefs_open.c (mode & ~psbuf->st_mode)) { st_mode 1522 source3/modules/onefs_open.c SMB_VFS_CHMOD(conn, fname, (psbuf->st_mode | st_mode 1523 source3/modules/onefs_open.c (mode & ~psbuf->st_mode))); st_mode 1545 source3/modules/onefs_open.c fsp->mode = psbuf->st_mode; st_mode 1916 source3/modules/onefs_open.c if (!fsp->is_directory && S_ISDIR(sbuf.st_mode)) { st_mode 680 source3/modules/onefs_streams.c if (S_ISREG(sbuf.st_mode)) { st_mode 629 source3/modules/vfs_afsacl.c if (S_ISDIR(psbuf->st_mode)) st_mode 482 source3/modules/vfs_default.c if (!S_ISREG (source_stats.st_mode)) st_mode 519 source3/modules/vfs_default.c if (fchmod (ofd, source_stats.st_mode & 07777)) st_mode 521 source3/modules/vfs_default.c if (chmod (dest, source_stats.st_mode & 07777)) st_mode 627 source3/modules/vfs_default.c if(S_ISDIR(sbuf->st_mode)) { st_mode 832 source3/modules/vfs_default.c if (S_ISFIFO(st.st_mode)) st_mode 924 source3/modules/vfs_default.c if (S_ISFIFO(st.st_mode)) { st_mode 1144 source3/modules/vfs_default.c if (S_ISDIR(sbuf.st_mode)) { st_mode 35 source3/modules/vfs_fake_perms.c if (S_ISDIR(sbuf->st_mode)) { st_mode 36 source3/modules/vfs_fake_perms.c sbuf->st_mode = S_IFDIR | S_IRWXU; st_mode 38 source3/modules/vfs_fake_perms.c sbuf->st_mode = S_IRWXU; st_mode 53 source3/modules/vfs_fake_perms.c if (S_ISDIR(sbuf->st_mode)) { st_mode 54 source3/modules/vfs_fake_perms.c sbuf->st_mode = S_IFDIR | S_IRWXU; st_mode 56 source3/modules/vfs_fake_perms.c sbuf->st_mode = S_IRWXU; st_mode 849 source3/modules/vfs_gpfs.c if ((st.st_mode & ~S_IFMT) == mode) { st_mode 869 source3/modules/vfs_gpfs.c if ((st.st_mode & ~S_IFMT) == mode) { st_mode 261 source3/modules/vfs_hpuxacl.c if (S_ISDIR(s.st_mode)) { st_mode 85 source3/modules/vfs_netatalk.c if (S_ISDIR(orig_info->st_mode)) { st_mode 245 source3/modules/vfs_netatalk.c if (S_ISDIR(orig_info.st_mode) || S_ISREG(orig_info.st_mode)) { st_mode 301 source3/modules/vfs_netatalk.c if (S_ISDIR(orig_info.st_mode) || S_ISREG(orig_info.st_mode)) { st_mode 333 source3/modules/vfs_netatalk.c if (!S_ISDIR(orig_info.st_mode) && !S_ISREG(orig_info.st_mode)) { st_mode 365 source3/modules/vfs_netatalk.c if (!S_ISDIR(orig_info.st_mode) && !S_ISREG(orig_info.st_mode)) { st_mode 399 source3/modules/vfs_netatalk.c if (!S_ISDIR(orig_info.st_mode) && !S_ISREG(orig_info.st_mode)) { st_mode 91 source3/modules/vfs_onefs.c if(S_ISDIR(sbuf->st_mode)) { st_mode 218 source3/modules/vfs_recycle.c if (S_ISDIR(st.st_mode)) { st_mode 231 source3/modules/vfs_recycle.c if (S_ISREG(st.st_mode)) { st_mode 172 source3/modules/vfs_solarisacl.c if (S_ISDIR(s.st_mode)) { st_mode 185 source3/modules/vfs_streams_depot.c if (!S_ISDIR(sbuf.st_mode)) { st_mode 701 source3/modules/vfs_streams_depot.c if (!S_ISDIR(sbuf.st_mode)) { st_mode 171 source3/modules/vfs_streams_xattr.c sbuf->st_mode &= ~S_IFMT; st_mode 172 source3/modules/vfs_streams_xattr.c sbuf->st_mode |= S_IFREG; st_mode 218 source3/modules/vfs_streams_xattr.c sbuf->st_mode &= ~S_IFMT; st_mode 219 source3/modules/vfs_streams_xattr.c sbuf->st_mode |= S_IFREG; st_mode 269 source3/modules/vfs_streams_xattr.c sbuf->st_mode &= ~S_IFMT; st_mode 270 source3/modules/vfs_streams_xattr.c sbuf->st_mode |= S_IFREG; st_mode 743 source3/modules/vfs_streams_xattr.c if (!S_ISDIR(sbuf.st_mode)) { st_mode 8310 source3/param/loadparm.c if (!S_ISREG(psbuf->st_mode)) { st_mode 8318 source3/param/loadparm.c if (psbuf->st_mode & S_IWOTH) { st_mode 8489 source3/param/loadparm.c if (!S_ISDIR(sbuf.st_mode)) { st_mode 8726 source3/param/loadparm.c if (!S_ISREG(lsbuf.st_mode)) { st_mode 8757 source3/param/loadparm.c if (!S_ISDIR(sbuf.st_mode)) { st_mode 8769 source3/param/loadparm.c if (sbuf.st_uid != 0 || !(sbuf.st_mode & S_ISVTX) || (sbuf.st_mode & S_IWOTH)) { st_mode 8771 source3/param/loadparm.c if (sbuf.st_uid != 0 || (sbuf.st_mode & S_IWOTH)) { st_mode 8840 source3/param/loadparm.c if (sbuf.st_uid != 0 || !(sbuf.st_mode & S_ISVTX) || (sbuf.st_mode & S_IWOTH)) { st_mode 8842 source3/param/loadparm.c if (sbuf.st_uid != 0 || (sbuf.st_mode & S_IWOTH)) { st_mode 78 source3/printing/printfsp.c fsp->mode = psbuf->st_mode; st_mode 992 source3/smbd/dir.c if(S_ISDIR(pst->st_mode)) { st_mode 1015 source3/smbd/dir.c if (S_ISREG(pst->st_mode) || S_ISDIR(pst->st_mode) || S_ISLNK(pst->st_mode)) st_mode 37 source3/smbd/dosmode.c if (S_ISLNK(sbuf->st_mode) && S_ISDIR(sbuf->st_mode)) st_mode 91 source3/smbd/dosmode.c dir_mode = sbuf.st_mode & ~S_ISUID; st_mode 150 source3/smbd/dosmode.c if ((sbuf->st_mode & S_IWUSR) == 0) { st_mode 160 source3/smbd/dosmode.c if (MAP_ARCHIVE(conn) && ((sbuf->st_mode & S_IXUSR) != 0)) st_mode 163 source3/smbd/dosmode.c if (MAP_SYSTEM(conn) && ((sbuf->st_mode & S_IXGRP) != 0)) st_mode 166 source3/smbd/dosmode.c if (MAP_HIDDEN(conn) && ((sbuf->st_mode & S_IXOTH) != 0)) st_mode 169 source3/smbd/dosmode.c if (S_ISDIR(sbuf->st_mode)) st_mode 228 source3/smbd/dosmode.c if (S_ISDIR(sbuf->st_mode)) { st_mode 409 source3/smbd/dosmode.c if (S_ISDIR(sbuf->st_mode)) st_mode 511 source3/smbd/dosmode.c if (S_ISREG(sbuf->st_mode) && offline) { st_mode 566 source3/smbd/dosmode.c unixmode = st->st_mode; st_mode 568 source3/smbd/dosmode.c get_acl_group_bits(conn, fname, &st->st_mode); st_mode 570 source3/smbd/dosmode.c if (S_ISDIR(st->st_mode)) st_mode 593 source3/smbd/dosmode.c st->st_mode = unixmode; st_mode 608 source3/smbd/dosmode.c st->st_mode = unixmode; st_mode 620 source3/smbd/dosmode.c st->st_mode = unixmode; st_mode 642 source3/smbd/dosmode.c unixmode |= (st->st_mode & mask); st_mode 645 source3/smbd/dosmode.c if ((tmp = st->st_mode & (S_IRUSR|S_IRGRP|S_IROTH))) { st_mode 653 source3/smbd/dosmode.c unixmode |= (st->st_mode & (S_IWUSR|S_IWGRP|S_IWOTH)); st_mode 662 source3/smbd/dosmode.c st->st_mode = unixmode; st_mode 699 source3/smbd/dosmode.c st->st_mode = unixmode; st_mode 83 source3/smbd/file_access.c if (!S_ISDIR(sbuf.st_mode)) { st_mode 94 source3/smbd/file_access.c if (sbuf.st_mode & S_ISVTX) { st_mode 173 source3/smbd/file_access.c return (psbuf->st_mode & S_IRUSR) ? True : False; st_mode 176 source3/smbd/file_access.c return (psbuf->st_mode & S_IWUSR) ? True : False; st_mode 180 source3/smbd/file_access.c if ((psbuf->st_mode & (S_IWUSR|S_IRUSR)) == (S_IWUSR|S_IRUSR)) { st_mode 404 source3/smbd/filename.c if (end && !(st.st_mode & S_IFDIR)) { st_mode 446 source3/smbd/msdfs.c if (!S_ISLNK(sbufp->st_mode)) { st_mode 1214 source3/smbd/nttrans.c if (S_ISDIR(sbuf1.st_mode)) { st_mode 281 source3/smbd/open.c sbuf.st_mode != psbuf->st_mode ) { st_mode 399 source3/smbd/open.c if (file_existed && S_ISFIFO(psbuf->st_mode)) { st_mode 501 source3/smbd/open.c S_ISLNK(psbuf->st_mode)) { st_mode 546 source3/smbd/open.c if(S_ISDIR(psbuf->st_mode)) { st_mode 552 source3/smbd/open.c fsp->mode = psbuf->st_mode; st_mode 1595 source3/smbd/open.c if (S_ISDIR(psbuf->st_mode)) { st_mode 1622 source3/smbd/open.c new_dos_attributes, psbuf->st_mode, st_mode 1628 source3/smbd/open.c (unsigned int)psbuf->st_mode, st_mode 2146 source3/smbd/open.c unx_mode = tmp_sbuf.st_mode; st_mode 2317 source3/smbd/open.c if (!S_ISDIR(psbuf->st_mode)) { st_mode 2343 source3/smbd/open.c if (mode & ~(S_IRWXU|S_IRWXG|S_IRWXO) && (mode & ~psbuf->st_mode)) { st_mode 2345 source3/smbd/open.c psbuf->st_mode | (mode & ~psbuf->st_mode)); st_mode 2487 source3/smbd/open.c if(!S_ISDIR(psbuf->st_mode)) { st_mode 2536 source3/smbd/open.c fsp->mode = psbuf->st_mode; st_mode 3174 source3/smbd/open.c if (!fsp->is_directory && S_ISDIR(sbuf.st_mode)) { st_mode 1402 source3/smbd/posix_acls.c pace->perms = unix_perms_to_acl_perms(pst->st_mode, S_IRUSR, S_IWUSR, S_IXUSR); st_mode 1428 source3/smbd/posix_acls.c pace->perms = unix_perms_to_acl_perms(pst->st_mode, S_IRGRP, S_IWGRP, S_IXGRP); st_mode 1450 source3/smbd/posix_acls.c pace->perms = unix_perms_to_acl_perms(pst->st_mode, S_IROTH, S_IWOTH, S_IXOTH); st_mode 2275 source3/smbd/posix_acls.c pst->st_mode = create_default_mode(fsp, False); st_mode 2291 source3/smbd/posix_acls.c pst->st_mode = create_default_mode(fsp, True); st_mode 2489 source3/smbd/posix_acls.c S_ISDIR(psbuf->st_mode), powner, pgroup, st_mode 3098 source3/smbd/posix_acls.c if (S_ISDIR(sbuf->st_mode) && def_acl) { st_mode 3182 source3/smbd/posix_acls.c S_ISDIR(sbuf->st_mode)); st_mode 3203 source3/smbd/posix_acls.c S_ISDIR(sbuf->st_mode)); st_mode 3364 source3/smbd/posix_acls.c if(S_ISDIR(sbuf.st_mode)) { st_mode 3712 source3/smbd/posix_acls.c orig_mode = sbuf.st_mode; st_mode 3773 source3/smbd/posix_acls.c orig_mode = sbuf.st_mode; st_mode 4313 source3/smbd/posix_acls.c if (!S_ISDIR(psbuf->st_mode)) { st_mode 936 source3/smbd/reply.c if (!S_ISDIR(sbuf.st_mode)) { st_mode 2223 source3/smbd/reply.c fsp->fh->fd, (unsigned int)sbuf.st_mode ) ); st_mode 2247 source3/smbd/reply.c if (S_ISDIR(pst->st_mode)) { st_mode 3306 source3/smbd/reply.c if (!S_ISREG(sbuf.st_mode) || (startpos > sbuf.st_size) st_mode 5195 source3/smbd/reply.c if(st.st_mode & S_IFDIR) { st_mode 5230 source3/smbd/reply.c if (S_ISLNK(st.st_mode)) { st_mode 5235 source3/smbd/reply.c if (!(S_ISDIR(st.st_mode))) { st_mode 5312 source3/smbd/reply.c if(st.st_mode & S_IFDIR) { st_mode 5999 source3/smbd/reply.c if (S_ISDIR(sbuf1.st_mode)) { st_mode 6121 source3/smbd/reply.c if (S_ISDIR(sbuf1.st_mode)) { st_mode 1000 source3/smbd/service.c !S_ISDIR(st.st_mode)) { st_mode 1001 source3/smbd/service.c if (ret == 0 && !S_ISDIR(st.st_mode)) { st_mode 1137 source3/smbd/trans2.c *ret_perms = psbuf->st_mode; st_mode 1208 source3/smbd/trans2.c psbuf->st_mode = (psbuf->st_mode & 0xFFF) | S_IFDIR; st_mode 3524 source3/smbd/trans2.c DEBUG(4,("store_file_unix_basic: st_mode=%o\n",(int)psbuf->st_mode)); st_mode 3545 source3/smbd/trans2.c SIVAL(pdata,0,unix_filetype(psbuf->st_mode)); st_mode 3559 source3/smbd/trans2.c SIVAL(pdata,0, unix_perms_to_wire(psbuf->st_mode)); /* Standard UNIX file permissions */ st_mode 4608 source3/smbd/trans2.c if(!S_ISLNK(sbuf.st_mode)) { st_mode 4658 source3/smbd/trans2.c if (S_ISDIR(sbuf.st_mode)) { st_mode 4868 source3/smbd/trans2.c if (S_ISDIR(sbuf1.st_mode)) { st_mode 5022 source3/smbd/trans2.c if (S_ISDIR(psbuf->st_mode)) { st_mode 6054 source3/smbd/trans2.c if (S_ISDIR(psbuf->st_mode)) { st_mode 6132 source3/smbd/trans2.c if (S_ISLNK(psbuf->st_mode)) { st_mode 344 source3/smbd/vfs.c ret = S_ISDIR(st->st_mode); st_mode 384 source3/smbd/vfs.c return(S_ISREG(sbuf->st_mode)); st_mode 808 source3/smbd/vfs.c && (S_ISDIR(st.st_mode))) { st_mode 964 source3/smbd/vfs.c (S_ISLNK(statbuf.st_mode)) ) { st_mode 161 source3/torture/cmd_vfs.c if (S_ISREG(st.st_mode)) printf(" Regular File\n"); st_mode 162 source3/torture/cmd_vfs.c else if (S_ISDIR(st.st_mode)) printf(" Directory\n"); st_mode 163 source3/torture/cmd_vfs.c else if (S_ISCHR(st.st_mode)) printf(" Character Device\n"); st_mode 164 source3/torture/cmd_vfs.c else if (S_ISBLK(st.st_mode)) printf(" Block Device\n"); st_mode 165 source3/torture/cmd_vfs.c else if (S_ISFIFO(st.st_mode)) printf(" Fifo\n"); st_mode 166 source3/torture/cmd_vfs.c else if (S_ISLNK(st.st_mode)) printf(" Symbolic Link\n"); st_mode 167 source3/torture/cmd_vfs.c else if (S_ISSOCK(st.st_mode)) printf(" Socket\n"); st_mode 178 source3/torture/cmd_vfs.c printf(" Access: %05o", (int)((st.st_mode) & 007777)); st_mode 564 source3/torture/cmd_vfs.c if (S_ISREG(st.st_mode)) printf(" Regular File\n"); st_mode 565 source3/torture/cmd_vfs.c else if (S_ISDIR(st.st_mode)) printf(" Directory\n"); st_mode 566 source3/torture/cmd_vfs.c else if (S_ISCHR(st.st_mode)) printf(" Character Device\n"); st_mode 567 source3/torture/cmd_vfs.c else if (S_ISBLK(st.st_mode)) printf(" Block Device\n"); st_mode 568 source3/torture/cmd_vfs.c else if (S_ISFIFO(st.st_mode)) printf(" Fifo\n"); st_mode 569 source3/torture/cmd_vfs.c else if (S_ISLNK(st.st_mode)) printf(" Symbolic Link\n"); st_mode 570 source3/torture/cmd_vfs.c else if (S_ISSOCK(st.st_mode)) printf(" Socket\n"); st_mode 581 source3/torture/cmd_vfs.c printf(" Access: %05o", (int)((st.st_mode) & 007777)); st_mode 630 source3/torture/cmd_vfs.c if (S_ISREG(st.st_mode)) printf(" Regular File\n"); st_mode 631 source3/torture/cmd_vfs.c else if (S_ISDIR(st.st_mode)) printf(" Directory\n"); st_mode 632 source3/torture/cmd_vfs.c else if (S_ISCHR(st.st_mode)) printf(" Character Device\n"); st_mode 633 source3/torture/cmd_vfs.c else if (S_ISBLK(st.st_mode)) printf(" Block Device\n"); st_mode 634 source3/torture/cmd_vfs.c else if (S_ISFIFO(st.st_mode)) printf(" Fifo\n"); st_mode 635 source3/torture/cmd_vfs.c else if (S_ISLNK(st.st_mode)) printf(" Symbolic Link\n"); st_mode 636 source3/torture/cmd_vfs.c else if (S_ISSOCK(st.st_mode)) printf(" Socket\n"); st_mode 647 source3/torture/cmd_vfs.c printf(" Access: %05o", (int)((st.st_mode) & 007777)); st_mode 684 source3/torture/cmd_vfs.c if (S_ISREG(st.st_mode)) printf(" Regular File\n"); st_mode 685 source3/torture/cmd_vfs.c else if (S_ISDIR(st.st_mode)) printf(" Directory\n"); st_mode 686 source3/torture/cmd_vfs.c else if (S_ISCHR(st.st_mode)) printf(" Character Device\n"); st_mode 687 source3/torture/cmd_vfs.c else if (S_ISBLK(st.st_mode)) printf(" Block Device\n"); st_mode 688 source3/torture/cmd_vfs.c else if (S_ISFIFO(st.st_mode)) printf(" Fifo\n"); st_mode 689 source3/torture/cmd_vfs.c else if (S_ISLNK(st.st_mode)) printf(" Symbolic Link\n"); st_mode 690 source3/torture/cmd_vfs.c else if (S_ISSOCK(st.st_mode)) printf(" Socket\n"); st_mode 701 source3/torture/cmd_vfs.c printf(" Access: %05o", (int)((st.st_mode) & 007777)); st_mode 665 source3/utils/net_conf.c if (!S_ISDIR(sbuf.st_mode)) { st_mode 253 source3/utils/net_usershare.c if (!S_ISREG(sbuf.st_mode)) { st_mode 367 source3/utils/net_usershare.c if (!S_ISREG(sbuf.st_mode)) { st_mode 577 source3/utils/net_usershare.c if (!S_ISREG(sbuf.st_mode)) { st_mode 741 source3/utils/net_usershare.c if (!S_ISDIR(sbuf.st_mode)) { st_mode 890 source3/utils/net_usershare.c if (!S_ISREG(sbuf.st_mode) || sbuf.st_dev != lsbuf.st_dev || sbuf.st_ino != lsbuf.st_ino) { st_mode 196 source3/utils/smbget.c if(chmod(relname, remotestat.st_mode) < 0) { st_mode 198 source3/utils/smbget.c (unsigned int)remotestat.st_mode); st_mode 474 source3/utils/smbget.c if(fchmod(localhandle, remotestat.st_mode) < 0) { st_mode 476 source3/utils/smbget.c (unsigned int)remotestat.st_mode); st_mode 63 source3/utils/testparm.c } else if ((st.st_mode & 0777) != 0755) { st_mode 73 source3/utils/testparm.c } else if ((st.st_mode & 0777) != 0755) { st_mode 83 source3/utils/testparm.c } else if ((st.st_mode & 0777) != 0755) { st_mode 451 source3/web/cgi.c if (S_ISDIR(st.st_mode)) st_mode 454 source3/web/cgi.c if (!file_exist_stat(buf, &st) || !S_ISREG(st.st_mode)) st_mode 460 source3/web/cgi.c else if (S_ISREG(st.st_mode)) st_mode 472 source3/web/swat.c (st.st_mode & S_IWOTH)) { st_mode 1365 source4/client/client.c if (S_ISDIR(statbuf.st_mode)) { st_mode 453 source4/client/mount.cifs.c if (S_ISDIR(statbuf.st_mode) == 0) { st_mode 124 source4/client/smbmnt.c if (!S_ISDIR(st.st_mode)) { st_mode 131 source4/client/smbmnt.c ((st.st_mode & S_IRWXU) != S_IRWXU))) { st_mode 269 source4/client/tree.c (st1.st_mode&S_IRUSR?'r':'-'), st_mode 270 source4/client/tree.c (st1.st_mode&S_IWUSR?'w':'-'), st_mode 271 source4/client/tree.c (st1.st_mode&S_IXUSR?'x':'-'), st_mode 272 source4/client/tree.c (st1.st_mode&S_IRGRP?'r':'-'), st_mode 273 source4/client/tree.c (st1.st_mode&S_IWGRP?'w':'-'), st_mode 274 source4/client/tree.c (st1.st_mode&S_IXGRP?'x':'-'), st_mode 275 source4/client/tree.c (st1.st_mode&S_IROTH?'r':'-'), st_mode 276 source4/client/tree.c (st1.st_mode&S_IWOTH?'w':'-'), st_mode 277 source4/client/tree.c (st1.st_mode&S_IXOTH?'x':'-'), st_mode 278 source4/client/tree.c st1.st_mode); st_mode 74 source4/heimdal/lib/hx509/ks_dir.c if ((sb.st_mode & S_IFDIR) == 0) { st_mode 170 source4/heimdal/lib/krb5/v4_glue.c if (fstat(fd, &sb) != 0 || !S_ISREG(sb.st_mode)) { st_mode 84 source4/lib/registry/dir.c if (!S_ISDIR(stbuf.st_mode)) { st_mode 179 source4/lib/registry/dir.c if (!S_ISDIR(stbuf.st_mode)) { st_mode 280 source4/lib/registry/dir.c if (S_ISDIR(st.st_mode)) { st_mode 287 source4/lib/registry/dir.c if (!S_ISDIR(st.st_mode)) { st_mode 66 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c if (stat(p->connectpath, &st) != 0 || !S_ISDIR(st.st_mode)) { st_mode 157 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c if (!S_ISDIR(st.st_mode)) { st_mode 206 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c info->generic.out.attrib = cifspsx_unix_to_dos_attrib(st->st_mode); st_mode 209 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c info->generic.out.directory = S_ISDIR(st->st_mode) ? 1 : 0; st_mode 411 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c io->generic.out.attrib = cifspsx_unix_to_dos_attrib(st.st_mode); st_mode 412 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c io->generic.out.is_directory = S_ISDIR(st.st_mode) ? 1 : 0; st_mode 877 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c file.both_directory_info.attrib = cifspsx_unix_to_dos_attrib(dir->files[i].st.st_mode); st_mode 972 source4/ntvfs/cifs_posix_cli/vfs_cifs_posix.c file.both_directory_info.attrib = cifspsx_unix_to_dos_attrib(dir->files[i].st.st_mode); st_mode 189 source4/ntvfs/posix/pvfs_acl.c mode = name->st.st_mode; st_mode 32 source4/ntvfs/posix/pvfs_fileinfo.c if ((st->st_mode & S_IWUSR) == 0) st_mode 35 source4/ntvfs/posix/pvfs_fileinfo.c if ((pvfs->flags & PVFS_FLAG_MAP_ARCHIVE) && ((st->st_mode & S_IXUSR) != 0)) st_mode 38 source4/ntvfs/posix/pvfs_fileinfo.c if ((pvfs->flags & PVFS_FLAG_MAP_SYSTEM) && ((st->st_mode & S_IXGRP) != 0)) st_mode 41 source4/ntvfs/posix/pvfs_fileinfo.c if ((pvfs->flags & PVFS_FLAG_MAP_HIDDEN) && ((st->st_mode & S_IXOTH) != 0)) st_mode 44 source4/ntvfs/posix/pvfs_fileinfo.c if (S_ISDIR(st->st_mode)) st_mode 63 source4/ntvfs/posix/pvfs_fileinfo.c if (S_ISDIR(name->st.st_mode)) { st_mode 121 source4/ntvfs/posix/pvfs_resolve.c if (i<num_components-1 && !S_ISDIR(name->st.st_mode)) { st_mode 152 source4/ntvfs/posix/pvfs_util.c name2->st.st_mode = mode; st_mode 197 source4/ntvfs/posix/pvfs_xattr.c name->st.st_mode); st_mode 219 source4/ntvfs/posix/pvfs_xattr.c name->st.st_mode); st_mode 263 source4/ntvfs/posix/pvfs_xattr.c name->dos.attrib = pvfs_attrib_normalise(name->dos.attrib, name->st.st_mode); st_mode 200 source4/ntvfs/posix/vfs_posix.c if (stat(pvfs->base_directory, &st) != 0 || !S_ISDIR(st.st_mode)) { st_mode 290 source4/ntvfs/posix/vfs_posix.c if (!S_ISDIR(name->st.st_mode)) { st_mode 70 source4/ntvfs/posix/xattr_system.c if (S_ISDIR(statbuf.st_mode) && (statbuf.st_mode & S_ISVTX)) { st_mode 65 source4/ntvfs/simple/vfs_simple.c if (stat(p->connectpath, &st) != 0 || !S_ISDIR(st.st_mode)) { st_mode 154 source4/ntvfs/simple/vfs_simple.c if (!S_ISDIR(st.st_mode)) { st_mode 203 source4/ntvfs/simple/vfs_simple.c info->generic.out.attrib = svfs_unix_to_dos_attrib(st->st_mode); st_mode 206 source4/ntvfs/simple/vfs_simple.c info->generic.out.directory = S_ISDIR(st->st_mode) ? 1 : 0; st_mode 408 source4/ntvfs/simple/vfs_simple.c io->generic.out.attrib = svfs_unix_to_dos_attrib(st.st_mode); st_mode 409 source4/ntvfs/simple/vfs_simple.c io->generic.out.is_directory = S_ISDIR(st.st_mode) ? 1 : 0; st_mode 874 source4/ntvfs/simple/vfs_simple.c file.both_directory_info.attrib = svfs_unix_to_dos_attrib(dir->files[i].st.st_mode); st_mode 969 source4/ntvfs/simple/vfs_simple.c file.both_directory_info.attrib = svfs_unix_to_dos_attrib(dir->files[i].st.st_mode); st_mode 67 source4/smbd/server.c if (S_ISDIR(st.st_mode)) {