LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   chown - How do I set the permissions of an entire directory to "all" ? (https://www.linuxquestions.org/questions/linux-newbie-8/chown-how-do-i-set-the-permissions-of-an-entire-directory-to-all-782726/)

Evan. 01-17-2010 02:09 AM

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.

raju.mopidevi 01-17-2010 02:28 AM

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

Evan. 01-17-2010 02:43 AM

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!


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