Displaying 20 results from an estimated 120 matches for "setattr".
Did you mean:
getattr
2017 Aug 17
0
URGENT: Update issues from 3.6.6 to 3.10.2 Accessing files via samba come up with permission denied
...ngrps:2),
ctx(uid:0,gid:0,in-groups:0,perm:700,updated-fop:LOOKUP, acl:-)
[Permission denied]
[2017-08-16 20:08:57.207733] W [fuse-bridge.c:471:fuse_entry_cbk]
0-glusterfs-fuse: 643111247: LOOKUP() /etc/samba/locks => -1
(Permission denied)
[2017-08-16 20:08:57.536276] W [fuse-bridge.c:1067:fuse_setattr_cbk]
0-glusterfs-fuse: 643111420: SETATTR()
/projects/ACTIVE/Automotive/MercedesBenz/AN Mercedes Benz of Miami/04
REVIT AND CAD/02 CD REVIT/2017-08-15 -- Mercedes Benz of
Miami_CDs_backup/deltas.dat => -1 (Operation not permitted)
[2017-08-16 20:08:57.541216] W [fuse-bridge.c:1067:fuse_setattr_c...
2016 Sep 16
2
SELinux module
...is job of creating home user
directories.
In the logs, I found about creating a new module with audi2allow and
semodule:
[root@ audit]# sealert -l fe2d7f60-d3ff-405b-b518-38d0cf021598
X11 connection rejected because of wrong authentication.
SELinux is preventing /usr/libexec/oddjob/mkhomedir from setattr access on
the file .bash_logout.
***** Plugin catchall_boolean (89.3 confidence) suggests
******************
If you want to allow use to nfs home dirs
Then you must tell SELinux about this by enabling the 'use_nfs_home_dirs'
boolean.
You can read 'None' man page for more details....
2018 Sep 03
2
True length - length(unclass(x)) - without having to call unclass()?
...t; # an instance of a Foo object
> x <- structure(list(a = 1, b = list(b1 = 1, b2 = 2)), class = "Foo")
>
> # its length
> stopifnot(length(x) == 3L)
>
> # get its length as if it were a standard list
> .length <- function(x) {
> ? cls <- class(x)
> ? # setattr() does not make a copy, but modifies by reference
> ? data.table::setattr(x, "class", NULL)
> ? # get the length
> ? len <- base::length(x)
> ? # re-set original classes
> ? data.table::setattr(x, "class", cls)
> ? # return the unclassed length
> ? len
&g...
2016 Sep 16
0
SELinux module
...logs, I found about creating a new module with audi2allow and
> > semodule:
> >
> > [root@ audit]# sealert -l fe2d7f60-d3ff-405b-b518-38d0cf021598
> > X11 connection rejected because of wrong authentication.
> > SELinux is preventing /usr/libexec/oddjob/mkhomedir from setattr access
> on
> > the file .bash_logout.
> >
> > ***** Plugin catchall_boolean (89.3 confidence) suggests
> > ******************
> >
> > If you want to allow use to nfs home dirs
> > Then you must tell SELinux about this by enabling the 'use_nfs_home_...
2016 Jul 06
2
How to have more than on SELinux context on a directory
...ere's already a number of rules in the default
policy which allow ftp access to samba shares and smb/nmb access to
files labelled with tftpdir_rw_t. Eg
# sesearch --allow -t samba_share_t | grep samba_share_t | grep ftp
allow ftpd_t samba_share_t : file { ioctl read write create getattr
setattr lock append unlink link rename open } ;
allow ftpd_t samba_share_t : dir { ioctl read write create getattr
setattr lock unlink link rename add_name remove_name reparent search
rmdir open } ;
allow ftpd_t samba_share_t : lnk_file { ioctl read write create
getattr setattr lock append unlin...
2018 Sep 03
0
True length - length(unclass(x)) - without having to call unclass()?
...tting attributes on objects with reference
> count (currently NAMED value) greater than 0 (in some special cases 1 is
> ok) is cheating - please see Writing R Extensions - and getting speedups
> via cheating leads to fragile, unmaintainable and buggy code.
Please note that data.table::setattr is an exported function of a widely
used package (available from CRAN), which also has a description in
?data.table::setattr why it might be useful.
Of course one has to use set* functions from data.table with extreme
care, but if one does it in the right way, they can help a lot. For
example...
2016 Jul 06
0
How to have more than on SELinux context on a directory
...r of rules in the default
> policy which allow ftp access to samba shares and smb/nmb access to files
> labelled with tftpdir_rw_t. Eg
>
> # sesearch --allow -t samba_share_t | grep samba_share_t | grep ftp
> allow ftpd_t samba_share_t : file { ioctl read write create getattr
> setattr lock append unlink link rename open } ;
> allow ftpd_t samba_share_t : dir { ioctl read write create getattr
> setattr lock unlink link rename add_name remove_name reparent search rmdir
> open } ;
> allow ftpd_t samba_share_t : lnk_file { ioctl read write create getattr
> setat...
2017 Jun 12
1
URGENT: Update issues from 3.6.6 to 3.10.2 Accessing files via samba come up with permission denied
Did the logs provide any hints as to what the issue may be?
Diego
On Sat, Jun 3, 2017 at 12:16 PM, Diego Remolina <dijuremo at gmail.com> wrote:
> Thanks for taking the time to look into this. Since we needed downtime
> due to the gluster update, we also updated the OS, including samba. We
> went from 4.2.x to 4.4.4 and many other packages for CentOS were
> updated as well. OS
2010 May 07
1
Weird issue with gluster mount
Hey guys,
I have a weird issue with my glusterfs mount point.
I'm trying to touch it on one machine:
root at il-bi-s01:/mnt# touch gfs
touch: setting times of `gfs': Invalid argument
But on another machine, it works:
root at diablo /mnt # touch gfs
root at diablo /mnt #
On both machines the mount is working fine, I'm just wondering what's up with this?
CountZ
2012 Nov 22
0
Still cannot manage folders through Samba4 with SELinux samba_export_all_rw enabled
...rch --allow -C | grep samba_export_all_rw:
DT allow smbd_t noxattrfs : file { ioctl read getattr lock open } ; [
samba_export_all_rw ]
DT allow smbd_t noxattrfs : dir { getattr search open } ; [
samba_export_all_rw ]
DT allow smbd_t non_security_file_type : file { ioctl read write create
getattr setattr lock append unlink link rename open } ; [
samba_export_all_rw ]
DT allow smbd_t non_security_file_type : dir { ioctl read write getattr
lock add_name remove_name search open } ; [ samba_export_all_rw ]
DT allow smbd_t non_security_file_type : lnk_file { ioctl read write
create getattr setattr lo...
2014 Nov 11
0
smbtorture tests errors
...smbtorture -U user%passwd //server/torture-vol raw.sfileinfo
smbtorture 4.1.13
Using seed 1415694107
time: 2014-11-11 03:21:47.380755
progress: 6
test: base
time: 2014-11-11 03:21:47.381135
Failed to setup EAs
create_time not setup correctly
Failed to setup EAs
create_time not setup correctly
Test setattr
setting to NORMAL doesn't do anything
a zero write_time means don't change
Test setattre
(../source4/torture/raw/setfileinfo.c:226) SETATTRE - all_info/create_time
should be 0x546075b2 - 0x5461d232
Mon Nov 10 03:22:10 2014 EST Tue Nov 11 04:09:06 2014 EST
create_time: Tue Nov...
2016 Jul 05
4
How to have more than on SELinux context on a directory
????????? ???????? ????? 2016-07-05 19:58:
>> I need to have the tftpdir_rw_t and samba_share_t SELinux context
>> on
>> the same directory.
>>
>> How can we do this? Is it feasible to have more than one SELinux
>> context?
>
> I don't think it's possible/feasible.
> You'd probably need to add a new type and necessary rules to your
2009 Apr 15
2
SELinux and "i_stream_read() failed: Permission denied"
...xec_t;
type src_t;
type tmp_t;
type usr_t;
type user_home_dir_t;
type user_home_t;
type var_log_t;
class capability { sys_nice chown };
class file { append create execute execute_no_trans \
getattr ioctl link lock read rename setattr write unlink };
class dir { add_name getattr create read remove_name \
rename write search setattr rmdir };
class fifo_file { getattr write };
class filesystem getattr;
class sock_file write;
class unix_stream_socket { connectto getattr read write }...
2007 Jun 29
2
Mknod: Operation not permitted
When trying to move my root to a btrfs filesystem, I found a missing
feature (or a bug). It's not possible to create device files. To
reproduce, run this on a btrfs filesystem:
mknod test c 1 1
result:
mknod: `test': Operation not permitted
Frank
1998 Apr 16
2
Problem with visual C++ and samba
...e
code maintained on a samba server. Occasionaly the compiler reports
that it cant open the file vc50.pch. The samba server is running on a
freebsd box. Taking a look at the log files it looks like when the
operation fails the server is processing the command
open (vc50.pch for exclusive use
write
setattrE
write
open (vc50.pch and this not unreasonably fails
on a succesfull compilation the commands are
open (vc50.pch for exclusive use
write
setattrE
write
close vc50.pch
open (vc50.pch which now works
Has anyone any ideas what may be causing this.?
The relevant sections of the log...
2018 Sep 01
0
True length - length(unclass(x)) - without having to call unclass()?
...x, recursive = TRUE, use.names = FALSE))
}
# an instance of a Foo object
x <- structure(list(a = 1, b = list(b1 = 1, b2 = 2)), class = "Foo")
# its length
stopifnot(length(x) == 3L)
# get its length as if it were a standard list
.length <- function(x) {
cls <- class(x)
# setattr() does not make a copy, but modifies by reference
data.table::setattr(x, "class", NULL)
# get the length
len <- base::length(x)
# re-set original classes
data.table::setattr(x, "class", cls)
# return the unclassed length
len
}
# to check that we do not m...
2015 Jul 04
4
[LLVMdev] LLVM parsers for popular languages? - Python, Rust, Go
...that in mind, will use the AST modules provided by the languages (with
the exception of libclang for C++).
Antoine: Am aware of Numba, nice job there BTW. So is there a [decoupled]
LLVM parser which I can use to read Python files and analyse objects
(including computing their attributes in OO and setattr scenarios)?
On Wed, Jul 1, 2015 at 10:23 PM, Antoine Pitrou <antoine at python.org> wrote:
>
> Hi,
>
> Alec Taylor <alec.taylor6 <at> gmail.com> writes:
> >
> > Would be good to have Python, Rust and Go.Are there any LLVM parsers
> > around for thes...
2015 Jun 08
4
columna de un data.table puede ser data.frame?
...da error
PesosParam <- data.table(,.(Parametros, Peso:=
information.gain(In.hospital_death~., ParamCol)))
Es posible hacer lo que digo? o debo hacer una transformación del
data.frame a data.table explícitamente. Esto también lo he probado con el
código:
# Conversión de data.frame a data.table
setattr(PesosParam, "class", c("data.table", "data.frame"))
data.table:::settruelength(PesosParam, 0L)
invisible(alloc.col(PesosParam))
pero no encuentra settruelength
Gracias
Un saludo
MªLuz Morales
[[alternative HTML version deleted]]
2011 Dec 08
0
folder with no permissions
...>> 288K drwxrwxrwx 6 root root 24K 2011-12-04 14:28 ../
>>> 4.0K d--------- 2 root root 4.0K 2011-12-06 11:32 tmp/
>>
>>
>
> each node has error trying to set permissions on that folder.
>
>>
>>> [2011-12-06 12:23:36.593604] E [marker.c:2018:marker_setattr_cbk]
>>> 0-gluster1-marker: Operation not permitted occured during setattr of
>>> <nul>
>>> [2011-12-06 12:23:36.593669] I
>>> [server3_1-fops.c:1526:server_setattr_cbk] 0-gluster1-server: 433:
>>> SETATTR /test/iozone/tmp (-734804259) ==> -1 (O...
2018 Aug 24
5
True length - length(unclass(x)) - without having to call unclass()?
Is there a low-level function that returns the length of an object 'x'
- the length that for instance .subset(x) and .subset2(x) see? An
obvious candidate would be to use:
.length <- function(x) length(unclass(x))
However, I'm concerned that calling unclass(x) may trigger an
expensive copy internally in some cases. Is that concern unfounded?
Thxs,
Henrik