Displaying 20 results from an estimated 51 matches for "abspath".
Did you mean:
abs_path
2008 Dec 04
1
Bug#502123: [PATCH] Re: xen-hypervisor-unstable-amd64: Post update from 3.2 -> 3.3, initrd which previously worked fails
...urgency=low
* New upstream snapshot.
--- debian/patches/tools-python-xen-xm-relative-path.diff 2008-12-04 16:50:04.000000000 -0500
+++ debian/patches/tools-python-xen-xm-relative-path.diff 2008-12-04 16:57:38.000000000 -0500
@@ -23,10 +23,10 @@
+ config_image.append([ 'kernel', abspath(vals.kernel, 'boot') ])
if vals.ramdisk:
- config_image.append([ 'ramdisk', os.path.abspath(vals.ramdisk) ])
-+ config_image.append([ 'ramdisk', abspath(vals.kernel, 'boot') ])
++ config_image.append([ 'ramdisk', abspath(vals.ramdi...
2009 Jun 14
0
Bug#502123: xen-utils-unstable: Debian patch breaks paravirtualized guest initrd
...iff?op=file
Please, please, please, please fix it before releasing a broken xen 3.4.0
into Debian.
--- xen-3/debian/patches/tools-python-xen-xm-relative-path.diff
+++ xen-3/debian/patches/tools-python-xen-xm-relative-path.diff
@@ -23,10 +23,10 @@
+ config_image.append([ 'kernel', abspath(vals.kernel, 'boot') ])
if vals.ramdisk:
- config_image.append([ 'ramdisk', os.path.abspath(vals.ramdisk) ])
-+ config_image.append([ 'ramdisk', abspath(vals.kernel, 'boot') ])
++ config_image.append([ 'ramdisk', abspath(vals.ramdi...
2011 Oct 03
0
[LLVMdev] [cfe-dev] Unicode path handling on Windows
How about this:
for (int i = 0; i != NumWChars; ++i)
absPath[i] = std::tolower(absPath[i], std::locale());
seems to be working just fine?
On Mon, Oct 3, 2011 at 9:27 PM, Bryce Cogswell <bryceco at gmail.com> wrote:
> Right, but maybe if you switch to using tolower_l() and pass an appropriate
> locale you can get it to work the same way. I'...
2011 Oct 03
2
[LLVMdev] [cfe-dev] Unicode path handling on Windows
Am 03.10.2011 22:12, schrieb Nikola Smiljanic:
> How about this:
>
> for (int i = 0; i != NumWChars; ++i)
> absPath[i] = std::tolower(absPath[i], std::locale());
>
> seems to be working just fine?
You have two assumptions here:
Assumption 1: For each lowercase character, there is an equivalent
uppercase character, and vice versa.
This is not true in half a dozen languages according to
ftp://ftp.unicode....
2011 Oct 03
2
[LLVMdev] [cfe-dev] Unicode path handling on Windows
Right, but maybe if you switch to using tolower_l() and pass an appropriate locale you can get it to work the same way. I'm not sure what locale that would have to be, but it needs to match whatever NTFS uses for its $upcase file.
On Oct 3, 2011, at 12:19 PM, Nikola Smiljanic wrote:
> CharLowerW does the right thing. But I still need Windows.h to use it :)
>
> On Mon, Oct 3, 2011
2011 Oct 03
0
[LLVMdev] [cfe-dev] Unicode path handling on Windows
On 10/03/2011 11:59 PM, Joachim Durchholz wrote:
> Am 03.10.2011 22:12, schrieb Nikola Smiljanic:
>> How about this:
>>
>> for (int i = 0; i != NumWChars; ++i)
>> absPath[i] = std::tolower(absPath[i], std::locale());
>>
>> seems to be working just fine?
>
> You have two assumptions here:
>
> Assumption 1: For each lowercase character, there is an equivalent
> uppercase character, and vice versa.
> This is not true in half a dozen lan...
2008 Dec 15
1
Bug#502123: [PATCH] Re: xen-hypervisor-unstable-amd64: Post update from 3.2 -> 3.3, initrd which previously worled fails
...ravirtualized guest that has an initrd (which is basically all
paravirtualized guests), because the erroneous
debian/patches/tools-python-xen-xm-relative-path.diff causes the path to
the ramdisk to be replaced with the path to the kernel:
- config_image.append([ 'ramdisk', os.path.abspath(vals.ramdisk) ])
+ config_image.append([ 'ramdisk', abspath(vals.kernel, 'boot') ])
This is a very bad regression over xen-utils-3.2, and an obvious typo with
an easy and well-tested fix.
2009 Nov 06
0
Is there a function that can test if a path is in a directory or one of its sub-directory (recursively)?
...in a directory or its sub-directory (recursively).
>>>
>>> For example, /a/b/c/d is in /a its sub-directory (recursively). Could
>>> somebody let me know if such function is available somewhere?
>>
>> Couldn't you just canonicalize the paths using os.path.abspath() and
>> friends and then do subdirectory.startswith(parent_directory) [as
>> strings]?
>
> Beware of directories starting with the same letters.
> I'd canonicalize, split the strings on os.sep, and compare the resulting
> lists up to the shortest one.
Just to add one m...
2013 Mar 30
0
I am having problems installing the latest samba4 git checkout as of 3/30/13
...dcard_main
fun(ctx)
File "/root/samba-master/buildtools/wafadmin/Scripting.py", line 355, in
install
build_impl(bld)
File "/root/samba-master/buildtools/wafadmin/Scripting.py", line 408, in
build_impl
info("Waf: Leaving directory `%s'" % bld.bldnode.abspath())
File "/root/samba-master/buildtools/wafadmin/Node.py", line 420, in
abspath
ret = self.__class__.bld.cache_node_abspath[variant].get(self.id, None)
AttributeError: 'NoneType' object has no attribute 'cache_node_abspath'
make: *** [install] Error 1
Please someone...
2010 Jan 26
1
samba4 HEAD: unable to provision
...c,ldap_dryrun_mode=opts.ldap_dryrun_mode,useeadb=eadb)
File "bin/python/samba/provision.py", line 1182, in provision
targetdir, sid_generator,useeadb)
File "bin/python/samba/provision.py", line 471, in make_smbconf
posixeadb_line = "posix:eadb = " +
os.path.abspath(os.path.join(os.path.join(targetdir, "private"),"eadb.tdb"))
File "/usr/lib/python2.5/posixpath.py", line 62, in join
elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'
What does i...
2017 Jan 29
0
classic upgrade fails with 4.6-test
...orted for production use). "
"Please re-run with --use-xattrs omitted.")
elif use_xattrs == "auto" and not s3conf.get("posix:eadb"):
if targetdir:
tmpfile = tempfile.NamedTemporaryFile(dir=os.path.abspath(targetdir))
else:
tmpfile = tempfile.NamedTemporaryFile(dir=os.path.abspath(os.path.dirname(lp.get("private dir"))))
try:
try:
samba.ntacls.setntacl(lp, tmpfile.name,
"O:S-1-5-...
2011 Oct 04
2
[LLVMdev] [cfe-dev] Unicode path handling on Windows
...forming a char-by-char conversion is valid; for example the NTFS-3G driver uses a simplistic upcase table and seems to work fine. I suspect Windows does the same.
On Oct 3, 2011, at 1:12 PM, Nikola Smiljanic wrote:
> How about this:
>
> for (int i = 0; i != NumWChars; ++i)
> absPath[i] = std::tolower(absPath[i], std::locale());
>
> seems to be working just fine?
>
> On Mon, Oct 3, 2011 at 9:27 PM, Bryce Cogswell <bryceco at gmail.com> wrote:
> Right, but maybe if you switch to using tolower_l() and pass an appropriate locale you can get it to work the sa...
2005 May 17
4
check permissions of all my files!
List, How can I check the permissions of all the files of my CentOS
server?
I'm looking for some kind of report with this information..
Is there some command? Some tool?
Regards,
Israel
2017 Jul 07
3
[Gluster-devel] gfid and volume-id extended attributes lost
...n only happen if the
source brick doesn't have gfid, which doesn't seem to match with the
situation you explained.
# line filename / context / line
1 1234 xlators/mgmt/glusterd/src/glusterd-quota.c
<<glusterd_remove_quota_limit>>
ret = sys_lremovexattr (abspath, QUOTA_LIMIT_KEY);
2 1243 xlators/mgmt/glusterd/src/glusterd-quota.c
<<glusterd_remove_quota_limit>>
ret = sys_lremovexattr (abspath, QUOTA_LIMIT_OBJECTS_KEY);
3 6102 xlators/mgmt/glusterd/src/glusterd-utils.c
<<glusterd_check_and_set_brick_xattr>>...
2017 Jan 29
3
classic upgrade fails with 4.6-test
On Sun, Jan 29, 2017 at 4:54 PM, Rowland Penny <rpenny at samba.org> wrote:
> When you built Samba, did you use the '--with-ntvfs-fileserver' or
> '--enable-selftest' options with configure ?
>
I used '--without-ntvfs-fileserver'.
2012 Jun 04
1
migrate samba3 to samba4 fail with new git sources
...thon2.7/site-packages/samba/upgrade.py",
line 675, in upgrade_from_samba3
useeadb=useeadb, dns_backend=dns_backend)
File
"/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py",
line 1666, in provision
file =
tempfile.NamedTemporaryFile(dir=os.path.abspath(os.path.dirname(lp.get("private
dir"))))
Thanks
--
Herv? H?noch
Responsable informatique
Institut Sainte Catherine
1750, chemin du Lavarin, 84000 Avignon
T?l?phone : 04.90.27.57.44
Messagerie : h.henoch at isc84.org
2017 Jul 07
0
[Gluster-devel] gfid and volume-id extended attributes lost
...n only happen if the source brick doesn't have gfid, which doesn't seem to match with the situation you explained.
# line filename / context / line
1 1234 xlators/mgmt/glusterd/src/glusterd-quota.c <<glusterd_remove_quota_limit>>
ret = sys_lremovexattr (abspath, QUOTA_LIMIT_KEY);
2 1243 xlators/mgmt/glusterd/src/glusterd-quota.c <<glusterd_remove_quota_limit>>
ret = sys_lremovexattr (abspath, QUOTA_LIMIT_OBJECTS_KEY);
3 6102 xlators/mgmt/glusterd/src/glusterd-utils.c <<glusterd_check_and_set_brick_xattr>>...
2010 Oct 22
0
[PATCH node] First draft of replacing some of the ovirt-config-* scripts with python equivalents.
...return m.hexdigest()
+
+
+# persist configuration to /config
+# ovirt_store_config /etc/config /etc/config2 ...
+# copy to /config and bind-mount back
+
+def ovirt_store_config(files):
+ if os.path.ismount("/config"):
+ for p in files:
+ filename = os.path.abspath(filename)
+ persist_it=true
+
+ # ensure that, if this is a directory
+ # that it's not already persisted
+ if os.path.isdir(filename):
+ if os.path.isdir("/config/" + filename):
+ log("Directory alread...
2015 Feb 16
6
gpo update problem
...n self.run(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/samba/netcmd/ntacl.py", line
218, in run
lp, use_ntvfs=use_ntvfs)
File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py",
line 1539, in setsysvolacl
file = tempfile.NamedTemporaryFile(dir=os.path.abspath(sysvol))
File "/usr/lib/python2.7/tempfile.py", line 454, in NamedTemporaryFile
(fd, name) = _mkstemp_inner(dir, prefix, suffix, flags)
File "/usr/lib/python2.7/tempfile.py", line 235, in _mkstemp_inner
fd = _os.open(file, flags, 0600)
Anyone got an idea what this means? M...
2017 Jul 08
2
[Gluster-devel] gfid and volume-id extended attributes lost
...rick doesn't have gfid, which doesn't seem to match with the
> situation you explained.
>
> # line filename / context / line
> 1 1234 xlators/mgmt/glusterd/src/glusterd-quota.c
> <<glusterd_remove_quota_limit>>
> ret = sys_lremovexattr (abspath, QUOTA_LIMIT_KEY);
> 2 1243 xlators/mgmt/glusterd/src/glusterd-quota.c
> <<glusterd_remove_quota_limit>>
> ret = sys_lremovexattr (abspath, QUOTA_LIMIT_OBJECTS_KEY);
> 3 6102 xlators/mgmt/glusterd/src/glusterd-utils.c
> <<glusterd_check_and_...