Displaying 20 results from an estimated 203 matches for "lchown".
Did you mean:
chown
2013 Nov 08
0
[PATCH 2/3] syscalls: Add syscalls needed by arm64
...t linaro.org>
---
usr/klibc/Kbuild | 3 +++
usr/klibc/SYSCALLS.def | 33 +++++++++++++++++----------------
usr/klibc/access.c | 12 ++++++++++++
usr/klibc/chmod.c | 17 +++++++++++++++++
usr/klibc/chown.c | 12 ++++++++++++
usr/klibc/dup2.c | 11 +++++++++++
usr/klibc/lchown.c | 12 ++++++++++++
usr/klibc/link.c | 12 ++++++++++++
usr/klibc/lstat.c | 17 +++++++++++++++++
usr/klibc/mkdir.c | 14 ++++++++++++++
usr/klibc/mknod.c | 14 ++++++++++++++
usr/klibc/open64.c | 22 ++++++++++++++++++++++
usr/klibc/poll.c | 21 +++++++++++++++++...
2013 Nov 12
0
[klibc:master] syscalls: Add syscalls needed by arm64
...zytor.com>
---
usr/klibc/Kbuild | 3 +++
usr/klibc/SYSCALLS.def | 39 ++++++++++++++++++++-------------------
usr/klibc/access.c | 12 ++++++++++++
usr/klibc/chmod.c | 13 +++++++++++++
usr/klibc/chown.c | 12 ++++++++++++
usr/klibc/dup2.c | 11 +++++++++++
usr/klibc/lchown.c | 12 ++++++++++++
usr/klibc/link.c | 12 ++++++++++++
usr/klibc/lstat.c | 14 ++++++++++++++
usr/klibc/mkdir.c | 14 ++++++++++++++
usr/klibc/mknod.c | 14 ++++++++++++++
usr/klibc/open.c | 29 +++++++++++++++++++++++++++--
usr/klibc/pipe.c | 11 +++++++++++...
2013 Nov 11
5
[PATCH V2 0/3] Introduce arm64 support
...arm64/sysstub.ph | 25 ++++++++++++++++
usr/klibc/arch/arm64/vfork.S | 34 +++++++++++++++++++++
usr/klibc/chmod.c | 13 ++++++++
usr/klibc/chown.c | 12 ++++++++
usr/klibc/dup2.c | 11 +++++++
usr/klibc/lchown.c | 12 ++++++++
usr/klibc/link.c | 12 ++++++++
usr/klibc/lstat.c | 14 +++++++++
usr/klibc/mkdir.c | 14 +++++++++
usr/klibc/mknod.c | 14 +++++++++
usr/klibc/open.c...
2013 Nov 08
9
[PATCH 0/3] Introduce arm64 support
.../arm64/sysstub.ph | 25 +++++++++++++++
usr/klibc/arch/arm64/vfork.S | 34 ++++++++++++++++++++
usr/klibc/chmod.c | 17 ++++++++++
usr/klibc/chown.c | 12 +++++++
usr/klibc/dup2.c | 11 +++++++
usr/klibc/lchown.c | 12 +++++++
usr/klibc/link.c | 12 +++++++
usr/klibc/lstat.c | 17 ++++++++++
usr/klibc/mkdir.c | 14 +++++++++
usr/klibc/mknod.c | 14 +++++++++
usr/klibc/open64.c...
2005 Aug 08
3
[PATCH] add inotify system calls
I've added this to our klibc copy in the udev tree to support
the recently added Inotify.
Thanks,
Kay
-------------- next part --------------
diff --git a/klibc/klibc/SYSCALLS.def b/klibc/klibc/SYSCALLS.def
--- a/klibc/klibc/SYSCALLS.def
+++ b/klibc/klibc/SYSCALLS.def
@@ -114,6 +114,9 @@ int lchown32,lchown::lchown(const char *
int getcwd::__getcwd(char *, size_t)
<?> int utime(const char *, const struct utimbuf *)
<?> int utimes(const char *, const struct timeval *)
+<?> int inotify_init(void)
+<?> int inotify_add_watch(int, const char *, __u32)
+<?> int inot...
2002 Jun 07
0
problem related to filename length
...1) close(fd1);
+ flag = 1;
+ break;
+ }
+
+ strlcpy(template, fnametmp, sizeof(template));
+
+ /* we initially set the perms without the
+ setuid/setgid bits to ensure that there is no race
+ condition. They are then correctly updated after
+ the lchown. Thanks to snabb@epipe.fi for pointing
+ this out. We also set it initially without group
+ access because of a similar race condition. */
+
+ fd2 = do_mkstemp(fnametmp, file->mode & INITACCESSPERMS);
+ }while(!flag && (retry++ < max_retry) &&
+...
2003 Mar 06
1
OSX & Authentication
Hi,
Taking a stab at getting OSX Server 10.2.4 running Dovecot -- with a
minor tweak of replacing lchown() with chown() in the
src/lib/sakfe-mkdir.c, it compiled and installed without any problems.
However, oddness in authentication. It works once, but only once. I'm
trying to use pam and have the following:
auth required pam_securityserver.so
auth sufficient pam_unix.so...
2014 Sep 27
2
[PATCH 1/2] Implement realpath()
...this all for us! */
}
+__extern char *realpath(const char *, char *);
+
#endif /* _STDLIB_H */
--- a/usr/klibc/Kbuild
+++ b/usr/klibc/Kbuild
@@ -60,7 +60,7 @@ klib-y += vsnprintf.o snprintf.o vsprint
send.o recv.o \
access.o chmod.o chown.o dup2.o mknod.o poll.o rename.o stat.o \
lchown.o link.o rmdir.o unlink.o utimes.o lstat.o mkdir.o \
- readlink.o select.o symlink.o pipe.o \
+ readlink.o realpath.o select.o symlink.o pipe.o \
ctype/isalnum.o ctype/isalpha.o ctype/isascii.o \
ctype/isblank.o ctype/iscntrl.o ctype/isdigit.o \
ctype/isgraph.o ctype/islower.o ctype...
2002 Nov 05
0
[PATCH] Add getlink command to sftp
...;, filename);
+ return(-1);
+ }
+ else {
+ ret = symlink(dest, filename);
+ status = (ret == -1) ? errno : 0;
+ if (status != 0)
+ error("Couldn't create symlink \"%s\": %s",
filename,
+ strerror(status));
+ if (getuid() == 0 || geteuid() == 0) {
+ ret = lchown(filename, attrib.uid, attrib.gid);
+ status = (ret == -1) ? errno : 0;
+ if (status != 0)
+ error("Couldn't set ownership on symlink
\"%s\": %s", filename,
+ strerror(status));
+ }
+ }
+ return(status);
+ }
+
static void
send_read_request(int fd_...
2023 Jan 14
1
[klibc:time64] time: Use 64-bit time types on all architectures
..._T
diff --git a/usr/klibc/SYSCALLS.def b/usr/klibc/SYSCALLS.def
index d46bb548..660efc66 100644
--- a/usr/klibc/SYSCALLS.def
+++ b/usr/klibc/SYSCALLS.def
@@ -140,7 +140,8 @@ int fchown32,fchown::fchown(int, uid_t, gid_t);
<?> int fchownat(int, const char *, uid_t, gid_t, int);
<?> int lchown32,lchown::lchown(const char *, uid_t, gid_t);
int getcwd::__getcwd(char *, size_t);
-int utimensat(int, const char *, const struct timespec *, int);
+<32> int utimensat_time64::utimensat(int, const char *, const struct timespec *, int);
+<64> int utimensat(int, const char *, const stru...
2014 Feb 10
2
/usr/bin/ssh not found when rsync is executed within rsnapshot
...te >> /home/backupuser/backuplog
echo $@ >> /home/backupuser/backuplog
/usr/bin/sudo /usr/bin/rsync "$@";
in the /etc/sudoers there is a line
backupuser ALL=NOPASSWD: /usr/bin/rsync
when i enter e.g. sudo rsnapshot -D hourly on the backup server rpi-home i get this
require Lchown
Lchown module loaded successfully
Setting locale to POSIX "C"
echo 4702 > /var/run/rsnapshot.pid
mkdir -m 0755 -p /media/extfp/Backup/rsnapshot/test/hourly.0/
/usr/bin/rsync -av -ev --rsync-path=/home/backupuser/rsync-wrapper.sh \
--rsh="/usr/bin/ssh -i /home/backupuser/.ssh/i...
2010 Dec 14
8
builder-ubuntu febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...itfail
extensions
fchdir
fclose
fcntl
fcntl-h
fcntl-safer
fdopendir
filevercmp
float
fts
full-write
getcwd
getdtablesize
getopt-gnu
getopt-posix
gettext-h
hash
hash-pjw
i-ring
include_next
inline
intprops
inttypes
lchown
lstat
malloc-posix
memchr
mempcpy
memrchr
mkdir
multiarch
open
openat
openat-die
openat-safer
realloc-posix
rmdir
safe-read
safe-write
same-inode
save-cwd
size_max
ssize_t
stat
stdarg
stdbool
stddef
stdi...
2011 Jan 14
7
builder-ubuntu febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...itfail
extensions
fchdir
fclose
fcntl
fcntl-h
fcntl-safer
fdopendir
filevercmp
float
fts
full-write
getcwd
getdtablesize
getopt-gnu
getopt-posix
gettext-h
hash
hash-pjw
i-ring
include_next
inline
intprops
inttypes
lchown
lstat
malloc-posix
memchr
mempcpy
memrchr
mkdir
multiarch
open
openat
openat-die
openat-safer
realloc-posix
rmdir
safe-read
safe-write
same-inode
save-cwd
size_max
ssize_t
stat
stdarg
stdbool
stddef
stdi...
2011 Feb 15
7
builder-ubuntu febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...itfail
extensions
fchdir
fclose
fcntl
fcntl-h
fcntl-safer
fdopendir
filevercmp
float
fts
full-write
getcwd
getdtablesize
getopt-gnu
getopt-posix
gettext-h
hash
hash-pjw
i-ring
include_next
inline
intprops
inttypes
lchown
lstat
malloc-posix
memchr
mempcpy
memrchr
mkdir
multiarch
open
openat
openat-die
openat-safer
realloc-posix
rmdir
safe-read
safe-write
same-inode
save-cwd
size_max
ssize_t
stat
stdarg
stdbool
stddef
stdi...
2011 Jan 14
7
builder-debian febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...itfail
extensions
fchdir
fclose
fcntl
fcntl-h
fcntl-safer
fdopendir
filevercmp
float
fts
full-write
getcwd
getdtablesize
getopt-gnu
getopt-posix
gettext-h
hash
hash-pjw
i-ring
include_next
inline
intprops
inttypes
lchown
lstat
malloc-posix
memchr
mempcpy
memrchr
mkdir
multiarch
open
openat
openat-die
openat-safer
realloc-posix
rmdir
safe-read
safe-write
same-inode
save-cwd
size_max
ssize_t
stat
stdarg
stdbool
stddef
stdi...
2011 Feb 15
7
builder-debian febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...itfail
extensions
fchdir
fclose
fcntl
fcntl-h
fcntl-safer
fdopendir
filevercmp
float
fts
full-write
getcwd
getdtablesize
getopt-gnu
getopt-posix
gettext-h
hash
hash-pjw
i-ring
include_next
inline
intprops
inttypes
lchown
lstat
malloc-posix
memchr
mempcpy
memrchr
mkdir
multiarch
open
openat
openat-die
openat-safer
realloc-posix
rmdir
safe-read
safe-write
same-inode
save-cwd
size_max
ssize_t
stat
stdarg
stdbool
stddef
stdi...
2010 Dec 14
7
builder-debian febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...itfail
extensions
fchdir
fclose
fcntl
fcntl-h
fcntl-safer
fdopendir
filevercmp
float
fts
full-write
getcwd
getdtablesize
getopt-gnu
getopt-posix
gettext-h
hash
hash-pjw
i-ring
include_next
inline
intprops
inttypes
lchown
lstat
malloc-posix
memchr
mempcpy
memrchr
mkdir
multiarch
open
openat
openat-die
openat-safer
realloc-posix
rmdir
safe-read
safe-write
same-inode
save-cwd
size_max
ssize_t
stat
stdarg
stdbool
stddef
stdi...
2011 May 13
3
builder-debian febootstrap success 6ab9465001dfaa52edc5992ee71f2e9aecc2085d
...itfail
extensions
fchdir
fclose
fcntl
fcntl-h
fcntl-safer
fdopendir
filevercmp
float
fts
full-write
getcwd
getdtablesize
getopt-gnu
getopt-posix
gettext-h
hash
hash-pjw
i-ring
include_next
inline
intprops
inttypes
lchown
lstat
malloc-posix
memchr
mempcpy
memrchr
mkdir
multiarch
open
openat
openat-die
openat-safer
realloc-posix
rmdir
safe-read
safe-write
same-inode
save-cwd
size_max
ssize_t
stat
stdarg
stdbool
stddef
stdi...
2010 Dec 07
0
builder-debian febootstrap FAILED configure step af9f9305a0a48829392a57d24aee30978b449d1d
...itfail
extensions
fchdir
fclose
fcntl
fcntl-h
fcntl-safer
fdopendir
filevercmp
float
fts
full-write
getcwd
getdtablesize
getopt-gnu
getopt-posix
gettext-h
hash
hash-pjw
i-ring
include_next
inline
intprops
inttypes
lchown
lstat
malloc-posix
memchr
mempcpy
memrchr
mkdir
multiarch
open
openat
openat-die
openat-safer
realloc-posix
rmdir
safe-read
safe-write
same-inode
save-cwd
size_max
ssize_t
stat
stdarg
stdbool
stddef
stdi...
2011 Mar 22
1
builder-debian febootstrap success 6720ad28eddbcd671032c151f7219a35ba615b1b
...itfail
extensions
fchdir
fclose
fcntl
fcntl-h
fcntl-safer
fdopendir
filevercmp
float
fts
full-write
getcwd
getdtablesize
getopt-gnu
getopt-posix
gettext-h
hash
hash-pjw
i-ring
include_next
inline
intprops
inttypes
lchown
lstat
malloc-posix
memchr
mempcpy
memrchr
mkdir
multiarch
open
openat
openat-die
openat-safer
realloc-posix
rmdir
safe-read
safe-write
same-inode
save-cwd
size_max
ssize_t
stat
stdarg
stdbool
stddef
stdi...