Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dar permisos a carpetas
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
maxmax2006
n00b
n00b


Joined: 28 Jun 2013
Posts: 4

PostPosted: Sat Jul 06, 2013 11:58 am    Post subject: dar permisos a carpetas Reply with quote

Hola a todos,

Qmail me da un error:

warning: unable to open todo/484734

He estado mirando y veo que los permisos de queue no estan tal como tendrian que estar, yo tengo:

drwxr-x--- 11 qmailq qmail 4096 jul 6 13:45 queue

Y tendrian que estar:

drwxr-xr-x 11 qmailq qmail 4096 jui 16 20:25 queue

Como puedo dar los permisos que faltan??

Saludos y gracias de antemano
Back to top
View user's profile Send private message
Stolz
Moderator
Moderator


Joined: 19 Oct 2003
Posts: 3028
Location: Hong Kong

PostPosted: Sat Jul 06, 2013 3:49 pm    Post subject: Reply with quote

maxmax2006 wrote:
Hola a todos,

Qmail me da un error:

warning: unable to open todo/484734

He estado mirando y veo que los permisos de queue no estan tal como tendrian que estar, yo tengo:

drwxr-x--- 11 qmailq qmail 4096 jul 6 13:45 queue

Y tendrian que estar:

drwxr-xr-x 11 qmailq qmail 4096 jui 16 20:25 queue

Como puedo dar los permisos que faltan??

Saludos y gracias de antemano


Code:
chmod 755 queue
Back to top
View user's profile Send private message
maxmax2006
n00b
n00b


Joined: 28 Jun 2013
Posts: 4

PostPosted: Sun Jul 07, 2013 10:50 am    Post subject: Reply with quote

Muchas gracias Stolz

Saludos
:D
Back to top
View user's profile Send private message
GregToo
n00b
n00b


Joined: 18 Aug 2013
Posts: 25
Location: Chile

PostPosted: Sun Aug 18, 2013 10:19 pm    Post subject: Reply with quote

siguiendo la temática del tema

es posible cambiar los permisos recursivamente ó hay que hacerlo uno por uno???

Saludos
Back to top
View user's profile Send private message
Stolz
Moderator
Moderator


Joined: 19 Oct 2003
Posts: 3028
Location: Hong Kong

PostPosted: Mon Aug 19, 2013 8:03 am    Post subject: Reply with quote

GregToo wrote:
siguiendo la temática del tema

es posible cambiar los permisos recursivamente ó hay que hacerlo uno por uno???

Saludos


Se puede hacer con "chown -R". Para ver todas las opciones: "man chown"
Back to top
View user's profile Send private message
agdg
Guru
Guru


Joined: 15 Aug 2010
Posts: 320

PostPosted: Mon Aug 19, 2013 9:37 am    Post subject: Reply with quote

Stolz wrote:
Se puede hacer con "chown -R". Para ver todas las opciones: "man chown"

Tuviste un desliz, has escrito chown en lugar de chmod.
_________________
Antonio Guillen · USAM · Un SysAdmin Más
Back to top
View user's profile Send private message
Stolz
Moderator
Moderator


Joined: 19 Oct 2003
Posts: 3028
Location: Hong Kong

PostPosted: Mon Aug 19, 2013 10:09 am    Post subject: Reply with quote

Gracias agdg.

Matizo que el parámetro -R sirve tanto para chown (cambiar propietario) como para chmod (cambiar permisos).
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Thu Aug 29, 2013 7:15 pm    Post subject: Reply with quote

Cuidadín con la recursividad en tal caso.

Seguramente no quieras darle permisos a+x a los archivos regulares. Solo a los directorios. En tal caso tendrás que usar chmod en conjunción con find -type d :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum