file permissions ...

David Yáñez Mendoza dyanez at arenal.impi.gob.mx
Thu Apr 26 18:24:02 GMT 2001


maybe i can help a little...

>the saul question is something like this:

>How can I set the directory permission, so a ms-windows client can read but
not write or modify the files in it?

---my sugestion is very easy
when you declare the shared directory, you can set the directory
permissions, for example
if you shared directory is [publico] an is placed at the path

/samba/publico

you must change the privileges directory
#cd /samba
#chmod 744 ./publico
doing this the other user can read but not write in the directory, and only
root can add or delete files there,
other solutions is to create groups.

for Saul in particular:  (en especial para saul)

cuando declaras un directorio compartido, puedes fijar los permisos para ese
directorio, por ejemplo
si tu directorio compartido es [publico] y esta en la ruta

/samba/publico

debes cambiar los privilegios del directorio
#cd /samba
#chmod 744 ./publico
haciendo esto los demas usuarios (incluyendo los que usen samba para acceder
este directorio) podran leer pero no escribir en el directorio, y solamente
el "superusuario" puede anexar o borrar archivos ahi.
otra solucion es crear grupos de usuario...

> From: "Saul Fabian" <saul_ff at yahoo.com.mx>
> To: "lista samba" <samba at lists.samba.org>
> Sent: Friday, April 20, 2001 11:02 PM
> Subject: permisos de archivos ...
>
>
> > como puedo cambiar los permisos para un directorio de
> > tal forma que en un cliente windows pueda leer,
> > guardar pero no pueda borrar archivos???
> >
> > _________________________________________________________
> > Do You Yahoo!?
> > Construye tu página personal en Yahoo! GeoCities. ¡Es fácil,
> > rápido y gratis! http://geocities.yahoo.com.mx
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
> >
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>





More information about the samba mailing list