www.es-minix.org Forum Index www.es-minix.org
Foros de discusión en español, sobre el sistema operativo Minix
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Chmod: octal o decimal

 
Post new topic   Reply to topic    www.es-minix.org Forum Index -> Sistemas de archivos (File systems)
View previous topic :: View next topic  
Author Message
gghandal
Usuario


Joined: 26 Jun 2006
Posts: 9

PostPosted: Wed Sep 06, 2006 9:58 pm    Post subject: Chmod: octal o decimal Reply with quote

Existen fuentes en internet que muestran que el chmod utiliza representacion decimal, al convertir los permisos de decimal a binario.

Pero en realidad esto es correcto porque chmod utiliza una representacion octal... osea:

chmod 755 archivo

el 755 es representacion octal que al convertirse en binario es igual que tomal cada digito por separado en decimal y convertirlo en binario y unir estos numeros en un solo string de 9 digitos binarios..

para mas info ver este post, que explica en mas detalle este asunto y porque cometi este error...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.es-minix.org Forum Index -> Sistemas de archivos (File systems) All times are GMT - 6 Hours
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


Powered by phpBB © 2001, 2005 phpBB Group