Displaying 20 results from an estimated 200 matches similar to: "[PATCH 1/2] Implement realpath()"
2016 Jan 06
3
[PATCH klibc 0/3] Changes to support initramfs-tools 0.117
initramfs-tools version 0.117 requires 'readlink -f' and
'mount -o defaults' to work.
The first two patches were previously submitted but not applied.
Ben.
Ben Hutchings (3):
Implement realpath()
readlink: Add -f option
mount: Implement -o defaults
usr/include/stdlib.h | 2 ++
usr/klibc/Kbuild | 2 +-
usr/klibc/realpath.c | 49
2014 Sep 29
0
[PATCH v2 1/2] Implement realpath()
This is needed as the basis for the readlink -f option.
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
v2: Don't implement the BSD/GNU extension of allowing a non-existent
last part.
Use open(O_PATH) and procfs to get resolved name from the kernel.
--- a/usr/include/stdlib.h
+++ b/usr/include/stdlib.h
@@ -92,4 +92,6 @@ static __inline__ int grantpt(int __fd)
return
2016 Jan 06
0
[klibc:master] Implement realpath()
Commit-ID: 32b36eb98fafad924f3f69904d74d2f2168a4753
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=32b36eb98fafad924f3f69904d74d2f2168a4753
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Wed, 6 Jan 2016 01:08:47 +0000
Committer: H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Tue, 5 Jan 2016 17:48:43 -0800
[klibc] Implement realpath()
This
2016 Jan 06
1
wide links and privileges
Le 04/01/2016 09:11, L.P.H. van Belle a écrit :
> From : man smb.conf
>
> Which explains it self.
>
> enable privileges (G)
> [..]
Hi,
Thank you for your answer, would you mind if I ask for some more help ?
I'm sorry I don't understand exactly why you told me to look at the
`enable privileges` parameter in the man pages as an answer.
I have already closely
2016 Jan 06
3
wide links and privileges
Hai,
I use the following on one of my member servers.
Put set these three in your global smb.conf.
enable privileges = Yes
unix extensions = No
allow insecure wide links = Yes
And on the share i have set.
wide links = yes
follow symlinks = yes
and this is working for years for me.
Try these and report back.
If its not working tell us you OS and samba version
Greetz,
Louis
2023 May 30
1
O_PATH, FreeBSD & acl_xx_fd
On Tue, May 30, 2023 at 09:57:37AM +0200, Peter Eriksson via samba wrote:
>I?ve been looking at an issue when compiling Samba on FreeBSD 13 with the vfs_zfsacl module.
>
>It seems the logic that detect O_PATH support in Samba doesn?t work right with FreeBSD 13 (since it has implemented O_PATH support) and especially with the acl_get_fd() function. This is a bug (or rather a missing
2023 May 30
2
O_PATH, FreeBSD & acl_xx_fd
I?ve been looking at an issue when compiling Samba on FreeBSD 13 with the vfs_zfsacl module.
It seems the logic that detect O_PATH support in Samba doesn?t work right with FreeBSD 13 (since it has implemented O_PATH support) and especially with the acl_get_fd() function. This is a bug (or rather a missing feature) in FreeBSD that there is a patch for now (dunno when it?ll appear in a release
2019 Nov 25
4
big share problem
Hi,
I've a big problem with my shares on a domain AD member server.
On this server there is severals shares directories :
- \data\dir1 [share_one]
- \data\dir2 [share_two]
- \data\dir3 [share_three]
\data is a mounted partition
when I browse one of my share in windows, \\myserver\share_one for
exmple, I can see all directories of my server !! : bin, boot, dev, lib,
..... data directory
2023 May 30
1
O_PATH, FreeBSD & acl_xx_fd
Urgh?
I modified the FreeBSD kernel to allow all_xx_fd() calls on O_PATH descriptors and that seems make vfs_zfsacl to work fine. Not 100% tested but I could atleast view and modify the ACL on some stuff from a Windows client via Samba that way.
I?m not sure I?ll be able to get them to implement this ?officially? though. Reading ACLs via an O_PATH-opened descriptor seems to be on the way of
2024 Jun 07
1
missing msdfs referrals from samba directory listing: wrong order in smbd_dirptr_get_entry()?
07.06.2024 07:59, Michael Tokarev wrote:
> 07.06.2024 07:54, Jeremy Allison wrote:
>>> msdfs is broken in 4.19.? It worked fine in 4.18.
>
> This is not entirely true.
Nope. Things are more interesting than that.
I've a 4.19 installation where msdfs links works both in listing
and when specified directly. There are 2 other installations of 4.19
where msdfs links
2013 Nov 08
1
[PATCH 2/3] syscalls: Add syscalls needed by arm64
On 11/08/2013 09:12 AM, Steve Capper wrote:
> diff --git a/usr/klibc/lstat.c b/usr/klibc/lstat.c
> new file mode 100644
> index 0000000..0282eec
> --- /dev/null
> +++ b/usr/klibc/lstat.c
> @@ -0,0 +1,17 @@
> +#include <fcntl.h>
> +#include <unistd.h>
> +#include <sys/types.h>
> +#include <sys/stat.h>
> +#include <sys/syscall.h>
> +
2015 Dec 22
6
wide links and privileges
Hi,
I'm using samba version samba-4.1.6+dfsg included in last ubuntu LTS
version.
Here is my smb.conf file:
[global]
# configuration du serveur
netbios name = scribe
workgroup = dompedago
server string = scribe
preferred master = yes
domain logons = yes
security = user
ldap passwd sync = yes
passdb backend =
2016 Jan 07
0
wide links and privileges
Yes, mount bind is an option also.
But in my case i have script running which autocreated symlinks to file/folders spread over multiple servers.
And the symlinks are created in the user homedir, and general data folders.
Which makes a mount bind much more resource full.
In my case i need about 180 mount binds.. :-/ which remounts to different files/folders very day.
Greetz,
2007 Oct 03
1
Namespace "hidden" option not working?
I either misunderstand the namespace hidden option, or else perhaps it's
not working correctly in 1.0.5?
dovecot.conf
# default namespace
namespace private {
separator = /
prefix =
inbox = yes
hidden = yes
}
# for backwards compatibility:
namespace private {
separator = .
prefix = INBOX.
inbox = yes
}
Then login and test
s6jh LIST "" "*"
SND:
2007 Aug 24
2
[git patch] klibc bzero, mount fixes + random stuff
hello hpa,
please pull for the latest
git pull git://brane.itp.tuwien.ac.at/~mattems/klibc.git maks
with the following shortlog:
maximilian attems (9):
mount: add nodev, noexec and nosuid options
mount: add -n option
cpio: small cleanups
readlink: s/link/link_name/
kinit, mknod: s/(major|minor)/\1_num/
klibc: strcspn, strpbrk, strspn include string.h
2019 Nov 25
0
big share problem
On 25/11/2019 18:12, Tom via samba wrote:
> Hi,
>
> I've a big problem with my shares on a domain AD member server.
>
> On this server there is severals shares directories :
>
> - \data\dir1 [share_one]
> - \data\dir2 [share_two]
> - \data\dir3 [share_three]
>
> \data is a mounted partition
>
> when I browse one of my share in windows,
2018 May 25
1
Urgent - R help - Multivariate - Naive Bayes code for R
Friends,
I am doing a URL classification, based on certain key words whether it
contains an executive information or not. I have already went through 50K
URL's and identified the key words and made it as 0, 1 ( 0 - do not have
the key word and 1 - have the key word) and 0- do not contain executive
information 1 - contains executive information.
A sample set of data is shown below.
DomainID
2005 Mar 11
1
reduce_name and ACL's
AIX 5.2, Samba 3.0.11, OpenLDAP 2.2.23.
Can someone explain what reduce name is supposed to be checking?
The final debug uses "p" as the "reduced" name, but p is NULL to start and
only has a value during the code path IF there was no entry found on the
first call to realpath at which point the last component is removed and we
try again.
Now since p points to the character
2016 Jan 06
5
[PATCH klibc 0/5] klibc architecture fixes
Here's an assortment of build and run-time fixes for various
architectures that we've applied in Debian.
Ben.
Aurelien Jarno (1):
ppc64: fix struct stat
Ben Hutchings (2):
MIPS: Update archfcntl.h
syscalls: Override detection of direct socket syscalls on i386, m68k,
s390
Helge Deller (1):
Add pread and pwrite 32bit syscall wrappers for parisc
Mauricio Faria de Oliveira
2015 Oct 13
2
wrong strlcat limit value in realpath.c
In realpath.c at line 182
left_len = strlcat(symlink, left, sizeof(left));
should be
left_len = strlcat(symlink, left, sizeof(symlink));
It's a benign issue because both arrays are the same size. And I can't
imagine that ever changing. But it's inconsistent, not to mention throwing
compiler warnings on OS X.