Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
folder permission
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
D. M. P. inc
Apprentice
Apprentice


Joined: 29 Sep 2003
Posts: 228
Location: /home/dmpinc

PostPosted: Sat Feb 14, 2004 12:50 pm    Post subject: folder permission Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55015
Location: 56N 3W

PostPosted: Sat Feb 14, 2004 1:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Sat Feb 14, 2004 3:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
D. M. P. inc
Apprentice
Apprentice


Joined: 29 Sep 2003
Posts: 228
Location: /home/dmpinc

PostPosted: Sat Feb 14, 2004 7:44 pm    Post subject: Reply with quote

thanx ill try those things u said.
_________________
Live And Learn.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum