Displaying 20 results from an estimated 60 matches for "eisdir".
2007 Jun 12
8
rdebug spec ?
Can you run rdebug on specs?
I get errors when I try:
$ rdebug spec ./spec/models/select_option_spec.rb
./spec: Is a directory - ./spec (Errno::EISDIR)
from /opt/local/lib/ruby/gems/1.8/gems/ruby-debug-0.9.3/bin/
rdebug:136:in `debug_load''
from /opt/local/lib/ruby/gems/1.8/gems/ruby-debug-0.9.3/bin/
rdebug:136
from /opt/local/bin/rdebug:16:in `load''
from /opt/local/bin/rdebug:16
2006 Mar 22
3
Problems with validates_presence_of...anybody?
...ld be of great help thankyou.
Actually, the problem is that I have a form in my application with some
set of fields.
Now what "validates_presence_of" should do is that if I submit the form
without entering the fields should raise an error.
But instead its giving me an error :
Errno::EISDIR in Users#create
Is a directory - script/../config/../public/files/
And yes, I forgot to mention that I am also uploading a file in my
application. And that file is being stored in {RAILS_ROOT}/public/files/
If anybody could help me. Please.
Thankyou.
--
Posted via http://www.ruby-forum.com/.
2003 Jun 11
1
Folder creation errors
Hi-
In a mbox environment:
1 login username password
1 OK Logged in.
2 create "slar"
2 NO Internal error [2003-06-11 15:44:56]
3 create "/slar"
3 NO Invalid mailbox name: /slar
4 create "Mail/slar"
4 OK Create completed.
5 create "./slar"
5 OK Create completed.
6 create "blar"
6 NO Internal error [2003-06-11 15:46:54]
7 logout
* BYE Logging out
7
2010 Jun 24
0
[PATCH] COM32: Fix read() with directories
From: Gene Cumm <gene.cumm at gmail.com>
COM32: Fix read() with directories to return -1 and set errno =
EISDIR. A file descriptor for a directory may be open()ed but must be
used with fdopendir() and readdir() to read anything beyond what
stat()/fstat() returns.
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
Depends on previous patch from last night for the change to the struct
com32_filedata....
2010 Oct 25
2
[PATCH] Btrfs: allow subvol deletion by unprivileged user with -o user_subvol_rm_allowed
...ER capability
+ * 6. If the victim is append-only or immutable we can''t do antyhing with
+ * links pointing to it.
+ * 7. If we were asked to remove a directory and victim isn''t one - ENOTDIR.
+ * 8. If we were asked to remove a non-directory and victim isn''t one - EISDIR.
+ * 9. We can''t remove a root or mountpoint.
+ * 10. We don''t allow removal of NFS sillyrenamed files; it''s handled by
+ * nfs_async_unlink().
+ */
+
+static int btrfs_may_delete(struct inode *dir,struct dentry *victim,int isdir)
+{
+ int error;
+
+ if (!victim->...
2010 Jul 26
6
[PATCH] Btrfs: compressed file size ioctl
...ode;
+ struct btrfs_root *root = BTRFS_I(inode)->root;
+ struct btrfs_path *path;
+ struct extent_buffer *leaf;
+ struct btrfs_key key;
+ u32 nritems;
+ int slot;
+ u64 olen = inode->i_size;
+ u64 len = olen;
+ long ret;
+ u64 compressed_size = 0;
+
+ if (S_ISDIR(inode->i_mode))
+ return -EISDIR;
+
+ path = btrfs_alloc_path();
+ if (!path)
+ return -ENOMEM;
+
+ path->reada = 2;
+ mutex_lock(&inode->i_mutex);
+
+ /* do any pending delalloc/csum calc on inode, one way or
+ another, and lock file content */
+ btrfs_wait_ordered_range(inode, 0, (u64)-1);
+
+ /* search for the ino...
2006 Mar 25
4
Can''t quite get Rails working on Mac, help please :).
...n Agile Web Development with Rails book. I''m in
terminal and I type -
cd work (everything works fine) then
rails demo (everything seems to work) then
cd demo (all goes well) then
ls -p (nothing wrong) then
ruby script server - and i get this error -
ruby: Is a directory - script (Errno::EISDIR)
william-mors-powerbook-g4-15:~/work/demo cooper$ ruby script/server
=> Booting lighttpd (use ''script/server webrick'' to force WEBrick)
=> Rails application started on http://0.0.0.0:3000
=> Call with -d to detach (requires absolute paths in
config/lighttpd.conf)
=> C...
2009 Aug 03
1
scp: wrong error message
Hi,
I'm using scp from openssh-5.1p1 on opensuse 11.1.
trying to copy a file to a nonexisting directory with scp gives the wrong error message:
harald > scp /etc/passwd remote:nodir/
scp: nodir/: Is a directory
harald > ssh remote ls -ld nodir
ls: cannot access nodir: No such file or directory
IMHO the error message should read e.g. "directory does
2005 Dec 17
0
[patch] alpha grab errno from right register after syscall
From: Steve Langasek <vorlon@debian.org>
The next problem in line was that when trying to clear the initramfs to
free memory before overmounting, run-init was getting EPERM instead of
EISDIR when calling unlink() on directories. After stepping through both
glibc and klibc linked binaries, I've concluded that the issue is simply
that klibc is trying to read the errno from the wrong register.
Initially, I was concerned this meant unlink was different from other
syscalls on alpha, w...
2013 Aug 06
6
[PATCH 0/4] btrfs: out-of-band (aka offline) dedupe v4
Hi,
The following series of patches implements in btrfs an ioctl to do
out-of-band deduplication of file extents.
To be clear, this means that the file system is mounted and running, but the
dedupe is not done during file writes, but after the fact when some
userspace software initiates a dedupe.
The primary patch is loosely based off of one sent by Josef Bacik back
in January, 2011.
2011 Sep 17
0
[LLVMdev] Build errors on r139985
...m3.0/llvm/include/llvm/Support/system_error.h:532:
error: ‘ESPIPE’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:533:
error: ‘EIO’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:534:
error: ‘EISDIR’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:535:
error: ‘EMSGSIZE’ was not declared in this scope
/home/carl/Downloads/llvm3.0/llvm/include/llvm/Support/system_error.h:536:
error: ‘ENETDOWN’ was not declared in this scope
/home/carl/Download...
2004 Mar 10
5
unexpected softupdate inconsistency
Hi there,
System is FreeBSD 4.9 Stable
Had a problem during a portupgrade that when portupgrade did some
cleaning a directory could not be deleted because it were not empty.
However, it was empty. rm -rf didn't help either.
Because I didn't know what to do I decided to boot.
At system startup fsck was started which produced the message: unexpected
softupdate inconsistency and also that
2011 Jul 13
9
[PATCH 0/8] switch_root() enhancements
On a train ride to Bruxelles, brought out my axe and directly attacked
run_init(8). run_init(8) is dead, long live switch_root(8).
The next run on switch_root(8) involves fdopendir,
so another push for the upcoming stdio 1.6 branch.
The following is boot tested with initramfs-tools,
kinit(8) tests would very much be appreciated!?
Michal Suchanek (1):
[klibc] switch_root: Fix single file
2011 May 17
0
[Announce] Samba 3.6.0rc1 Available for Download
...hneider <asn at samba.org>
* Add an Endpoint Mapper daemon.
Changes since 3.6.0pre3
-----------------------
o Jeremy Allison <jra at samba.org>
* BUG 8111: CIFS VFS: Fix unexpected error on SMB posix open.
* BUG 8112: POSIX extension opens of a directory are denied with EISDIR.
* Remove fstrings from client struct.
* BUGFIX when converting from safe_strcpy to strlcpy.
* Fix off-by-one calculations with strlcpy.
* Ensure we always write the correct incoming mid into the share mode table
entries.
* Fix the SMB2 oplock showstopper.
o Christian...
2011 May 17
0
[Announce] Samba 3.6.0rc1 Available for Download
...hneider <asn at samba.org>
* Add an Endpoint Mapper daemon.
Changes since 3.6.0pre3
-----------------------
o Jeremy Allison <jra at samba.org>
* BUG 8111: CIFS VFS: Fix unexpected error on SMB posix open.
* BUG 8112: POSIX extension opens of a directory are denied with EISDIR.
* Remove fstrings from client struct.
* BUGFIX when converting from safe_strcpy to strlcpy.
* Fix off-by-one calculations with strlcpy.
* Ensure we always write the correct incoming mid into the share mode table
entries.
* Fix the SMB2 oplock showstopper.
o Christian...
2011 Jan 06
3
Offline Deduplication for Btrfs V2
Just a quick update, I''ve dropped the hashing stuff in favor of doing a memcmp
in the kernel to make sure the data is still the same. The thing that takes a
while is reading the data up from disk, so doing a memcmp of the entire buffer
isn''t that big of a deal, not to mention there''s a possiblity for malicious
users if there is a problem with the hashing algorithms we
2011 Jun 07
0
[Announce] Samba 3.6.0rc2 Available for Download
...lt <sthibault at debian.org>
* BUG 7998: Fix build on Hurd.
Changes since 3.6.0pre3
-----------------------
o Jeremy Allison <jra at samba.org>
* BUG 8111: CIFS VFS: Fix unexpected error on SMB posix open.
* BUG 8112: POSIX extension opens of a directory are denied with EISDIR.
* Remove fstrings from client struct.
* BUGFIX when converting from safe_strcpy to strlcpy.
* Fix off-by-one calculations with strlcpy.
* Ensure we always write the correct incoming mid into the share mode table
entries.
* Fix the SMB2 oplock showstopper.
o Christian...
2011 Jun 07
0
[Announce] Samba 3.6.0rc2 Available for Download
...lt <sthibault at debian.org>
* BUG 7998: Fix build on Hurd.
Changes since 3.6.0pre3
-----------------------
o Jeremy Allison <jra at samba.org>
* BUG 8111: CIFS VFS: Fix unexpected error on SMB posix open.
* BUG 8112: POSIX extension opens of a directory are denied with EISDIR.
* Remove fstrings from client struct.
* BUGFIX when converting from safe_strcpy to strlcpy.
* Fix off-by-one calculations with strlcpy.
* Ensure we always write the correct incoming mid into the share mode table
entries.
* Fix the SMB2 oplock showstopper.
o Christian...
2011 Jul 26
1
[Announce] Samba 3.6.0rc3 Available for Download
...lt <sthibault at debian.org>
* BUG 7998: Fix build on Hurd.
Changes since 3.6.0pre3
-----------------------
o Jeremy Allison <jra at samba.org>
* BUG 8111: CIFS VFS: Fix unexpected error on SMB posix open.
* BUG 8112: POSIX extension opens of a directory are denied with EISDIR.
* Remove fstrings from client struct.
* BUGFIX when converting from safe_strcpy to strlcpy.
* Fix off-by-one calculations with strlcpy.
* Ensure we always write the correct incoming mid into the share mode table
entries.
* Fix the SMB2 oplock showstopper.
o Christian...
2011 Jul 26
1
[Announce] Samba 3.6.0rc3 Available for Download
...lt <sthibault at debian.org>
* BUG 7998: Fix build on Hurd.
Changes since 3.6.0pre3
-----------------------
o Jeremy Allison <jra at samba.org>
* BUG 8111: CIFS VFS: Fix unexpected error on SMB posix open.
* BUG 8112: POSIX extension opens of a directory are denied with EISDIR.
* Remove fstrings from client struct.
* BUGFIX when converting from safe_strcpy to strlcpy.
* Fix off-by-one calculations with strlcpy.
* Ensure we always write the correct incoming mid into the share mode table
entries.
* Fix the SMB2 oplock showstopper.
o Christian...