search for: renameat

Displaying 20 results from an estimated 145 matches for "renameat".

2019 Jan 18
0
[klibc:master] rename, renameat: Use renameat2() system call
....org/?p=libs/klibc/klibc.git;a=commit;h=ebdc262bd8a4d650c58de48f67e6b08aeb953a8f Author: Ben Hutchings <ben at decadent.org.uk> AuthorDate: Mon, 16 Jul 2018 18:24:08 +0100 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Fri, 18 Jan 2019 03:10:14 +0000 [klibc] rename, renameat: Use renameat2() system call New architectures only define the renameat2() system call, which was added in Linux 3.15. Define rename() and renameat() as wrappers for it if necessary. Link: https://www.zytor.com/pipermail/klibc/2018-July/003996.html Signed-off-by: Ben Hutchings <ben at decaden...
2018 Jul 17
1
[PATCH klibc 1/2] rename, renameat: Use renameat2() system call
New architectures only define the renameat2() system call, which was added in Linux 3.15. Define rename() and renameat() as wrappers for it if necessary. Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- --- a/usr/klibc/Kbuild +++ b/usr/klibc/Kbuild @@ -59,7 +59,8 @@ klib-y += vsnprintf.o snprintf.o vsprint inet/inet_nto...
2020 Apr 08
3
samba 4.12 build on hp-ux unsupported system calls
Hi Team, We are having compile/linking time warning due unsatisfied system calls and macros. We have checked and confirm that these are not supported by hp-ux kernel and enabling them will require changes in VFS layer and physical filesystem. Unsatisfied system calls * renameat * symlinkat * linkat * unlinkat * readlinkat * mkdirat Undefined MACRO's * AT_REMOVEDIR * AT_FDCWD These system calls have been added newly in samba 4.12. Please provide workaround/patch to use older syscalls like mkdir,readlink,unlink...
2019 Jan 05
0
Pull request: collected patches for klibc
...----------------------------------------------------- Alfonso Sanchez-beato (1): [klibc] Add support for reboot syscall argument Baptiste Jonglez (1): [klibc] nfsmount: support nfsvers= and vers= options Ben Hutchings (6): [klibc] run-init: Add dry-run mode [klibc] rename, renameat: Use renameat2() system call [klibc] Add RISC-V (RV64) port [klibc] x86_64: Reduce ld max-page-size option again [klibc] Never clean files in quilt status directory [klibc] x86_64: Use -Ttext-segment to avoid address collision Benjamin Drung (2): [klibc] ipconfig: Imp...
2020 May 26
1
vfs_audit with Samba 4.12.3
...= pwrite write rename unlink full_audit:prefix = IP=%I|USER=%u|MACHINE=%m|VOLUME=%S full_audit:facility = local7 full_audit:priority = NOTICE But with this an Samba 4.12.3 we get this error: "Could not find opname rename, logging all" This also happens for unlink. What works is "renameat" and "unlinkat" The man page still has it the old way: The following Samba VFS operations are recorded: connect disconnect opendir mkdir rmdir open close rename unlink chmo...
2023 Aug 24
0
Samba recycle bin excludedir doesn't work for me
...n Admins", @"GPO-Usuarios" ??? read list = ??? write list = @"Domain Admins", @"GPO-Usuarios" ??? admin users = @"Domain Admins" ??? vfs objects = acl_xattr full_audit recycle ??? full_audit:prefix = %S|%u|%I ??? full_audit:failure = openat mkdirat renameat unlinkat pwrite pread connect disconnect ??? full_audit:success = openat mkdirat renameat unlinkat pwrite pread connect disconnect ??? hide unreadable = yes ??? hide unwriteable files = yes ??? recycle: versions = Yes ??? recycle: excludedir = /tmp|/var/tmp|_RFOLDERS ??? recycle: directory_...
2017 Nov 13
2
Experiment on how to improve our temporary file handing.
On Mon, Nov 13, 2017 at 01:46:32PM -0800, Davide Italiano wrote: > On Mon, Nov 13, 2017 at 11:48 AM, Rafael Avila de Espindola > <rafael.espindola at gmail.com> wrote: > > Davide Italiano <davide.italiano at gmail.com> writes: > > > >>> I couldn't find any support for this on FreeBSD. > >>> > >> > >> AFAIK FreeBSD supports
2023 Feb 10
3
access "claim types"
...utes = Yes inherit acls = yes unix extensions = no follow symlinks= yes wide links= yes load printers = no printcap name = /dev/null acl allow execute always = True # Audit settings full_audit:prefix = %u|%I|%m|%S full_audit:failure = connect full_audit:success = mkdirat read pread write pwrite renameat unlinkat full_audit:facility = local5 full_audit:priority = notice log level = 1 min domain uid=0 --- (I even noticed that this config was improved in 2019 after some thread in here ;-)) issues: Their external windows admin tries to edit ACLs etc by accessing them from their DC, a Windows 2...
2024 Oct 25
3
Kerberos ticket renew causes a brief network interruption
...emplate shell = /bin/bash winbind enum groups = Yes winbind enum users = Yes winbind separator = ^ winbind use default domain = Yes workgroup = MAIL-STREET full_audit:priority = notice full_audit:facility = local5 full_audit:failure = none full_audit:success = open close read write mkdirat renameat unlinkat openat full_audit:prefix = %u|%I|%S idmap config * : range = 10000-20000 idmap config * : backend = tdb vfs objects = full_audit [customers] create mask = 0777 directory mask = 0777 force directory mode = 0777 force group = Yschijfusers path = /var/local/customers read only = N...
2024 Oct 25
1
Kerberos ticket renew causes a brief network interruption
...groups = Yes > winbind enum users = Yes > winbind separator = ^ > winbind use default domain = Yes > workgroup = MAIL-STREET > full_audit:priority = notice > full_audit:facility = local5 > full_audit:failure = none > full_audit:success = open close read write mkdirat renameat > unlinkat openat full_audit:prefix = %u|%I|%S > idmap config * : range = 10000-20000 > idmap config * : backend = tdb > vfs objects = full_audit > > > [customers] > create mask = 0777 > directory mask = 0777 > force directory mode = 0777 > force group = Ys...
2020 Apr 08
0
samba 4.12 build on hp-ux unsupported system calls
...> We are having compile/linking time warning due unsatisfied system calls and macros. > We have checked and confirm that these are not supported by hp-ux kernel and enabling them will require changes in VFS layer and physical filesystem. > > Unsatisfied system calls > > * renameat > > * symlinkat > > * linkat > > * unlinkat > > * readlinkat > > * mkdirat > > Undefined MACRO's > > * AT_REMOVEDIR > > * AT_FDCWD > > These system calls have been added newly in samb...
2024 Sep 17
0
vfs_recycle missing deleted file?
...can an unlinked file not end up in the recycle directory? smb.conf excerpt: full_audit:prefix = %u|%I|%S full_audit:failure = connect full_audit:success = connect disconnect mkdirat open openat create_file close read pread pread_recv write pwrite pwrite_send sendfile renameat unlinkat ftruncate full_audit:facility = local5 full_audit:priority = notice recycle:minsize = 1023 recycle:repository = /home/.recycle/%U recycle:keeptree = yes recycle:versions = yes [ashare] vfs objects = fruit streams_xattr full_audit r...
2019 May 09
0
Staged installation fail on some file systems
On 5/7/19 6:18 PM, Henrik Bengtsson wrote: > On Tue, May 7, 2019 at 9:05 AM Tomas Kalibera <tomas.kalibera at gmail.com> wrote: >> Thanks for the report. According to my reading, this use of "mv" is ok >> and the renameat2() call which the invocation of "mv" leads to is also >> ok and allowed by POSIX in this context. It could only fail with EEXIST >> if the target directory (path/pkg) was not empty. So far I've not been >> able to reproduce but we could fall back to copy like on Wind...
2024 Jun 12
1
Apparent conflict between shadow_copy and virusfilter modules
...ERROR %h## shadow_copy2 module settings#shadow:basedir = /srv/data/sharesshadow:snapdir = .zfs/snapshotshadow:sort = descshadow:format = UTC-3-%Y.%m.%d-%H.%M.%Sshadow:localtime = yes## full_audit module settings#full_audit:prefix = %U|%I|%Sfull_audit:success = fchmod fchown lchown mkdirat open read renameat writefull_audit:failure = all !openfull_audit:facility = LOCAL7full_audit:priority = ALERT[public_share] path = /srv/data/shares/public_share read only = no acl_xattr:ignore system acl = yes[trash] path = /srv/data/shares/trash/%U read only = no browseable = no root preexec = /usr/sbi...
2013 Nov 12
0
[klibc:master] syscalls: Fixup some of the -at syscall declarations
...t, const char *, int, const char *); +<?> int linkat(int, const char *, int, const char *, int); int unlink(const char *); <?> int unlinkat(int, const char *, int); int chdir(const char *); @@ -117,12 +117,12 @@ int fchdir(int); int rename(const char *, const char *); <?> int renameat(int, const char *, int, const char *); int mknod(const char *, mode_t, dev_t); -<?> int mknodat(int, const char *, const char *, mode_t, dev_t); +<?> int mknodat(int, const char *, mode_t, dev_t); int chmod(const char *, mode_t); int fchmod(int, mode_t); -<?> int fchmodat(int,...
2019 Jan 19
1
[ANNOUNCE] klibc 2.0.5
...[klibc] readlink: Add -f option [klibc] mount: Implement -o defaults [klibc] Install headers with consistent mode [klibc] dash: mkbuiltins: Fix sort order harder [klibc] gzip: Fix silent fallback to decompression [klibc] run-init: Add dry-run mode [klibc] rename, renameat: Use renameat2() system call [klibc] Add RISC-V (RV64) port [klibc] x86_64: Reduce ld max-page-size option again [klibc] Never clean files in quilt status directory [klibc] x86_64: Use -Ttext-segment to avoid address collision [klibc] i386: Use -Ttext-segment to avoid...
2023 Aug 21
2
DFS questions...
Hello Rowland, If someone wants full_audit, will adding 'vfs objects = full_audit' on a DC also have dfs_samba4 and acl_xattr enabled just because running on a DC, or would this cause both defaults to be turned off? Thanks, Joachim -----Urspr?ngliche Nachricht----- Von: samba <samba-bounces at lists.samba.org> Im Auftrag von Rowland Penny via samba Gesendet: Montag, 21. August 2023
2013 Nov 08
0
[PATCH 2/3] syscalls: Add syscalls needed by arm64
...st char *, int, const char *, int); -int unlink(const char *); +<?> int unlink(const char *); <?> int unlinkat(int, const char *, int); int chdir(const char *); int fchdir(int); -int rename(const char *, const char *); +<?> int rename(const char *, const char *); <?> int renameat(int, const char *, int, const char *); -int mknod(const char *, mode_t, dev_t); +<?> int mknod(const char *, mode_t, dev_t); <?> int mknodat(int, const char *, mode_t, dev_t); -int chmod(const char *, mode_t); +<?> int chmod(const char *, mode_t); int fchmod(int, mode_t); <?...
2013 Nov 12
0
[klibc:master] syscalls: Add syscalls needed by arm64
...st char *, int, const char *, int); -int unlink(const char *); +<?> int unlink(const char *); <?> int unlinkat(int, const char *, int); int chdir(const char *); int fchdir(int); -int rename(const char *, const char *); +<?> int rename(const char *, const char *); <?> int renameat(int, const char *, int, const char *); -int mknod(const char *, mode_t, dev_t); +<?> int mknod(const char *, mode_t, dev_t); <?> int mknodat(int, const char *, mode_t, dev_t); -int chmod(const char *, mode_t); +<?> int chmod(const char *, mode_t); int fchmod(int, mode_t); <?...
2024 Sep 10
1
Getting 'Access Denied' under Offline mode (Offline Files)
On Tue, 10 Sep 2024 15:32:46 +1200 June Chong | TechnologyWise via samba <samba at lists.samba.org> wrote: > Hi team, > > Hoping someone from the community would be able to help. > > Samba version *: 4.19.5* > > OS *: Ubuntu 24.04* > > We have a perculiar situation where users are getting /Access Denied/ > on their roaming user profiles. These profiles are