Displaying 20 results from an estimated 46 matches for "excludedir".
Did you mean:
exclude_dir
2023 Aug 24
0
Samba recycle bin excludedir doesn't work for me
Hello,
I'm testing the "recycle: excludedir" option of Samba recycle bin but
for some reason every deleted file is sent to the recycle bin, even
those in excluded paths. Using samba/focal-updates,now
2:4.15.13+dfsg-0ubuntu0.20.04.4.
This is the config for that share:
---
[SHARE1]
??? path = /isp/SHARE1
??? browseable = no
??? fo...
2006 Apr 20
0
how to use recycle:excludedir
I've Samba 3.0.14a running without hassles on a ubuntu machine. Just one
detail is bugging me. The recycle:excludedir doesn't seam to work.
I've tried several options: absolute paths, relative paths, with and without
comma...restarting samba, reloading, logging off and on. no chance
this is my share:
[projects]
comment = put projects here
path = /mnt/raid/projects
valid users = r...
2012 Oct 24
1
[PATCH] NEW API: add a new api restorecon
..."
#include "optgroups.h"
+#define MAX_ARGS 128
+
+GUESTFSD_EXT_CMD(str_restorecon, restorecon);
+
#if defined(HAVE_LIBSELINUX)
int
@@ -106,3 +110,68 @@ do_getcon (void)
}
#endif /* !HAVE_LIBSELINUX */
+
+int
+do_restorecon (const char *pathname,
+ const char *excludedir,
+ const char *labelprefix,
+ int recursion,
+ int force)
+{
+ int r;
+ size_t i = 0;
+ char *buf;
+ char *exdir;
+ char *err;
+ const char *argv[MAX_ARGS];
+
+ buf = sysroot_path (pathname);
+ if (!buf) {
+ reply_with_error ("malloc");...
2005 Sep 28
0
VFS recycle - can't get exclude_dir to work
...oks like this:
[write]
path = /sambashared/write
browseable = yes
writable = yes
public = yes
vfs object = recycle
#recycle:repository = ../readonly
recycle:keeptree = yes
recycle:versions = yes
recycle:touch = yes
recycle:maxsize = 1000000
recycle:noversions = *.doc,*.xls
recycle:excludedir = /temp,/brouillons
recycle:exclude = *.tmp,*.temp,~$*
After some trials and errors I found out that for Debian the parameters
had to be separated by commas and that I had to do a /etc/init.d/samba
restart as the reload won't take a config change for VFS recycle.
Now it is working, except th...
2016 Jul 20
2
Enable Recycling
...g. What am I missing?
# Enable Recycling
vfs objects = full_audit recycle
recycle:repository = /samba/Recycle/%U
recycle:touch = Yes
recycle:keeptree = Yes
recycle:versions = Yes
recycle:noversions = *.tmp,*.temp,*.o,*.obj,*.TMP,*.TEMP
recycle:exclude = *.tmp,*.temp,*.o,*.obj,*.TMP,*.TEMP
recycle:excludedir = /recycle,/tmp,/temp,/TMP,/TEMP
full_audit:prefix = %u|%I
full_audit:success = open mkdir rmdir write unlink rename
full_audit:failure = mkdir rmdir write unlink rename
2016 Apr 27
2
Samba 4 permissions error
...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
recycle: repository = RecycleBin
[agnofi]
comment = primer compartido
path = /home/samba/shares/agnofi
browseable = Yes
read only = No
force create mode = 0660
force directory mode = 0660
vfs ob...
2004 Oct 29
2
VFS Recycle
...admin users = @SSVMTN+"Domain Admins"
vfs objects = recycle
recycle:repository = /home/depts
recycle:keeptree = Yes
recycle:touch = Yes
recycle:versions = Yes
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~??
recycle:excludedir = /tmp /temp /cache
create mask = 0770
directory mask = 0770
force create mode = 0770
force directory mode = 0770
security mask = 0770
force group = SSVMTN+test
Have read the How to and various posts but have not got it going. My
understandi...
2005 Jun 03
1
HELP! After upgrade, can't get at my shares
...mkdir -pm700 $PROFILE; chown "%u"."%g" $PROFILE; fi
root postexec = /bin/su -c "/usr/local/bin/dl
/var/lib/samba/%a/profiles/%u/Desktop/*[^.lnk]" "%u"
recycle:repository = ../../../../../home/%U/Desktop/Trash
recycle:noversions = *.doc|*.xls|*.ppt
recycle:excludedir = /tmp|/temp|/cache
recycle:exclude = *.tmp|*.temp|*.o|*.obj|~$*|*.~??
recycle:maxsize = 209715200
recycle:versions = Yes
recycle:touch = Yes
recycle:keeptree = Yes
[homes]
comment = Home Directories
valid users = %S
read only = No
hide special files = Yes
browseable = No
recycle:reposi...
2003 Jul 04
1
recycle under samba-3.0.0beta2-1
...= touch access date of files moved into the recycle bin
mode = KEEP_DIRECTORIES|VERSIONS|TOUCH
# maximum file size to be moved to the recycle bin (0 means any size)
maxsize = 0
# exclude file names with the following extensions:
exclude = *.tmp|*.temp|*.o|*.obj|~$*
# exclude directories:
excludedir = /tmp|/temp|/cache
the string keep_directories is active but samba move all files only in 1
directory and dont keep the structure.
thxxx for help.
greetz
denis
2013 Sep 26
1
Samba 3.6.15 Not honouring create mode
...user = root
force group = Domain Admins
read only = No
force create mode = 660
force directory mode = 770
vfs objects = recycle
recycle:directory_mode = 770
recycle:versions = yes
recycle:keeptree = yes
recycle:noversions = *.doc|*.xls|*.ppt
recycle:excludedir = /tmp|/temp|/cache
recycle:exclude = *.tmp|*.temp|*.o|*.obj|~$*|*.~??|~*.tmp
recycle:repository = .recycle
After a file or directory is created this is what I get.
drwxrwx--- 28 root domain admins 2048 Sep 26 11:57 .
drwxr-xr-x 8 root root 3864 May 7 21:00 ..
drwx...
2004 Jul 20
3
i need recycle bin configuration
any one can help me how to setting up recycle bin on samba
or manual references webstie
btw i'm using redhat 7.2 samba 2.2.7..
===========================================================================================
"Gabung INSTANIA, dapatkan XENIA. Daftar di www.telkomnetinstan.com, langsung dapat akses Internet Gratis..
Dan ..ikuti "Instan Smile" berhadiah Xenia,Tour
2016 Apr 27
0
Samba 4 permissions error
...dit 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
> recycle: repository = RecycleBin
>
> [agnofi]
> comment = primer compartido
> path = /home/samba/shares/agnofi
> browseable = Yes
> read only = No
> force crea...
2009 Apr 01
5
Fun with permissions
...wseable = yes
path = /Store/Shares/common
vfs objects = recycle
create mask = 0740
directory mask = 0740
valid users = @web
force user = %U
force group = web
recycle:keeptree = Yes
recycle:repository = TheBin
recycle:noversions = *.doc|*.xls|*.ppt
recycle:excludedir = /tmp|/temp|/cache
recycle:exclude = *.tmp|*.temp|*.o|*.obj|~$*|*.~??
recycle:maxsize = 0
recycle:versions = Yes
recycle:touch = Yes
Within the web group there are users stuart and mike, i've been mounting
common in two places (/mnt/tmp and /mnt/tmp2) under different users,...
2018 Mar 05
2
virt-v2v 1.38 fails to convert .vmx VM: setfiles ... Multiple same specifications for /.*.
[This email is either empty or too large to be displayed at this time]
2016 Apr 28
2
Samba 4 permissions error
...t 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
> recycle: repository = RecycleBin
>
> [agnofi]
> comment = primer compartido
> path = /home/samba/shares/agnofi
> browseable = Yes
> read only = No
> force crea...
2019 Jul 02
3
Weird access problem to files
.../home/profiles
read only = no
browsable = no
[CONDIVISIONE]
path = /home/condivisa
read only = No
vfs objects = recycle
recycle:keeptree = yes
recycle:versions = yes
recycle:maxsize = 200000000
recycle:exclude = *.tmp|*.temp|*.o|*.obj|~$*|*.~??|~*.tmp
recycle:excludedir =
recycle:noversions = *.doc|*.xls|*.ppt
recycle:directory_mode = 770
recycle:touch = yes
recycle:touch_mtime = yes
recycle:repository = .cestino/%U
#<other shares>
[netlogon]
path = /var/lib/samba/sysvol/domain.lan/scripts
read only = No
browsable = no
[sys...
2016 Apr 25
3
Samba 4 permissions error
Hello guys.
I have a Zentyal 4.2 server which runs Samba 4.3.5 and ACLs for every
share. It's currently working fine, no isssues, everyone can access
their folders without problems.
I've built a Samba 4.3.5 server in a different host which is not a
Zentyal server. I've configured this 2nd server as DC. Once a day I
run a script to synchronize all shares from my Zentyal to this Samba
2018 Mar 06
3
Re: virt-v2v 1.38 fails to convert .vmx VM: setfiles ... Multiple same specifications for /.*.
...c/selinux/targeted/contexts/files/file_contexts" "/" "force:true"
guestfsd: => grep (0x97) took 0.12 secs
guestfsd: <= selinux_relabel (0x1d3) request length 108 bytes
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: setfiles -m
usage: setfiles [-diIDlmnpqvFW] [-e excludedir] [-r alt_root_path] spec_file pathname...
usage: setfiles [-diIDlmnpqvFW] [-e excludedir] [-r alt_root_path] spec_file -f filename
usage: setfiles -s [-diIDlmnpqvFW] spec_file
usage: setfiles -c policyfile spec_file
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: setfiles -F -e /sysroot/dev...
2016 Jul 12
0
samba log question
...dns proxy = no
# Enable Recycling
vfs objects = full_audit recycle
recycle:repository = /samba/Recycle/%U
recycle:touch = Yes
recycle:keeptree = Yes
recycle:versions = Yes
recycle:noversions = *.tmp,*.temp,*.o,*.obj,*.TMP,*.TEMP
recycle:exclude = *.tmp,*.temp,*.o,*.obj,*.TMP,*.TEMP
recycle:excludedir = /recycle,/tmp,/temp,/TMP,/TEMP
full_audit:prefix = %u|%I
full_audit:success = open mkdir rmdir write unlink rename
full_audit:failure = mkdir rmdir write unlink rename
#============================ Share Definitions
==============================
[homes]
comment = Home Directories
path...
2019 Jul 02
0
Weird access problem to files
...> [CONDIVISIONE]
> path = /home/condivisa
> read only = No
> vfs objects = recycle
> recycle:keeptree = yes
> recycle:versions = yes
> recycle:maxsize = 200000000
> recycle:exclude = *.tmp|*.temp|*.o|*.obj|~$*|*.~??|~*.tmp
> recycle:excludedir =
> recycle:noversions = *.doc|*.xls|*.ppt
> recycle:directory_mode = 770
> recycle:touch = yes
> recycle:touch_mtime = yes
> recycle:repository = .cestino/%U
>
> #<other shares>
>
> [netlogon]
> path = /var/lib/samba/sysvol/domain.l...