LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-17-2010, 02:09 AM   #1
Evan.
LQ Newbie
 
Registered: Jan 2010
Posts: 2

Rep: Reputation: 0
Unhappy chown - How do I set the permissions of an entire directory to "all" ?


Yes, yes - very newbie question.

Reason:
I set up a samba server on my Linux box for the purpose of allowing everyone - and I mean everyone - on my LAN network to be able to put files to one folder... The only issue seems to be not having write permissions to the target folder.

Question, re-stated:
How do I set the permissions for an entire directory to not require anyone to have a login?
I have tried many things, such as "chown -aR /data/public", but I still cannot seem to find the magic words.

Thanks in advance,
--Evan.
 
Old 01-17-2010, 02:28 AM   #2
raju.mopidevi
Senior Member
 
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Blog Entries: 12

Rep: Reputation: 92
which means you want to give your permissions to /data/public & it's subdirectories also ??

if so
use this command

#chmod 777 -R /data/public

remember As a example I gave "777"
it's too dangerous to give those permissions. they can delete any files
 
1 members found this post helpful.
Old 01-17-2010, 02:43 AM   #3
Evan.
LQ Newbie
 
Registered: Jan 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks! And yes, it is dangerous to allow access like that. The only reason I am doing it this way is because I intend to use this as an easily editable transfer space for my server. (windows box->transfer to linux box folder, linux box->copy from folder to destination directory.)

And again, Thanks!
 
  


Reply

Tags
chown, permissions, recursive



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to apply "chmod g+r" permissions to a deep file and directory structure htamayo Linux - Newbie 3 03-20-2009 03:45 PM
"Permission denied" and "recursive directory loop" when searching for string in files mack1e Linux - Newbie 5 06-12-2008 07:38 AM
"cp -p" fails with "cp: setting permissions for `/home/svbld/t': Invalid argument" mkhesin Red Hat 1 02-28-2007 12:57 AM
permissions of my /home/"user" directory error darkleaf Linux - Software 10 09-26-2004 02:08 AM
i just finished typing "./configure" and "make" in mplayer directory... kublador Linux - General 4 02-22-2003 03:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:51 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration