Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for GENERIC_READ (0.04 sec)

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

            if (desiredAccess == 0x3) {
                desiredAccess = 0x2; /* Mmm, I thought 0x03 was RDWR */
            }
            desiredAccess |= SHARING_DENY_NONE;
            desiredAccess &= ~0x1; // Win98 doesn't like GENERIC_READ ?! -- get Access Denied.
    
            // searchAttributes
            searchAttributes = ATTR_DIRECTORY | ATTR_HIDDEN | ATTR_SYSTEM;
    
            // fileAttributes
            fileAttributes = 0;
    
            // openFunction
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java

    /**
     * Tests for the SmbComOpenAndX class.
     */
    class SmbComOpenAndXTest {
    
        private SmbComOpenAndX smbComOpenAndX;
        private final String fileName = "testFile.txt";
        private final int access = SmbFile.GENERIC_READ | SmbFile.GENERIC_WRITE;
        private ServerMessageBlock andx;
    
        /**
         * Sets up the test environment before each test.
         */
        @BeforeEach
        void setUp() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

            } else {
                // neither SHARE_READ nor SHARE_WRITE are set
                this.desiredAccess |= SHARING_DENY_READ_WRITE_EXECUTE;
            }
    
            this.desiredAccess &= ~0x1; // Win98 doesn't like GENERIC_READ ?! -- get Access Denied.
    
            // searchAttributes
            this.searchAttributes = SmbConstants.ATTR_DIRECTORY | SmbConstants.ATTR_HIDDEN | SmbConstants.ATTR_SYSTEM;
    
            // openFunction
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ACE.java

         */
        int GENERIC_EXECUTE = 0x20000000; // 29
        /**
         * Generic write permission
         */
        int GENERIC_WRITE = 0x40000000; // 30
        /**
         * Generic read permission
         */
        int GENERIC_READ = 0x80000000; // 31
    
        /**
         * Inheritance flag: child objects inherit this ACE
         */
        int FLAGS_OBJECT_INHERIT = 0x01;
        /**
         * Inheritance flag: child containers inherit this ACE
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/ACE.java

        public static final int GENERIC_EXECUTE = 0x20000000; // 29
        /** Generic write permission */
        public static final int GENERIC_WRITE = 0x40000000; // 30
        /** Generic read permission */
        public static final int GENERIC_READ = 0x80000000; // 31
    
        /** Inheritance flag: child objects inherit this ACE */
        public static final int FLAGS_OBJECT_INHERIT = 0x01;
        /** Inheritance flag: child containers inherit this ACE */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
Back to top