Displaying 20 results from an estimated 675 matches for "opendir".
2009 Mar 05
1
[PATCH 3/5] COM32: Improve opendir() to deal with no '/' at end of string
From: Gene Cumm <gene.cumm at gmail.com>
COM32: Improve opendir() to deal with no '/' at end of string
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
---
Originally, this was going to be 3 patches but I ended up doing a little more.
Currently, the COMBOOT call required a '/' to recognize that you're
searching for a directory. T...
2009 Mar 05
0
[PATCH 1/1] COM32/opendir: free for malloc
From: Gene Cumm <gene.cumm at gmail.com>
COM32/opendir: free for malloc
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
---
Matching the malloc with a free.
diff --git a/com32/lib/opendir.c b/com32/lib/opendir.c
index 7063f8c..5129273 100644
--- a/com32/lib/opendir.c
+++ b/com32/lib/opendir.c
@@ -50,6 +50,8 @@ DIR *opendir(const char *path...
2009 Mar 06
0
[PATCH 1/2] COM32/opendir: remove unneeded zeroing
From: Gene Cumm <gene.cumm at gmail.com>
COM32/opendir: remove unneeded zeroing; a member of DIR and errno were
zeroed unnecessarily
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
---
DIR is allocated with calloc() and errno shouldn't be zeroed unless I
set it and know I need to ignore it. Depends on the string of patches
I've subm...
2008 Apr 17
1
cron, rsync and permissions
...ed as cron job.
The cron job is in my user table.
First backup from server oracle works fine, because the two files copied
are in my home directory, so no permission issues.
The second backup hangs with this error:
2008/04/17 02:00:28 [6161] receiving file list
2008/04/17 02:00:28 [6161] rsync: opendir "/home/gabri/Maildir" failed:
Permission denied (13)
2008/04/17 02:00:28 [6161] rsync: opendir "/home/enzo/Maildir" failed:
Permission denied (13)
2008/04/17 02:00:28 [6161] rsync: opendir "/home/enzo/Mail" failed:
Permission denied (13)
2008/04/17 02:00:28 [6161] r...
2023 Mar 22
1
Failure in "man 8 vfs_full_audit"?
Good morning list,
is there a failure in that manpage?
(I'm running Samba version 4.17.6-Debian)
The example shows:
[records]
path = /data/records
vfs objects = full_audit
full_audit:prefix = %u|%I
full_audit:success = open opendir
full_audit:failure = all !open
full_audit:facility = LOCAL7
full_audit:priority = ALERT
But:
- opendir is not shown within complete set of Samba VFS operations.
- setting "full_audit:success = open opendir" results in:
[2023/03/22 07:54:26.959285, 0]
../../source3/modules/vfs_full_audi...
2007 Feb 09
0
opendir messages with log level = 1 and extd_audit
...d wat to use the extd_audit vfs
module.
In the global section of my smb.conf I use:
log level = 1 vfs:0
And in the share section:
vfs objects = extd_audit
With log lovel 0 for the vfs module I expected to see messages about
deleted/unlinked files and directories + mkdir commands. In fact I get opendir
messages too. This is filling up the logfile rather quickly.
[2007/02/09 13:32:48, 1] modules/vfs_extd_audit.c:audit_opendir(164)
vfs_extd_audit: opendir tmp
[2007/02/09 13:32:48, 1] modules/vfs_extd_audit.c:audit_opendir(164)
vfs_extd_audit: opendir ./
>From http://us4.samba.org/samba/do...
2004 Sep 11
1
[PATCH] fchdir syscall, opendir function
This adds the fchdir syscall and a new opendir() function.
diff -purNx linux ../klibc-0.172/klibc/SYSCALLS.def ./klibc/SYSCALLS.def
--- ../klibc-0.172/klibc/SYSCALLS.def 2004-08-25 23:56:49.000000000 +0200
+++ ./klibc/SYSCALLS.def 2004-09-11 20:46:10.187551992 +0200
@@ -86,6 +86,7 @@ int access(const char *, int)
int link(const char *, const...
2003 May 13
1
audit.so ?
Hi all
Is anyone using the audit.so module ?
I've compiled it and added the appropriate line to smb.conf but I seem to be
having a few issues...
Here is an snip from syslog...
May 13 18:12:44 netvault.crcert.unsw.edu.au smbd_audit[13474]: opendir ./
May 13 18:12:44 netvault.crcert.unsw.edu.au smbd_audit[13474]: opendir .
May 13 18:12:50 netvault.crcert.unsw.edu.au smbd_audit[13474]: opendir .
May 13 18:12:50 netvault.crcert.unsw.edu.au smbd_audit[13474]: chmod_acl
images mode 0x1ed failed: Function not implemented
May 13 18:12:50 netvault.c...
2003 May 14
1
audit.so problem !!
Hi all
Is anyone using the audit.so module ?
I've compiled it and added the appropriate line to smb.conf but I seem
to be having a few issues...
Here is an snip from syslog...
May 13 18:12:44 myhost.com smbd_audit[13474]: opendir ./
May 13 18:12:44 myhost.com smbd_audit[13474]: opendir .
May 13 18:12:50 myhost.com smbd_audit[13474]: opendir .
May 13 18:12:50 myhost.com smbd_audit[13474]: chmod_acl images mode
0x1ed failed: Function not implemented
May 13 18:12:50 myhost.com smbd_audit[13474]: mkdir images
May 13 18:12:50 my...
2005 Jan 26
1
dovecot Maildir issue
...l /var/ |grep mail
drwxrwxrwt 7 root mail 4096 Jan 25 22:37 mail
The user Maildirs are set as:
mail:/var/mail# ls -l /var/mail/ |grep tadghe
drwxr-xrwt 2 tadghe tadghe 4096 Jan 25 22:36 tadghe
When I try and access a mail box I get this in the logs
an 25 22:35:34 mail imap(tadghe): opendir(/var/mail/tadghe/tmp)
failed: Permission denied
Jan 25 22:35:34 mail imap(tadghe): opendir() failed with file
/var/mail/tadghe/new: Permission denied
Jan 25 22:35:34 mail imap(tadghe): opendir() failed with file
/var/mail/tadghe/new: Permission denied
Jan 25 22:35:34 mail imap(tadghe): opendir(/var...
2012 Aug 01
1
imap(xxxxxxxx): Error: opendir(/user/xxxxxxxx/.imap) failed: No such file or directory
hello
I see this message in the dovecot error log every time
a user connect to IMAP service.
imap(xxxxxxxx): Error: opendir(/user/xxxxxxxx/.imap) failed: No such
file or directory
In the server's config I've this
mail_location =
mbox:%h/:INBOX=/var/mail/%u:INDEX=/var/spool/dovecot/index/%u
As we can see INDEX files are not living in user's home directories but
in /var/spool/dovecot/index/%u
so why thi...
2012 Aug 16
1
Samba VFS opendir and readdir
Hi Folks,
I am writing a VFS module, which creates virtual a file system in memory,
not on any physical storage. However, I really don't have any idea on how
to implement the VFS operation opendir and readdir, becuase SMB_STRUCT_DIR
is very hard to manipulate. For example, I can not malloc a SMB_STRUCT_DIR.
Also, there is no any document for SMB_STRUCT_DIR. I don't know how to use
it data member.
Can someone give some examples or point me to existing example code?
Many thanks
Eric
2009 Aug 03
1
[PATCH] Recognise cd-rom devices in devsparts.c
...quot;
#include "actions.h"
+typedef int (*block_dev_func_t)(const char *dev);
+
+static int foreach_block_device (block_dev_func_t func);
+
char **
do_list_devices (void)
{
char **r = NULL;
int size = 0, alloc = 0;
- DIR *dir;
- struct dirent *d;
- char buf[256];
-
- dir = opendir ("/sys/block");
- if (!dir) {
- reply_with_perror ("opendir: /sys/block");
- return NULL;
- }
- while ((d = readdir (dir)) != NULL) {
- if (strncmp (d->d_name, "sd", 2) == 0 ||
- strncmp (d->d_name, "hd", 2) == 0 ||
- strncmp (d->d_name...
2003 Jan 24
2
opendir(somedir/somefile): Not enough space -- why?
...service in the rsyncd.conf file.
I started rsync in daemon mode on the HP-UX server, and from the Linux
server I invoked:
rsync --numeric-ids -vvva root@hpuxsrv::apps /vol1/asic_apps/
The file list get transferred, but then I just get repeated lines of errors:
recv_file_name(some_dir/fm_v200209)
opendir(some_dir/fm_v200209): Not enough space
I have tried with --blocking-io and --no-blocking-io, with --bwlimitXXX.
Same problem each time.
Any insight is appreciated.
--
Bill Geddes
bill_geddes@agilent.com
--
UNIX is user friendly, it's just picky about who its...
2012 May 01
2
Exclude from not excluding "My Music" or "Printhood"
...n exclude-from filelist, which does seem to
successfully exclude the directories given by many of its entries,
including these two lines:
Documents/My[ ]Videos/
Nethood/
but the apparently similar (to me) directories
Documents/My[ ]Music/
Printhood/
just generate the error
rsync: opendir "/cygwin/c/users/feenberg/Documents/My Videos" failed: Permision denied (13)
rsync: opendir "/cygwin/c/users/feenberg/Documents/Printhood" failed: Permision denied (13)
As it happens, those directories don't really exist - at least the dir
command won't list them and I...
2014 Oct 15
1
Permissions problem on new installation
I am setting up a new mail server using imap only on Scientific Linux
6.5 and dovecot 2.0.9. How do I fix this problem?
I keep getting these errors regardless of permissions ... even up to 777.
Oct 15 13:56:01 avalon dovecot: imap(chayes at domain.tld): Error:
opendir(/var/email/chayes at domain.tld/Maildir) failed: Permission denied
(euid=497(chayes) egid=12(mail) missing +r perm:
/var/email/chayes at domain.tld/Maildir, euid is not dir owner)
Oct 15 13:56:01 avalon dovecot: imap(chayes at domain.tld): Error:
opendir(/var/email/chayes at domain.tld/Maildir)...
2009 Feb 11
1
[PATCH 1/1] COM32 API: Add functions for directory use
From: Gene Cumm <gene.cumm at gmail.com>
COM32: Add directory functions getcwd(), opendir(), readdir() and closedir().
This depends on the patch that I just submitted creating the COMBOOT API calls.
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
---
The intention is to create the library calls with (hopefully) POSIX
compliance such that a small application written to use th...
2008 Dec 04
0
[PATCH 1/1] COM32: Add directory functions
From: Gene Cumm <gene.cumm at gmail.com>
COM32: Add directory functions getcwd(), opendir(), readdir() and closedir().
This depends on the patch that I just submitted creating the COMBOOT API calls.
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
---
The intention is to create the library calls with (hopefully) POSIX
compliance such that a small application written to use th...
2009 Mar 21
0
[PATCH 1/1] SYSLINUX/COMBOOT: Abstract searchdir and fix the opendir call
From: Gene Cumm <gene.cumm at gmail.com>
SYSLINUX/COMBOOT: Abstract searchdir and fix the opendir call
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
---
First, change comboot.inc such that INT 22h AX=0020h (opendir) is
about as simple and similar in behavior to INT 22h AX=0006h
(openfile).
Next, rename the function searchdir to searchdir4any, create a new
function called searchdir...
2016 Apr 27
2
Samba 4 permissions error
...read only = no
Here the contents of /etc/samba/shares.conf:
[homes]
comment = Directorios de usuario
path = /home/%S
read only = no
browseable = no
create mask = 0611
directory mask = 0711
vfs objects = acl_xattr full_audit recycle
full_audit:success = connect opendir disconnect unlink mkdir rmdir
open rename
full_audit:failure = connect opendir disconnect unlink mkdir rmdir
open rename
recycle: directory_mode = 0700
recycle: inherit_nt_acl = Yes
recycle: excludedir = /tmp|/var/tmp
recycle: versions = Yes
recycle: keeptree = Yes
recyc...