search for: scan_directory

Displaying 7 results from an estimated 7 matches for "scan_directory".

2006 Mar 13
6
lame newbie question: how to pass instance variables
...t method, but instead of getting it''s data from the db, gets it from that scan method - because it only lists newly found pictures. At least that''s the plan. How do I pass the array found in the first action to the second one. So in the action we have something like this: def scan_directory # new_pics is an instance variable I''m creating here - I want # to access it in my other action to get only the new pictures. # There''s nothing in the database record to indicate what''s new, it''s # just a question of which new pics I found when ca...
2007 Dec 12
0
samba 3.0.26a and dropboxes
...et.jpg" [2007/12/12 14:40:32, 5] smbd/filename.c:unix_convert(246) unix_convert begin: name = a-advb/Sunset.jpg, dirpath = a-advb, start = Sunset.jpg [2007/12/12 14:40:32, 5] smbd/dir.c:OpenDir(1079) OpenDir: Can't open a-advb. Permission denied [2007/12/12 14:40:32, 3] smbd/filename.c:scan_directory(586) scan dir didn't open dir [a-advb] [2007/12/12 14:40:32, 3] smbd/error.c:error_packet_set(106) error packet at smbd/trans2.c(3273) cmd=50 (SMBtrans2) NT_STATUS_ACCESS_DENIED where a-avdb is the directory of the dropbox of the group a-avdb and Sunset.jpg is the name of the file we tried...
2006 Mar 28
1
Simple Sidebar Solutions: How does yours work?
...ing. Here''s the code that''s in my sidebar now. <div id="sidebar"> <div id="controls" class="sidebar-node"> <h3>Pictures</h3> <ul> <li><%= link_to "Refresh Pictures", { :action => ''scan_directory''}, :confirm => "Are you sure?"%> <li><%= link_to "All Pictures", { :action => ''list'' } %> </ul> </div><!-- #sidebar --> Now lets say I want to take out those 2 links and specifying them from, say, my lis...
2008 Aug 20
6
Too many opened files....samba 3.0.28a
...y 3.0.28a server. They do not have this problem on a native w2003 file server with the same amount of data. [2008/08/20 13:25:14, 5] smbd/dir.c:OpenDir(1079) OpenDir: Can't open DowningShotgun/DowningTest/DowningTest.files/sample. Too many open files [2008/08/20 13:25:14, 3] smbd/filename.c:scan_directory(586) scan dir didn't open dir [DowningShotgun/DowningTest/DowningTest.files/sample] [2008/08/20 13:25:14, 3] smbd/error.c:error_packet_set(106) error packet at smbd/nttrans.c(649) cmd=162 (SMBntcreateX) NT_STATUS_TOO_MANY_OPENED_FILES I adjusted the "max open files" parameter in...
2002 May 09
2
Trouble with banking software on Samba share
.../PREMIER/PRM1101.EXE/2] [2002/05/08 16:33:59, 5] smbd/mangle.c:is_8_3(341) Checking 2 for 8.3 [2002/05/08 16:33:59, 5] smbd/filename.c:unix_convert(224) unix_convert begin: name = ITI/Premier/prm1101.exe/2, dirpath = ITI/Premier/prm1101.exe, start = 2 [2002/05/08 16:33:59, 3] smbd/filename.c:scan_directory(495) scan dir didn't open dir [ITI/Premier/prm1101.exe] [2002/05/08 16:33:59, 5] smbd/filename.c:unix_convert(354) New file 2 [2002/05/08 16:33:59, 3] smbd/dosmode.c:unix_mode(111) unix_mode(ITI/Premier/prm1101.exe/2) returning 0766 [2002/05/08 16:33:59, 5] smbd/files.c:file_new(120)...
2008 Mar 08
0
Urgent:NT_STATUS_OBJECT_PATH_NOT_FOUND Error
...1, 3] smbd/msdfs.c:dfs_redirect(435) dfs_redirect: Not redirecting para8/ccstg/vobs/New Text Document.txt /view.dat. [2008/03/08 14:17:51, 3] smbd/msdfs.c:dfs_redirect(439) dfs_redirect: Path converted to non-dfs path vobs/New Text Document.txt /view.dat [2008/03/08 14:17:51, 3] smbd/filename.c:scan_directory(474) scan dir didn't open dir [vobs/New Text Document.txt] [2008/03/08 14:17:51, 3] smbd/error.c:error_packet(146) error packet at smbd/trans2.c(2919) cmd=50 (SMBtrans2) NT_STATUS_OBJECT_PATH_NOT_FOUND Can anybody help me in this regard ? Do I need to change anything in my smb.conf file?...
2002 Jul 14
0
Samba question - File or
...ss.c:process_smb(860) Transaction 2645 of length 116 [2002/07/15 14:40:33, 3] smbd/process.c:switch_message(667) switch message SMBntcreateX (pid 11990) [2002/07/15 14:40:33, 3] lib/util.c:unix_clean_name(387) unix_clean_name [/DIR1/DIR2/PROGRAM.EXE/2] [2002/07/15 14:40:33, 3] smbd/filename.c:scan_directory(491) scan dir didn't open dir [DIR1/DIR2/PROGRAM.EXE] [2002/07/15 14:40:33, 3] smbd/dosmode.c:unix_mode(111) unix_mode(DIR1/DIR2/PROGRAM.EXE/2) returning 0660 [2002/07/15 14:40:33, 3] lib/util.c:unix_clean_name(387) unix_clean_name [DIR1/DIR2/PROGRAM.EXE/2] [2002/07/15 14:40:33, 3] smbd/o...