Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for FILE_WRITE_DATA (0.17 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        int ATTR_TEMPORARY = 0x100;
    
        // access mask encoding
        /** File read data access right */
        int FILE_READ_DATA = 0x00000001; // 1
        /** File write data access right */
        int FILE_WRITE_DATA = 0x00000002; // 2
        /** File append data access right */
        int FILE_APPEND_DATA = 0x00000004; // 3
        /** File read extended attributes access right */
        int FILE_READ_EA = 0x00000008; // 4
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/dtyp/ACETest.java

        }
    
        @ParameterizedTest
        @DisplayName("Test various access mask values")
        @ValueSource(ints = { 0x00000001, // FILE_READ_DATA
                0x00000002, // FILE_WRITE_DATA
                0x00000004, // FILE_APPEND_DATA
                0x00010000, // DELETE
                0x00020000, // READ_CONTROL
                0x00040000, // WRITE_DAC
                0x00080000, // WRITE_OWNER
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbConstants.java

        // access mask encoding
        /**
         * Permission to read data from the file.
         */
        int FILE_READ_DATA = 0x00000001; // 1
        /**
         * Permission to write data to the file.
         */
        int FILE_WRITE_DATA = 0x00000002; // 2
        /**
         * Permission to append data to the file.
         */
        int FILE_APPEND_DATA = 0x00000004; // 3
        /**
         * Permission to read extended attributes.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                    this.write_andx_resp = new SmbComWriteAndXResponse(th.getConfig());
                    this.options = WRITE_OPTIONS;
                    this.access = SmbConstants.FILE_READ_DATA | SmbConstants.FILE_WRITE_DATA;
                } else {
                    throw new IllegalArgumentException("Invalid mode");
                }
    
                try (SmbFileHandle h = ensureOpen()) {}
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFileOutputStream.java

                throws SmbException {
            this.file = file;
            this.append = append;
            this.openFlags = openFlags;
            this.sharing = sharing;
            this.access = access | SmbConstants.FILE_WRITE_DATA;
    
            try (SmbTreeHandleImpl th = file.ensureTreeConnected()) {
                this.smb2 = th.isSMB2();
                try (SmbFileHandleImpl fh = ensureOpen()) {
                    if (append) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

                long off;
    
                try {
                    open(SmbFile.O_RDONLY, 0, ATTR_NORMAL, 0);
                    try {
                        dest.open(SmbFile.O_CREAT | SmbFile.O_WRONLY | SmbFile.O_TRUNC, FILE_WRITE_DATA | FILE_WRITE_ATTRIBUTES, attributes, 0);
                    } catch (final SmbAuthException sae) {
                        if ((dest.attributes & ATTR_READONLY) == 0) {
                            throw sae;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFile.java

            // Check for delete access separately as it may require special handling
            final boolean hasDeleteAccess = (access & DELETE) != 0;
            final boolean hasWriteAccess =
                    (access & (GENERIC_WRITE | FILE_WRITE_DATA | FILE_APPEND_DATA | FILE_WRITE_ATTRIBUTES | FILE_WRITE_EA)) != 0;
            final boolean hasReadAccess = (access & (GENERIC_READ | FILE_READ_DATA | FILE_READ_ATTRIBUTES | FILE_READ_EA)) != 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top