How to give permission

2003-09-12 Thread roland . skoldblom
Hallo,

anyone whom could help me with a unix command how to
give permission to delete files from a special directory?

I am trying to use chmod command but it doesnt work with chmod 755
It says permission denied then.

Thanks in advance

Roland


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: How to give permission

2003-09-12 Thread Nelson Flores
If you can't do a chmod 755 XXX, then you canĀ“t do this ... you don't have
enough privileges...
Do a su root (if you can), or ask the owner of the files to do the chmod ...

BTW, Chmod 755 isn't enough, I think you need a 777 ... (my chmod numbers
are a little hazy)

(is this an oracle related question???)

Also, for further reading
Man chmod
Man RTM
Man man
;)

-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Enviado el: viernes, 12 de septiembre de 2003 10:04
Para: Multiple recipients of list ORACLE-L
Asunto: How to give permission

Hallo,

anyone whom could help me with a unix command how to
give permission to delete files from a special directory?

I am trying to use chmod command but it doesnt work with chmod 755
It says permission denied then.

Thanks in advance

Roland


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Nelson  Flores
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


RE: How to give permission

2003-09-12 Thread Stephen Lee

>From "ls -l" command.

-rwxrwxrwx

First character, the dash in this case, identifies the kind of file (in Unix
everything is a file).
The next three are the owner's permissions.
The next three are the group's permissions.
The next three are the world's permissions.

r=read
w=write
x=execute

These mean different things for plain files and directories.
For directory:

r=you can list the contents of the directory
w=you can change the contents of the directory; i.e. create, delete, and
rename files.
x=you can cd into the directory or one of its subdirectories.  More
generically speaking, the directory can be part of a path in a command.

So, for a user to be able to delete files, the user needs AT LEAST write and
execute permission.  

If the user does not have read permission, then the user can still
manipulate files in the directory, but they can't list what's in the
directory; so the user will be working blind.  This is (or was) used by some
software services to put patches, etc. on a FTP box and allow anonymous
connections.  Unless you knew the name of the file you were supposed to get,
you couldn't get the file; and the software support had to tell you name of
the file.

chmod 755 on a directory sets the permissions to:
drwxr-xr-x
which means only the owner can modify the contents of the directory.

chmod 777; or chmod a+rwx; or chmod ugo+rwx will set permission to:
drwxrwxrwx

In general, sys admins don't like to see this.

I hope this little discussion increases your appreciation for the loveliness
of non-MS OS.

> -Original Message-
> 
> anyone whom could help me with a unix command how to
> give permission to delete files from a special directory?
> 
> I am trying to use chmod command but it doesnt work with chmod 755
> It says permission denied then.
> 
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Stephen Lee
  INET: [EMAIL PROTECTED]

Fat City Network Services-- 858-538-5051 http://www.fatcity.com
San Diego, California-- Mailing list and web hosting services
-
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).