View previous topic :: View next topic |
Author |
Message |
D. M. P. inc Apprentice


Joined: 29 Sep 2003 Posts: 228 Location: /home/dmpinc
|
Posted: Sat Feb 14, 2004 12:50 pm Post subject: folder permission |
|
|
is there a posiblility that i can make a folder that all users in my box can access and download stuff from? like 1 whole folder and everyone can downloand and upload stuff on that folder???
if it is how? (would help if u could give an a. b. c. d. step by step) _________________ Live And Learn. |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55015 Location: 56N 3W
|
Posted: Sat Feb 14, 2004 1:42 pm Post subject: |
|
|
D. M. P. inc
As root do
Code: | mkdir /shared_folder
chmod 777 /shared_folder |
Everyone can do everything there - you may not want it on your root partition though. I'll probably hear the crash when one of your users fills it up. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
tomk Bodhisattva


Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
Posted: Sat Feb 14, 2004 3:40 pm Post subject: |
|
|
You should probably also set the sticky bit on the directory, this will mean that only the creator of a file can delete or rename it.
Code: | chmod 1777 /shared_folder |
_________________ Search | Read | Answer | Report | Strip |
|
Back to top |
|
 |
D. M. P. inc Apprentice


Joined: 29 Sep 2003 Posts: 228 Location: /home/dmpinc
|
Posted: Sat Feb 14, 2004 7:44 pm Post subject: |
|
|
thanx ill try those things u said. _________________ Live And Learn. |
|
Back to top |
|
 |
|