Separate names with a comma.
Discussion in 'macOS' started by iradhwan, Oct 12, 2010.
Hi every one
Could any one please give me how can I give the permeation number 777 to the files?
Use the chmod utility in the terminal
Thank you but I don't know how I need to give this permeation to several files,
could you please tell me how
1) It's permission. Not what you are typing.
2) You are going to need the full Unix path to the file(s). This will start with /
3) Open the Terminal and type:
chmod 777 <path to file>
Replace <path to file> with the full Unix path to the file you want to change. Hit return and then type the same for the second file and so on.
chmod 777 <path to file>
hmmmm I'm so stupid could you please give me more details .
thank you again and sorry for noise you
Note if you need to use me mac no problem for me I'll enable screen sharing
Right. Let's try and ignore the Unix path thing for the moment. If you can see the files in the Finder then open the Terminal, type (without the ") "chmod 777 " (the last space is important) and drag the first file from the Finder to the Terminal window. This will put the full Unix path there. Hit return and it will change the permissions (if you have access to do that: you may not). Do that for each file you want to change. I honestly can't make it any simpler than that.
Here's a simple way. Open Terminal (in Utilities) and type the following (but don't press return). Include a space after the final 7.
Then select all the files that you want to give permission 777, drag them into the Terminal window, and drop them there. The paths to those files will be appended to the chmod command.
Then click on the Terminal window to make it active, and press return. That should do it.
[EDIT] I see someone else has suggested the same!
I'm rally tired today I'll read this tomorrow carefully and talked to you thank you for help
ohhhhhhhhhhhhhh it is very good thank you thank you thank you
After reading all this, be VERY careful what you are doing.
Why do you need to be messing around in Terminal, and changing file permissions, if you don't know how any of it works?
Good question. [technically, there are a few items for which (sudo) chmod 777 would cause the OS to malfunction. (i speak of setuid executables).]
Some folks need to learn the hard way i guess.
To the OP, if you're having this much trouble with trying to get chmod a file, I'd recommend you becareful. Altering permissions on the file system could have some grave affects on your system.
Its ok to learn some new ways of doing things, we were all n00bs at one point. I suggest you get a unix book or learn through the man pages if you want to increase your knowledge on terminal commands/interacting with the shell