When I was first taught about changing UNIX file permissions they taught me 
to use numbers rather than the letter method.  With that in mind, there are 
3 portions (owner, group and world).  Permissions are granted in binary 
(read=4, write=2 and execute=1).  So to give everyone write access you 
could use:
   chmod 666 file_name                  which results in '-rw-rw-rw-' permissions.


-----Original Message-----
From:   Andrea Oracle [SMTP:[EMAIL PROTECTED]]
Sent:   Monday, May 21, 2001 7:15 PM
To:     Multiple recipients of list ORACLE-L
Subject:        how to make a file writable by anybody?

Hi all,

How to make a Unix file writable by anybody?  The file
should be owned by dba, but also writable by non-dbas.

-rw-rw-rw-   1 jcsora   dba            0 May 21 16:00
dbbackup_sched.dat
-rw-rw-r--   1 jcsora   dba            0 May 21 16:01
del_base_sched.dat

Currently dbbackup_sched.dat file can be written by
tester and other people, I'd like to make
del_base_sched.dat the same thing.  After I did chmod
+w del_base_sched.dat, it only changes the 6th
character to be w, but not the 9th.

Thanks, Andrea





__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Andrea Oracle
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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.com
-- 
Author: William Rogge
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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).

Reply via email to