El día 13 de marzo de 2014, 16:43, Camaleón <[email protected]> escribió:
> El Thu, 13 Mar 2014 16:31:08 +0100, Maykel Franco escribió:
>
>> El día 13 de marzo de 2014, 16:01, Camaleón <[email protected]>
>> escribió:
>
> (...)
>
>>>> Lo que dice en el enlace es usar estos parámetros en fstab:
>>>>
>>>> gid=www-data file_mode=0770 dir_mode=0770
>>>>
>>>> Pero a mi me da error al hacerle un mount -a.
>>>>
>>>> Sería algo así:
>>>>
>>>> /dev/md0                /var/lib/owncloud/data  ext4
>>>> defaults,gid=www-data,file_mode=0770,dir_mode=0770        0 0
>>>
>>> Es que si te fijas, esos parámetros son para un recurso de red CIFS
>>> (samba) no para un sistema de archivos ext4 ;-)
>
>> Tienes toda la razón, tenia varias páginas abiertas y me liado.
>>
>> Aún así, he mirado para ext4 fstab y tampoco me lo monta:
>>
>> rw,user,exec,umask=002,dmask=002
>>
>> Eso es lo que le paso en las opciones, debería de montarlo.
>
> Maykel, no veo esas opciones (umask/dmask) disponibles en el manual (man
> 8 mount), no al menos para un sistema de archivos nativo de linux.
>

Yo sí las veo:

umask=valueSet the umask (the bitmask of the permissions that are not
present). The default is the umask of the current process. The value
is given in octal.dmask=valueSet the umask applied to directories
only. The default is the umask of the current process. The value is
given in octal.


http://linux.die.net/man/8/mount

Saludos.

> Saludos,
>
> --
> Camaleón
>
>
> --
> To UNSUBSCRIBE, email to [email protected]
> with a subject of "unsubscribe". Trouble? Contact [email protected]
> Archive: https://lists.debian.org/[email protected]
>


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
https://lists.debian.org/caj2aoa_3zpjv3h_ec3mjpzlnjs_p8p4svmerc2kw4l5oapq...@mail.gmail.com

Responder a