Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for FILE_SHARE_WRITE (0.17 sec)

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

                this.desiredAccess |= SHARING_DENY_NONE;
            }
            else if ( shareAccess == SmbConstants.FILE_NO_SHARE ) {
                this.desiredAccess |= SHARING_DENY_READ_WRITE_EXECUTE;
            }
            else if ( ( shareAccess & SmbConstants.FILE_SHARE_WRITE ) == 0 ) {
                this.desiredAccess |= SHARING_DENY_WRITE;
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/OplockTests.java

                else if ( trans.hasCapability(SmbConstants.CAP_NT_SMBS) ) {
                    int flags = SmbConstants.O_CREAT;
                    int sharing = SmbConstants.FILE_SHARE_DELETE | SmbConstants.FILE_SHARE_READ | SmbConstants.FILE_SHARE_WRITE;
                    int access = SmbConstants.FILE_READ_DATA | SmbConstants.FILE_READ_ATTRIBUTES | SmbConstants.FILE_WRITE_ATTRIBUTES
                            | SmbConstants.FILE_WRITE_DATA;
                    int attrs = 0;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        public static final int SMB2_IMPERSONATION_LEVEL_DELEGATE = 0x3;
    
        /**
         * 
         */
        public static final int FILE_SHARE_READ = 0x1;
    
        /**
         * 
         */
        public static final int FILE_SHARE_WRITE = 0x2;
    
        /**
         * 
         */
        public static final int FILE_SHARE_DELETE = 0x4;
    
        /**
         * 
         */
        public static final int FILE_SUPERSEDE = 0x0;
        /**
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 01 09:52:11 UTC 2019
    - 14.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbConstants.java

         * other SMB clients will be permitted to write to the target file while
         * this file is open. This constant may be logically OR'd with other share
         * access flags.
         */
        static final int FILE_SHARE_WRITE = 0x02;
        /**
         * When specified as the <tt>shareAccess</tt> constructor parameter,
         * other SMB clients will be permitted to delete the target file while
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFile.java

                }
                else if ( th.hasCapability(SmbConstants.CAP_NT_SMBS) ) {
    
                    try ( SmbFileHandleImpl f = openUnshared(
                        O_RDONLY,
                        FILE_WRITE_ATTRIBUTES,
                        FILE_SHARE_READ | FILE_SHARE_WRITE,
                        dir,
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * other SMB clients will be permitted to write to the target file while
     * this file is open. This constant may be logically OR'd with other share
     * access flags.
     */
        public static final int FILE_SHARE_WRITE  = 0x02;
    /**
     * When specified as the <tt>shareAccess</tt> constructor parameter,
     * other SMB clients will be permitted to delete the target file while
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  7. internal/lock/lock_windows.go

    	switch {
    	case flag&syscall.O_CREAT == syscall.O_CREAT:
    		createflag = syscall.OPEN_ALWAYS
    	default:
    		createflag = syscall.OPEN_EXISTING
    	}
    
    	shareflag := uint32(syscall.FILE_SHARE_READ | syscall.FILE_SHARE_WRITE | syscall.FILE_SHARE_DELETE)
    	accessAttr := uint32(syscall.FILE_ATTRIBUTE_NORMAL | 0x80000000)
    
    	fd, err := syscall.CreateFile(pathp, access, shareflag, nil, createflag, accessAttr, 0)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

    have exclusive access to the file. An additional open command
    from jCIFS or another application will fail with the "file is being
    accessed by another process" error. The <code>FILE_SHARE_READ</code>,
    <code>FILE_SHARE_WRITE</code>, and <code>FILE_SHARE_DELETE</code> may be
    combined with the bitwise OR '|' to specify that other peocesses may read,
    write, and/or delete the file while the jCIFS user has the file open.
     * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 9.2K bytes
    - Viewed (0)
  9. api/go1.txt

    pkg syscall (windows-386), const FILE_NOTIFY_CHANGE_SIZE ideal-int
    pkg syscall (windows-386), const FILE_SHARE_DELETE ideal-int
    pkg syscall (windows-386), const FILE_SHARE_READ ideal-int
    pkg syscall (windows-386), const FILE_SHARE_WRITE ideal-int
    pkg syscall (windows-386), const FILE_TYPE_CHAR ideal-int
    pkg syscall (windows-386), const FILE_TYPE_DISK ideal-int
    pkg syscall (windows-386), const FILE_TYPE_PIPE ideal-int
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  10. api/go1.1.txt

    pkg syscall (windows-386), const FILE_NOTIFY_CHANGE_SIZE = 8
    pkg syscall (windows-386), const FILE_SHARE_DELETE = 4
    pkg syscall (windows-386), const FILE_SHARE_READ = 1
    pkg syscall (windows-386), const FILE_SHARE_WRITE = 2
    pkg syscall (windows-386), const FILE_TYPE_CHAR = 2
    pkg syscall (windows-386), const FILE_TYPE_DISK = 1
    pkg syscall (windows-386), const FILE_TYPE_PIPE = 3
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top