opensuse
[Arriba] [Todas las Listas]

[opensuse] autofs Problema de permiso del monte

To: opensuse@xxxxxxxxxxxx
Subject: [opensuse] autofs Problema de permiso del monte
From: lynn <lynn@xxxxxxxxxxxx>
Date: Thu, 19 Apr 2012 09:24:52 +0200
Delivered-to: opensuse@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 19 Apr 2012 03:24:18 -0400
Envelope-to: traductor@xxxxxxxxxxx
List-archive: <http://lists.opensuse.org/opensuse/>
List-help: <mailto:opensuse+help@opensuse.org>
List-owner: <mailto:opensuse+owner@opensuse.org>
List-post: <mailto:opensuse@opensuse.org>
List-subscribe: <mailto:opensuse+subscribe@opensuse.org>
List-unsubscribe: <mailto:opensuse+unsubscribe@opensuse.org>
Mailing-list: contact opensuse+help@xxxxxxxxxxxx; run by mlmmj
User-agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120312 Thunderbird/11.0
*Hi

Pondré la cuestión primero:
Es allí yo manera puedo decir el *automounter para respetar los permisos de la carpeta está montando?

*Otherwise, aquí es los detalles:
estoy exportando una carpeta así:
/*etc/casa
/de exportaciones2/personal/de MARINA *(*rw,*sec=ninguno:*sys:*krb5:*krb5*i:*krb5*p,*insecure)

La carpeta de personal tiene estos permisos y tiene los directorios de casa de miembros de personal:
*drwxrwx---   4 personal   de raíz

En el cliente, aquí es /*etc/coche.Casa
maestra2/personal/de MARINA /*etc/coche.*misc

Y aquí es /*etc/coche.*misc
* -*rw,*sec=*krb5,*vers=3 *hh1:/casa2/personal/de MARINA

*rcautofs seguido por espectáculos de monte:
/*etc/coche.*misc En /casa2/personal/de MARINA tipo *autofs (*rw,*relatime,*fd=6,*pgrp=4075,*timeout=600,*minproto=5,*maxproto=5,indirecto)

Problema:
En el cliente, la carpeta de personal ha acontecido:
*drwxr-*xr-*x  3 raíz   arraiga

Los permisos quedan incluso si la carpeta de personal es accedida. Todo el mundo tiene acceso. CUALQUIER carpeta monto utilizar *autofs acontece *drwxr-*xr-*x raíz de raíz.

*Workarounds He encontrado:

1. No Lo monta directamente: *i.*e. Lo monta *implicitly como parte de una carpeta de padre. El problema allí es que derrota el objeto de habiendo el *autofs porque la totalidad de la carpeta de personal es montada incluso si sólo un miembro de personal es *logged dentro.

2. El martillo grande: Corrido un guión a *chmod 0770 y *chown raíz:personal en *startup.

*Thanks,
*L *x
--
A *unsubscribe, *e-correo: *opensuse+unsubscribe@xxxxxxxxxxxx
para contactar el dueño, *e-correo: *opensuse+owner@xxxxxxxxxxxx


Hi

I'll put the question first:
Is there I way I can tell the automounter to respect the permissions of the folder it is mounting?

Otherwise, here are the details:
I'm exporting a folder like this:
/etc/exports
/home2/MARINA/staff *(rw,sec=none:sys:krb5:krb5i:krb5p,insecure)

The staff folder has these permissions and has the home directories of staff members:
drwxrwx---   4 root   staff

On the client, here is /etc/auto.master
/home2/MARINA/staff /etc/auto.misc

and here is /etc/auto.misc
* -rw,sec=krb5,vers=3 hh1:/home2/MARINA/staff

rcautofs followed by mount shows:
/etc/auto.misc on /home2/MARINA/staff type autofs (rw,relatime,fd=6,pgrp=4075,timeout=600,minproto=5,maxproto=5,indirect)

Problem:
On the client, the staff folder has become:
drwxr-xr-x  3 root   root

The permissions remain even if the staff folder is accessed. Everyone has access. ANY folder I mount using autofs becomes drwxr-xr-x root root.

Workarounds I've found:

1. Don't mount it directly: i.e. mount it implicitly as part of a parent folder. The problem there is that it defeats the object of having the autofs because the whole of the staff folder is mounted even if only one member of staff is logged in.

2. The big hammer: Run a script to chmod 0770 and chown root:staff on startup.

Thanks,
L x
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx


<Anterior por Tema] Tema Actual [Siguiente por Tema>