English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

how do you write as a unix command which setups read and write access for self, group, and all?

2007-08-07 02:26:44 · 5 answers · asked by sfw r 1 in Computers & Internet Programming & Design

5 answers

chmod ugo+w [list of filenames]
or
chmod a+w [list of filenames]

ugo = user, group, and others
a = all, which is equivalent
+w = add write permission.

You don't want to use the octal mode (say, "chmod 666") because that will remove execute permission from files which had it.

2007-08-07 03:29:05 · answer #1 · answered by McFate 7 · 0 0

I don't understand your question but I THINK you are asking how to setup permissions on a file/directory?

if so the command is

chmod 666

now this JUST allows read/write access to the file/directory, if you want users to be able to execute the command/enter the directory you need to make it executable (777)

you did not say what version of unix you are using but for chmod they are virtually the same


man chmod

see below for a link to a web based chmod man page

dougc


if you need more info on your unix system do the following command

2007-08-07 02:38:56 · answer #2 · answered by Anonymous · 0 0

you'll find that command already there...

chmod

do a 'man chmod' and you'll have more info than you can imagine

enjoy!

2007-08-07 02:29:49 · answer #3 · answered by Dennis R 5 · 0 0

here is a online description of 'chmod' command:
http://www2.tu-berlin.de/zrz/dienste/www/manpages/chmod.html

the same information you can find in 'man chmod'

2007-08-07 02:32:50 · answer #4 · answered by paulik 2 · 0 0

Computer Tutorials, Interview Question And Answer
http://freshbloger.com/

Oracle Interview questions and answers-
http://oracleqa2.blogspot.com/

Oracle tutorial-
http://oracletutorials.blogspot.com/...

Oracle tutorials- http://oracletutorials.info/

sql tutorials- http://sqlstring.com/

2007-08-07 08:59:45 · answer #5 · answered by aerokan a 3 · 0 2

fedest.com, questions and answers