Titoo Posted March 29, 2008 Share Posted March 29, 2008 Hi, First of all, excuse my poor english. i'm French next, i have to redefine all my Mac OSX accounts and their permissions ( privileges ) on my G5 non intel (10.5.2) My first ask is: What are common permissions in each directories, and how to fix them in Applications folder ( for .App & subfolders ) in Home folder and subfolders... For example : when i ask the finder Info on some files, in user privilege i have two system's owners sometimes everybody, nobody, (me), admin, staff ??? i'm completely disappointed of hieratic behavior. Details: i'm the only one user , only one admin account ~/library folder ===> terminal command ? chown ? ~/library folder/another folder ===> /applications folder ===> /applications folder/system's folder like 'utilities' ===> /applications folder/another folder of folders... ===> Please to help me, try to do a step by step... Thanks in advance Link to comment https://www.insanelymac.com/forum/topic/96329-repairing-permission-with-unix-leopard/ Share on other sites More sharing options...
macbrush Posted March 29, 2008 Share Posted March 29, 2008 sudo diskutil repairPermissions / or go to the parent directory of whatever you want to fix sudo -s *enter password chmod -R 755 "enter the directory/file name" chown -R root:wheel "enter the directory/file name" Link to comment https://www.insanelymac.com/forum/topic/96329-repairing-permission-with-unix-leopard/#findComment-687876 Share on other sites More sharing options...
eddie11c Posted March 29, 2008 Share Posted March 29, 2008 For your home files you can do this chmod -R -N ~ Link to comment https://www.insanelymac.com/forum/topic/96329-repairing-permission-with-unix-leopard/#findComment-687900 Share on other sites More sharing options...
Titoo Posted April 1, 2008 Author Share Posted April 1, 2008 sudo diskutil repairPermissions /or go to the parent directory of whatever you want to fix sudo -s *enter password chmod -R 755 "enter the directory/file name" chown -R root:wheel "enter the directory/file name" thnx but 755 stand for what ? is it safe to do that on files & folders ? Cant remember the command to go to a specific folder Link to comment https://www.insanelymac.com/forum/topic/96329-repairing-permission-with-unix-leopard/#findComment-692068 Share on other sites More sharing options...
aprodigy Posted April 1, 2008 Share Posted April 1, 2008 it's the so called octal notation representing the permissions. somewhat of a short notation. (0)755 stands for rwx-rx-rx whereas the first block stands for the u(ser) that owns the object, the g(roup) that owns that object and well, the o(thers) that stand for the last block. try a 'ls -l' from within the terminal - maybe you'll find out yourself what i'm talking of. and yes, you can use 'em on any file object (at least that i can think of). oh, and do a 'man chmod' for further details. oh oh: cd which is stands for change directory. mv moves a file, cp copies a file. rm deletes it. ls lists the contents of a directory. most of the others will you learn on your way... Link to comment https://www.insanelymac.com/forum/topic/96329-repairing-permission-with-unix-leopard/#findComment-692204 Share on other sites More sharing options...
Titoo Posted April 2, 2008 Author Share Posted April 2, 2008 (edited) it's the so called octal notation representing the permissions. somewhat of a short notation.(0)755 stands for rwx-rx-rx whereas the first block stands for the u(ser) that owns the object, the g(roup) that owns that object and well, the o(thers) that stand for the last block. try a 'ls -l' from within the terminal - maybe you'll find out yourself what i'm talking of. and yes, you can use 'em on any file object (at least that i can think of). oh, and do a 'man chmod' for further details. oh oh: cd which is stands for change directory. mv moves a file, cp copies a file. rm deletes it. ls lists the contents of a directory. most of the others will you learn on your way... aprodigy really pedagogic approch ! thanks. u are the geek of my day... really. Good for insanelyMac Let's go to debug my kernel bugs ? in other threads.. how to use the tools : Console, uid process, crash reports ... Edited April 2, 2008 by Titoo Link to comment https://www.insanelymac.com/forum/topic/96329-repairing-permission-with-unix-leopard/#findComment-692872 Share on other sites More sharing options...
Titoo Posted April 2, 2008 Author Share Posted April 2, 2008 it's the so called octal notation representing the permissions. somewhat of a short notation.(0)755 stands for rwx-rx-rx whereas the first block stands for the u(ser) that owns the object, the g(roup) that owns that object and well, the o(thers) that stand for the last block. try a 'ls -l' from within the terminal - maybe you'll find out yourself what i'm talking of. and yes, you can use 'em on any file object (at least that i can think of). oh, and do a 'man chmod' for further details. oh oh: cd which is stands for change directory. mv moves a file, cp copies a file. rm deletes it. ls lists the contents of a directory. most of the others will you learn on your way... Finally, not so easy as you can see [u]power-mac-g5:Users Titoo$[/u] ls -l drwx------+ 14 Titoo staff 476 1 avr 14:43 Desktop drwx---r-x[b]@[/b] 78 Titoo staff 2652 2 avr 10:26 Documents drwx------[b]@[/b] 25 Titoo staff 850 2 avr 11:24 Downloads drwx------[b]@[/b] 57 Titoo staff 1938 1 avr 11:11 Library drwxr-xr-x 2 Titoo staff 68 25 mar 21:39 Login Items drwx------[b]+[/b] 32 Titoo staff 1088 25 mar 13:18 Movies drwx------[b]+[/b] 23 Titoo staff 782 2 avr 09:26 Music drwx------[b]+[/b] 194 Titoo staff 6596 1 avr 18:50 Pictures drwxr-xr-x[b]+[/b] 5 Titoo staff 170 30 oct 10:47 Public drwxr-xr-x 6 [color="#FF0000"]root[/color] staff 204 8 mar 16:28 Sauvegarde drwxr-xr-x[b]+[/b] 6 Titoo staff 204 30 oct 19:43 Sites [u]power-mac-g5:~ Titoo$[/u] sudo -s chown -R root:wheel /Sauvegarde Password: [u][b]/usr/sbin/chown: /usr/sbin/chown: cannot execute binary file[/b][/u] @ ???????? + ??????? Link to comment https://www.insanelymac.com/forum/topic/96329-repairing-permission-with-unix-leopard/#findComment-692974 Share on other sites More sharing options...
Recommended Posts