Displaying 20 results from an estimated 4000 matches similar to: "[Announce] Samba 4.13.1, 4.12.9 and 4.11.15 Security Releases Available"
2005 Jan 06
0
Some thoughts on win32-changenotify
Hi all,
As things stand now, you can do something like this with
win32-changenotify:
require "win32/changenotify"
include Win32
filter = ChangeNotify::FILE_NAME | ChangeNotify::DIR_NAME |
ChangeNotify::LAST_WRITE
cn = ChangeNotify.new("c:\\",false,filter){
puts "Something changed"
}
cn.wait
You can pass a block that''s executed when a change occurs, but
2008 Aug 14
1
Security leak in map_nt_perms?
In map_nt_perms any of FILE_READ_DATA, FILE_READ_EA or
FILE_READ_ATTRIBUTES is mapped unconditionally to Unix read permission
and similarly for write permission
This means that if I put a file on a samba share where I explicitly left
*only* FILE_READ_ATTRIBUTES and FILE_READ_EA the file content becomes
hiddenly readable also if I decided (for very good reasons) otherwise.
I'd say that when a
2002 Sep 24
0
Changing file permissions from the command line
Hi,
I run Samba 2.2.3a (Solaris 7) in domain authentication mode in a Windows
2000 domain. I would like to be able to script file permissions changes from
the Windows side using a command line utility, e.g. cacls, however I have
only been successful in changing the UNIX world permisssions, not owner and
group. A summary follows. Has anyone come across a solution for this?
Thanks,
Fintan
---
2007 Aug 06
0
win32-changenotify and events
Hi all,
I''ve made some changes to the way that events are handled in
win32-changenotify, and I wanted to verify that they were both
appropriate and sensical.
First, win32-changenotify now requires win32-event. In the constructor,
if an event isn''t explicitly passed, a new Win32::Event object is
created (instead of calling CreateEvent directly).
Then, in the
2006 Dec 21
0
Curious win32-changenotify behavior - numbers instead of names
Hi all,
Ruby 1.8.5
win32-ipc 0.4.2 (or 0.5.0 in cvs)
win32-changenotify 0.4.2
I noticed something strange tonight while tinkering with
win32-changenotify. Here''s my sample script:
# cntest.rb
require ''win32/changenotify''
include Win32
path = "C:\\test"
filter = ChangeNotify::FILE_NAME | ChangeNotify::DIR_NAME
cn = ChangeNotify.new(path, true, filter)
2007 Aug 04
10
Need some help with pure Ruby win32-changenotify
Hi all,
I know it''s deprecated, but people seem to still be using
win32-changenotify, so I thought I''d see if I could make it pure Ruby.
Also, I thought it would be a good opportunity to test passing a custom
Win32::Event object.
I''m mostly done I think, but I''m having trouble unraveling the
FILE_NOTIFY_INFORMATION struct buffer. Please check out the
2006 Nov 17
2
[ win32utils-Bugs-6722 ] win32-changenotify fails on Ruby 1.8.4
Bugs item #6722, was opened at 2006-11-17 05:17
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=6722&group_id=85
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: win32-changenotify fails on Ruby 1.8.4
Initial Comment:
throws an exception when loading, roughly
2005 Jan 20
1
ChangeNotify help wanted
Hi all,
I''ve checked in some code to win32-changenotify. Unfortunately, it
doesn''t work right. I need some help. I don''t understand what,
exactly, I''m supposed to pass to ReadDirectoryChangesW() for the 2nd
argument, nor how to read the data back out.
There''s also a WCHAR issue that needs to be worked out with regards to
the FileName
2003 Sep 24
0
CreateFile for EXE images vs other files
This question isn't directly Samba related, but Samba has helped me figure out part of the problem. When I CreateFile on an existing file like so:
CreateFile(FileName, GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_DELETE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
Samba shows that I have the file opened with this type of lock
DENY_NONE 0x20089 RDONLY
When the file is locked in
2005 Jan 25
3
Change Journals
Hi,
I''ve released win32-changenotify 0.3.0 today. Take a look.
Park and I have discussed a Ruby interface to change journals a little bit:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/creating_modifying_and_deleting_a_change_journal.asp
Park, would you like to do this, or did you want me to? I wasn''t sure from
your RubyForge post.
Also, do
1999 Jan 20
1
JBuilder Reload buffers? confusion (any update?) (PR#12876)
aideen@persimmon.co.uk wrote:
>
> Hi,
>
> We've got some Java projects that are being developed on both Unix and
> NT and we're struggling with JBuilder 2.0 and its "File has been
> externally updated, reload buffers?" messages. Has anyone found a fix?
> Is it a bug in JBuilder? i.e should I save my hair and not spend any
> more time investigating/trying
2001 Oct 23
1
samba NT ACL support problem?
Recently, a problem developed in storing IE5's Temporary Internet
Files on our samba exported network scratch space. In tracking it down, I
found that the Win2k client attempts to set the ACL of the file
"Content.IE5/index.dat". However, the this call ends up setting the mode
of index.dat to 0407 (-r-----rwx), thus making the file unmodifiable to
the user who created it. (This in
2015 Feb 02
0
NT_STATUS_ACCESS_DENIED (I can write and read, but not replace)
I need help interpeting this issue, thanks in advance.
A file was created by user nli on windows 7, that user can manipulate the file at will.
If user jpyeron tries to manipulate the file on XPx64 the below happens.
# smbd -V
Version 3.0.33-3.40.el5_10
[2015/02/02 18:34:15, 8] smbd/dosmode.c:dos_mode_from_sbuf(188)
dos_mode_from_sbuf returning
[2015/02/02 18:34:15, 8]
2005 Apr 21
3
win32-changejournal modification
Hi all,
Should we make the same change for win32-changejournal
that we made for win32-changenotify (i.e yield an
array of structs rather than a single struct)?
Any objections?
Dan
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
2007 Aug 09
0
win32-changenotify 0.5.0 nearing release
Hi all,
I made some minor final changes to the win32-changenotify code (added
accessors I forgot, updated the test suite, explicit type checking in
the constructor, etc).
The only somewhat major change that I made is that I now have the
constructor yield/close if a block is given. Unless anyone objects to
that, it''s going into 0.5.0.
Otherwise, I''ll put 0.5.0 out tonight.
2005 Feb 04
0
RE: Bug fix
> -----Original Message-----
> From: CT [mailto:demerzel@gmail.com]
> Sent: Friday, February 04, 2005 3:42 PM
> To: Berger, Daniel
> Subject: Re: Bug fix
> Okay, I tried 0.3.1, and the wait call blocks till a change
> occurs. So it''s working:)
>
> But I would still need a loop to get a daemon-like behaviour,
> since the wait terminates when a change
2016 Jan 30
0
Fwd: Change notify/Directory enumeration issue with two MAC OS X El Capitan accessing same folder
Thanks Jeremy/Ralph, for the quick response. Please see my in-line answers
On Sat, Jan 30, 2016 at 1:13 AM, Ralph Boehme <rb at sernet.de> wrote:
> Hi!
>
> On Sat, Jan 30, 2016 at 08:49:59AM +0100, Jeremy Allison wrote:
> > On Fri, Jan 29, 2016 at 05:28:22PM -0800, Partha Sarathi wrote:
> > > Hi Folks,
> > >
> > > We are seeing an issues where two
2007 Aug 08
12
Some more win32-changenotify analysis
Hi all,
I decided to check the responsiveness of the pure Ruby vs C extension
versions of win32-changenotify. I setup this little file generator program:
a = []
10.times{ |n|
a << Thread.new{
File.open("File_#{n}", ''w''){ |fh| fh.puts "test #{n}" }
}
}
a.each{ |t| t.join }
The pure Ruby version did not do so well. In some cases it
2004 May 07
2
New packages?
Hi,
I should have win32-changenotify and win32-semaphore out this weekend at
some point. Then, the next version of win32-file. And after that? I don''t
know.
What do you think we should tackle next? What interests you? Different
mutex flavors? IE controllers? Exchange interfaces? I think we should
probably look a little more at what Python has going forward, too.
Just a
2005 Feb 04
7
FW: Bug fix
Forwarded, because I don''t think he''s subscribed and I''m not getting an
email notification in my Yahoo account.
Dan
-----Original Message-----
From: CT [mailto:demerzel@gmail.com]
Sent: Friday, February 04, 2005 4:17 PM
To: Berger, Daniel
Cc: win32utils-devel@rubyforge.org
Subject: Re: Bug fix
On Fri, 4 Feb 2005 16:53:17 -0600, Berger, Daniel