Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for FILE_SHARE_WRITE (0.23 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;
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7K bytes
    - Viewed (0)
  2. 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
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.9K bytes
    - Viewed (0)
  3. 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,
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  4. 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;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  5. 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;
        /**
         * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 01 09:52:11 GMT 2019
    - 14.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
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  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 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 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.
     * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 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
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
  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
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
Back to top