LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 06-02-2006, 02:02 PM   #1
focus1
LQ Newbie
 
Registered: Apr 2006
Distribution: Mandriva 2006
Posts: 11

Rep: Reputation: 0
Create directory with permissions for all users


Is there is any way to create a special directory, where all the new files created and all the new directoris created under this special directory, wered create with permissions of write and read for all the users?

Thanks
 
Old 06-02-2006, 02:08 PM   #2
Okie
Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 961

Rep: Reputation: 34
/tmp is set up this way already, the subdirectories inside /tmp are owned bu indviduals but i suggest makeing one of your own in /home/allusers or somthing like that just set the permissions on it to be written to by all users (rw_rw_rw_)
 
Old 06-03-2006, 12:59 PM   #3
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 49
Quote:
rw_rw_rw_
Better make that rwxrwxrwx on the directory itself otherwise no one will be able to list its contents! ie. ls will fail and graphical file managers like konqueror will show 'access denied' and a blank directory.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
create a directory in C++ poeta_boy Programming 15 11-02-2011 01:53 PM
Active directory users to Samba users alexpacio Linux - Networking 0 05-19-2006 08:44 AM
Can't create users! Zeke55 Linux - Newbie 9 12-08-2004 01:23 PM
write permissions for directory - not accidently move/deleted the directory linuxgamer Linux - Newbie 10 12-02-2003 03:04 AM
Users home directory. Permissions. jsbush Linux - Newbie 4 10-29-2003 08:13 AM


All times are GMT -5. The time now is 03:17 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration