Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for FILE_WRITE_ATTRIBUTES (0.11 sec)

  1. src/test/java/jcifs/ACETest.java

                assertEquals(0x00000080, ACE.FILE_READ_ATTRIBUTES, "FILE_READ_ATTRIBUTES should be 0x00000080");
                assertEquals(0x00000100, ACE.FILE_WRITE_ATTRIBUTES, "FILE_WRITE_ATTRIBUTES should be 0x00000100");
            }
    
            @Test
            @DisplayName("Should have correct values for standard access rights")
            void shouldHaveCorrectStandardAccessRights() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbCopyUtil.java

            try {
                return dest.openUnshared(SmbConstants.O_CREAT | SmbConstants.O_WRONLY | SmbConstants.O_TRUNC,
                        SmbConstants.FILE_WRITE_DATA | SmbConstants.FILE_WRITE_ATTRIBUTES | (alsoRead ? SmbConstants.FILE_READ_DATA : 0),
                        SmbConstants.FILE_NO_SHARE, attrs, 0);
            } catch (final SmbAuthException sae) {
                log.trace("copyTo0", sae);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ACE.java

        /**
         * Permission to read file attributes
         */
        int FILE_READ_ATTRIBUTES = 0x00000080; // 8
        /**
         * Permission to write file attributes
         */
        int FILE_WRITE_ATTRIBUTES = 0x00000100; // 9
        /**
         * Standard delete permission
         */
        int DELETE = 0x00010000; // 16
        /**
         * Permission to read the security descriptor
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        int FILE_DELETE = 0x00000040; // 7
        /** File read attributes access right */
        int FILE_READ_ATTRIBUTES = 0x00000080; // 8
        /** File write attributes access right */
        int FILE_WRITE_ATTRIBUTES = 0x00000100; // 9
        /** Delete access right */
        int DELETE = 0x00010000; // 16
        /** Read control access right */
        int READ_CONTROL = 0x00020000; // 17
        /** Write DAC access right */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbConstantsTest.java

            assertEquals(0x00000040, SmbConstants.FILE_DELETE);
            assertEquals(0x00000080, SmbConstants.FILE_READ_ATTRIBUTES);
            assertEquals(0x00000100, SmbConstants.FILE_WRITE_ATTRIBUTES);
            assertEquals(0x00010000, SmbConstants.DELETE);
            assertEquals(0x00020000, SmbConstants.READ_CONTROL);
            assertEquals(0x00040000, SmbConstants.WRITE_DAC);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/ACE.java

        /** Permission to read file attributes */
        public static final int FILE_READ_ATTRIBUTES = 0x00000080; // 8
        /** Permission to write file attributes */
        public static final int FILE_WRITE_ATTRIBUTES = 0x00000100; // 9
        /** Standard delete permission */
        public static final int DELETE = 0x00010000; // 16
        /** Permission to read the security descriptor */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbConstants.java

        /**
         * Permission to read file attributes.
         */
        int FILE_READ_ATTRIBUTES = 0x00000080; // 8
        /**
         * Permission to write file attributes.
         */
        int FILE_WRITE_ATTRIBUTES = 0x00000100; // 9
        /**
         * Permission to delete the object.
         */
        int DELETE = 0x00010000; // 16
        /**
         * Permission to read the security descriptor.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFile.java

                    withOpen(th, Smb2CreateRequest.FILE_OPEN, FILE_WRITE_ATTRIBUTES, FILE_SHARE_READ | FILE_SHARE_WRITE, req);
                } else if (th.hasCapability(SmbConstants.CAP_NT_SMBS)) {
    
                    try (SmbFileHandleImpl f = openUnshared(O_RDONLY, FILE_WRITE_ATTRIBUTES, FILE_SHARE_READ | FILE_SHARE_WRITE, dir,
                            dir != 0 ? 0x0001 : 0x0040)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFile.java

                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)
Back to top