Re: [CentOS] Centos 6: setfacl: .: Argument list too long

2015-03-20 Thread robert rottermann

On 20.03.2015 02:14, muiz wrote:

Dear all,


  I have a Centos 6 (64bit) server used for samba and ACL control.
  There has a folder which a lot of user can access, when I add a new user's 
ACL, but failed, do you know how to resolve this problem?


use xargs like in:

|find . -name *.pdf -print0 | xargs -0 RUNACOMMAND
robert
|





[root@s1 abc]# getfacl /abc
# file: abc
# owner: root
# group: root
user::rwx
user:user01:---
user:user02:---
user:user03:---
...
user:user25:---
group::r-x
mask::r-x
other::r-x
[root@s1 abc]# setfacl -m u:user30:rwx /abc
setfacl: .: Argument list too long
[root@s1 abc]#




Thanks and best regards,
muiz
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos 7 database access only possible trough localhost and not IP

2015-03-15 Thread robert rottermann

thanks very much to everybody,
it was in deed the fact, that postgres was only listening to localhost.

robert

On 15.03.2015 08:52, robert rottermann wrote:

Hi there and hello to everybody,



 I am all new to centos but I have good experience working with ubuntu and suse.
We are moving a an elderly SuSe box to a virtual machine running centos 7.
Now I experience the following problem.
I can only access postgres using localhost as host. If I use the IP address
(even 127.0.0.1).
I found a similar problem when accessing the host using http. There I 
found out

(after lots of hair pulling) that I have to set a value using setsebool.
So I assume, that I have a similar problem here.
I would be grateful, if somebody could point me in the right direction ..
thanks
 robert

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] centos 7 database access only possible trough localhost and not IP

2015-03-15 Thread robert rottermann

Hi there and hello to everybody,



 I am all new to centos but I have good experience working with ubuntu and suse.
We are moving a an elderly SuSe box to a virtual machine running centos 7.
Now I experience the following problem.
I can only access postgres using localhost as host. If I use the IP address
(even 127.0.0.1).
I found a similar problem when accessing the host using http. There I found 
out
(after lots of hair pulling) that I have to set a value using setsebool.
So I assume, that I have a similar problem here.
I would be grateful, if somebody could point me in the right direction ..
thanks
 robert

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos