Displaying 20 results from an estimated 5000 matches similar to: "vfs_recycle and permissions"
2019 Oct 16
4
vfs_recycle permission bug?!
Samba 4.8 (Louis debian repo), DM.
Today i've had to recovery a deleted file in that share, that use
'vfs_recycle' modules:
[Work]
comment = Spazio di Lavoro Utente
map acl inherit = Yes
path = /srv/work
read only = No
store dos attributes = Yes
vfs objects = acl_xattr recycle full_audit
volume = Work
full_audit:failure = none
full_audit:success = mkdir rmdir read pread
2019 Jul 26
1
vfs_recycle throwing errors when files are deleted by a Mac on a share with vfs_fruit enabled
Hi,
My log files are being flooded with errors like the ones below whenever a
Mac delete files from a Samba share.
[2019/07/26 14:02:26.182564, 0]
../source3/modules/vfs_recycle.c:243(recycle_get_file_size)
recycle: stat for Chris_Mac/._videos.docx returned No such file or
directory
[2019/07/26 14:02:27.186472, 0]
../source3/modules/vfs_recycle.c:243(recycle_get_file_size)
recycle: stat
2008 Aug 13
3
config-file for recycle bin
I make a recycle bin as follow:
config-file = /etc/samba/recycle.conf
vfs object = recycle
recycle:subdir_mode = 0770
recycle:keeptree = Yes
recycle:repository = Recycle Bin
recycle:versions = Yes
recycle:directory_mode = 0770
But testparm shows:
Unknown parameter encounter: "config-file"
Ignoring unknown parameter "config-file"
What could be the problem and the solution?
2016 Jul 23
2
permission problem with vfs object recycle:directory_mode
Well,
Despite I've recently answered about vfs object recycle on this list,
it seems that it isn't working as excepted.
Using Samba 4.4.5, compiled from sources
Here is the conf for a share:
[musique]
path = /media/data/musique
read only = No
vfs objects = acl_xattr recycle
recycle:directory_mode = 0770
recycle:subdir_mode = 0700
2014 Apr 15
2
VFs recycle, what about a trigger to delete files after xxxx!?
Dear all,
I am working with vfs recycle and it is a real great thing.
But something I missed all the years is a param like :
recycle:purge=MAXDAYS. (where MAXDAYS is, Age of which files and directories
are stored
In the recycle before they are purged)
I do this with my own scripts but it would be a great feature for me as
admin to set this param
without the need of scripting myself.
EDV
2007 Jun 21
1
Recycle bin and ACL
Hello,
we are using the vfs module recycle with the following config:
vfs objects = recycle
recycle: repository = .Papierkorb
recycle:directory_mode = 0777
recycle:subdir_mode = 0777
recycle: keeptree = Yes
recycle: exclude = *.tmp, *.temp, *.log, *.ldb
recycle: exclude_dir = tmp
recycle:versions = Yes
Problem is that everybody can see deleted documents in the
recycle bin.
But if I set
2016 Oct 24
4
Fix sharing ACL
Gentlemen,
I am struggling to solve this problem.
My file server Samba 4.4.5.
Even the administrator user (domain admin) could not write to the share.
Could someone give me a hint, in order to solve this problem?
shared folder: /mnt/data
Folder permissions:
# getfacl /mnt/data/teste/
getfacl: Removing leading '/' from absolute path names
# file: mnt/data/teste/
# owner: ricardo
2019 Oct 23
1
AD Member Server and 'vfs objects recycle' permission problems
Hi,
on our samba 4 domain member server we use the vfs objects module
'recycle'.
Unfortunately we ran into a strange permission problem with deleted
folders.
The newly created folders in the recycle folder have the wrong
permission. The deleted file(s) itself has the correct group (rw)
permissions.
The shares correct permissions:
getfacl Papierkorb/
# file: Papierkorb/
# owner: root
#
2019 Dec 02
2
vfs_recycle disables permissions inheritance on AD DC shares
Apologies if this is a documented feature and I missed it - I've been
googling and reading through the docs but haven't spotted any mention
anywhere. Is the vfs_recycle feature officially being supported with
Samba in AD mode? I have a few AD DC's with file shares on them - and
have been struggling with file permissions not being inherited on the
file shares. I have finally
2016 Jun 14
2
vfs_recycle on samba 4.3.9 as DC reset permissions
Hi,
I set up an Ubuntu 16.04 machine with samba 4.3.9 as DC.
Everything works fine. I created users and groups with the Windows RSAT
tools.
I also set different group permissions on some shares over Windows.
My Problem is now that I tried to enable the samba recycle bin:
[mytest]
path = /data/samba/mytest
read only = No
vfs objects = recycle
2016 Apr 27
2
Samba 4 permissions error
> OK, you have two DCs, on one, your user can access a share, you basically
> copy the shares to another DC (with all the same permissions etc) and your
> user cannot access the share on the second DC.
>
> How is AD set up ? are you using uidNumber & gidNumber attributes (you will
> have added them manually) or are you using the xidNumbers created
> automatically by
2017 Apr 25
2
wbinfo -S SID deliver -1
i have setup a samba server as a AD member. AD: 2012R2
The first day everything was working fine. After restart the Samba
Service i had no access to my shares.
getent passwd and getent group deliver the UID and GID :
4294967295:4294967295: by all AD Users
which is -1 (FFFF FFFF)
wbinfo -n user deliver S-1-5-21-4001112740-1724199908-163113746-1106
SID_USER (1) which is correct !
I get from
2010 Jun 20
2
Samba access of FAT32 mounted file system on FreeBSD
Hi,
Firstly background -
FreeNAS 0.7.2 (FreeBSD 7.3-RELEASE-p1)
Samba 3.5.3
1TB disk, 500GB FAT32 (/dev/da1s1) + 500GB NTFS (/dev/da1s4)
Just to clear it up, I'm using FAT32 and NTFS because this is actually a
media center box that functions as an external HDD when plugged into USB.
I'm using it as a storage device because its quite large a disk, but may
from time to time use it as a
2014 Feb 03
1
VFS module recycle not working
Hello,
I'm using Samba 3.6.9 on a CentOS 6.5 machine and want to enable the
'recycler'-feature. So I added following lines to the [global]-section
of my smb.conf:
vfs object = recycle
recycle:repository = .deleted/%U
recycle:keeptree = Yes
recycle:touch = Yes
recycle:versions = Yes
recycle:maxsixe = 0
recycle:exclude =
2017 Jun 13
2
recycle on a fileserver domain member
Hello guys,
I configured the recycle in my fileserver, but when I logged in with normal
user and delete some files, folders, etc, the errors occurs.
./addc-pc-01.log:28251: recycle: mkdir failed for .recycle with error:
Permission denied
./addc-pc-01.log:28252:[2017/06/13 14:15:11.816085, 3]
../source3/modules/vfs_recycle.c:582(recycle_unlink)
./addc-pc-01.log:28253: recycle: Could not create
2014 Sep 10
1
Configuring aio_pthread
I'm trying to learn more about samba by experimenting with samba on
FreeNAS. This involves a certain amount of reading how default smb4.conf
parameters are set in FreeNAS and then reading the manpages for those
parameters.
Async I/O is implemented in samba in freenas via the aio_pthread VFS
module. The manpage for vfs_aio_pthread states:
"the smb.conf parameters aio read size and aio
2019 Oct 16
0
vfs_recycle permission bug?!
Hai Marco,
Can you check this acl and attr are these installed?
type acl
type attr
Or just run : apt-get install -y acl attr
Try this :
chmod 1770 /srv/work/.cestino/
Which sets : "creator Owner" (1), Owner (7), Group (7), World (0)
So the owner and groups can create anything but your enforcing "creator owner"
Then set:
recycle:subdir_mode = 1700
2018 Mar 12
2
NT_STATUS_ACCESS_DENIED listing \* on Samba AD - out of the blue
I have a Samba AD running Samba 4.7.5. Everything was working fine,
when, seemingly out of the blue, the users started to be denied access
to all shares. If I try from a Windows 7 or Windows 10 machine, logged
in as a user in "Domain Uses", I get:
"Windows cannot access \\server-name\share_name. You do not have
permission to access \\server-name\share_name"
If I use
2019 Feb 19
2
samba 4.8x problem
Hai,
Rowland did mean, post it without the -v..
Since its an AD server. Run : samba-tool testparm
Can you post that that gives a better insight.
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
> bar???? tombul via samba
> Verzonden: dinsdag 19 februari 2019 11:37
> Aan: Rowland Penny
> CC: samba
>
2018 Jul 24
2
Unable to map SID of domain admin although mapped in username map
Hello,
Lots of messages in smbd log file on a Samba file server, which is member of a Samba AD :
[2018/07/24 10:30:00.822403, 0] ../source3/smbd/posix_acls.c:2080(create_canon_ace_lists)