Jump to content
7 posts in this topic

Recommended Posts

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

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

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... ;)

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 by Titoo
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]

@ ????????

+ ???????

:D

×
×
  • Create New...