Je ne suis pas satisfait avec les permissions par défaut pour les fichiers créés dans Mandriva: comment les changer?
Par défaut, les permissions des fichiers crées par un utilisateur de Mandrake sont du type
-rw-r--r--
Ce qui se traduit par:
- le propriétaire du fichier a les permissions de lecture et écriture
- les utilisateurs membres du même groupe ont les permissions de lecture
- les autres utilisateurs ont les permissions de lecture.
ls -l dans une fenêtre de commande. En mode graphique (konqueror par expemple), cliquez sur le bouton de droite au dessus du fichier, puis propriétés, puis l'onglet permission.
Pour changer les permissions, on utilise la commande chmod, ou toujours l'onglet permissions en mode graphique.
Maintenant, voilà mon vrai problème: je voulais que les permissions par défaut soient:
-rw-------
Ce qui se traduit par:
- le propriétaire du fichier a les permissions de lecture et écriture,
- les utilisateurs membres du même groupe n'ont aucune permission,
- les autres utilisateurs n'ont aucune permission.
centre de contrôle, puis l'onglet sécurité, puis l'icône Niveau et vérifications, puis l'onglet Options système... et il faut changer la dernière option: umask utilisateur dans mon cas, j'ai entré la valeur 066...
Pourquoi 066, alors là,ça me prendrait des heures à expliquer, donc je vais donc vous donner quelques liens,
- Système UNIX : Gestion des fichiers, à l'université du Québec,
- Setting Default File Permissions chez Sun,
- Access rights: Linux's first line of defense chez Linux Voodoo,
- All About the umask and Permissions chez Sun.
Voir aussi
- Changer des permissions récursivement (09/2003)
Edité et reformaté 12/2005
ptyxs, 19 octobre 2006
Hum, mon lien ci-dessus était trop imprécis, les pages sur les permissions de la Base de Connaissances commencent ici :
http://club.mandriva.com/xwiki/bin/view/KB/BasicsBpermis
ConcordWatches, 12 août 2010
Specializing in <a href="http://www.replicawatchesmart.com/"><stron...[/link]">Swiss Replica Watches</a>, <a href="http://www.replicawatchesmart.com/">Cheap Wat...[/link]">Wholesale Watches</a>, <a href="http://www.replicawatchesmart.com/rolex-watches-c-32.html[/l..."><strong>A.Dunhill Watches</strong></a>, <a href="http://www.replicawatchesmart.com/alangesohne-watches-c-180....">A.Lange&Sohne Watches</a>, <a href="http://www.replicawatchesmart.com/alain-silberstein-watches-...">Alain Silberstein Watches</a>, <a href="http://www.replicawatchesmart.com/audemars-piguet-watches-c-...">Audemars Piguet Watches</a>, <a href="http://www.replicawatchesmart.com/brm-watches-c-151.html[/li...">Baume & Mercier Watches</a>, <a href="http://www.replicawatchesmart.com/bellross-watches-c-36.html...">Bell&Ross Watches</a>, <a href="http://www.replicawatchesmart.com/blancpain-watches-c-183.ht...">Blancpain Watches</a>, <a href="http://www.replicawatchesmart.com/bmw-watches-c-31.html[/lin...">Breguet Watches</a>, <a href="http://www.replicawatchesmart.com/breitling-watches-c-28.htm...">Breitling Watches</a>, <a href="http://www.replicawatchesmart.com/index.php?main_page=news_a...">Replica Watches</a>, <a href="http://www.replicawatchesmart.com/burberry-watches-c-86.html...">Burberry Watches</a>, <a href="http://www.replicawatchesmart.com/bvlgari-watches-c-76.html[...">Calvin Klein Watches</a>, <a href="http://www.replicawatchesmart.com/carl-f-bucherer-watches-c-...">Carl F. Bucherer Watches</a>, <a href="http://www.replicawatchesmart.com/cartier-watches-c-90.html[...">Chanel Watches</a>, <a href="http://www.replicawatchesmart.com/chopard-watches-c-71.html[...">Christian Dior Watches</a>, <a href="http://www.replicawatchesmart.com/chronoswiss-watches-c-190....">Chronoswiss Watches</a>, <a href="http://www.replicawatchesmart.com/concord-watches-c-156.html...">Concord Watches</a>, <a href="http://www.replicawatchesmart.com/corum-watches-c-100.html[/...">D&G Watches</a>, <a href="http://www.replicawatchesmart.com/de-witt-watches-c-127.html...">De Witt Watches</a>, <a href="http://www.replicawatchesmart.com/esprit-watches-c-218.html[...">Ebel Watches</a>, <a href="http://www.replicawatchesmart.com/emporio-armani-watches-c-1...">Emporio Armani Watches</a>, <a href="http://www.replicawatchesmart.com/fendi-watches-c-157.html[/...">Ferrari Watches</a>, are given the correct care and treatment. <a href="http://www.replicawatchesmart.com/fossil-watches-c-225.html[...">Franck Muller Watches</a>, <a href="http://www.replicawatchesmart.com/girard-perregaux-watches-c...">Girard Perregaux Watches</a>, <a href="http://www.replicawatchesmart.com/glashutte-watches-c-158.ht...">Glashutte Watches</a>, <a href="http://www.replicawatchesmart.com/graham-watches-c-16.html[/...">Gucci Watches</a>, <a href="http://www.replicawatchesmart.com/guess-watches-c-17.html[/l...">Hamilton Watches</a>, <a href="http://www.replicawatchesmart.com/harry-winston-watches-c-16...">Harry Winston Watches</a>, <a href="http://www.replicawatchesmart.com/hermes-watches-c-18.html"><strong>Hermes Watches</strong></a>, For a long period of time she had been demanding one of those expensive watches that she had seen in an exclusive showroom.
ptyxs, 19 octobre 2006
Sur les permissions voir aussi les pages de la Base de Connaissances de Mandriva !!
http://club.mandriva.com/xwiki/bin/view/KB/#HComprendre2Bles...