Simple Questions (I Think!)

Simple Questions (I Think!)

Post by Multi-User-P » Thu, 26 Jul 2001 23:21:43



I just created two new directories:

1) /temp
2) /usr/local/temp

1) What do I need to do to them to make them read/writeable by all users?
2) What do I need to do to them to make them read/writeable only by a
specific group?

Thanks.

 
 
 

Simple Questions (I Think!)

Post by M.J. Bl » Thu, 26 Jul 2001 23:25:20



> I just created two new directories:

> 1) /temp
> 2) /usr/local/temp

> 1) What do I need to do to them to make them read/writeable by all users?
> 2) What do I need to do to them to make them read/writeable only by a
> specific group?

$ man chown
$ man chmod

--
Menno

 
 
 

Simple Questions (I Think!)

Post by Swif » Thu, 26 Jul 2001 23:29:47



> I just created two new directories:

> 1) /temp
> 2) /usr/local/temp

Why /temp instead of (the possible already existing) /tmp?

Quote:> 1) What do I need to do to them to make them read/writeable by all users?

chmod a+rwx /temp /usr/local/temp
 or
chmod 777 /temp /usr/local/temp

You possible want to set the sticky-bit too:

chmod +t /temp /usr/local/temp

Quote:> 2) What do I need to do to them to make them read/writeable only by a
> specific group?

chgrp your_group /temp /usr/local/temp
chmod 770 /temp /usr/local/temp

--
 SwifT                     -    Key-ID CDBA2FDB
 LUG: http://www.lugwv.be  -    http://www.keyserver.net

 
 
 

Simple Questions (I Think!)

Post by M.J. Bl » Thu, 26 Jul 2001 23:41:56




>> I just created two new directories:

>> 1) /temp
>> 2) /usr/local/temp

>> 1) What do I need to do to them to make them read/writeable by all users?

> chmod a+rwx /temp /usr/local/temp
>  or
> chmod 777 /temp /usr/local/temp

> You possible want to set the sticky-bit too:

> chmod +t /temp /usr/local/temp

Or set it right away:

# chmod 1777 /temp

;-)

--
Menno

 
 
 

Simple Questions (I Think!)

Post by Multi-User-P » Fri, 27 Jul 2001 04:51:38


I go away from the Linux machine sometimes for a week or two and start
forgetting right away. I still sometimes get my chown mixed up with my chmod
when it comes to directory rights and then I can't think straight.

But what you guys showed me is just what I wanted to know.

Also, I wanted to use /temp instead of the already existent /tmp just so I
could see how to make /temp as accessible as /tmp thereby learning the
correct commands. I saw the /tmp directory referenced inside the example
smb.conf file, so I knew it existed. But I wanted to do it manually. Make
sense?


Quote:> I just created two new directories:

> 1) /temp
> 2) /usr/local/temp

> 1) What do I need to do to them to make them read/writeable by all users?
> 2) What do I need to do to them to make them read/writeable only by a
> specific group?

> Thanks.

 
 
 

1. Simple PPP question (I think)

How do I configure PPP on SCO Openserver 5.04 Enterprise so that I can dial
from one sco box to another and allow telnet sessions through that
connection? Also, will it cause a problem if the hosts ip address is the
same on either side of the connection??
Thank you in advance for any help you can offer!!

2. x11amp problem

3. Simple Question (I Think)

4. ANNOUNCE: xfonttool 0.1 beta

5. Need Help

6. Simple Question (I think)

7. /usr/platform/sun4u/sbin/prtdiag- CPU 0

8. Incoming TCP TOS: A simple question, I would have thought...

9. ppp problem (fairly simple question i think)

10. Simple Partition Question (I think)

11. Help! Simple Newbie Question...I think