LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   share folder (read/write) (https://www.linuxquestions.org/questions/linux-newbie-8/share-folder-read-write-674516/)

Winanjaya 10-06-2008 04:08 AM

share folder (read/write)
 
Hello all,

I am trying to share a folder in my FC9, I have configured /etc/samba/smb.conf as below, but I still unable to write into it.. what I missed?

I also had ran chmod -R 0755 to /home/Everyone

Regards
Winanjaya

[global]
workgroup = mysamba
server string = Samba Server
printcap name = /etc/printcap
load printers = yes
log file = /var/log/samba/%m.log
max log size = 50
security = share
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = no
os level = 65
wins support = yes
dns proxy = no
time server = yes

[public]
path = /home/Everyone
public = yes
only guest = no
writable = yes
read only = no
browseable = yes
printable = no

~
~
~

linuxman8786 10-06-2008 04:58 AM

You should change file or folder permission to 777

Total-MAdMaN 10-06-2008 05:54 AM

The numbers you enter when using chmod refer to the rwx permissions. Each permission has a number associated with it, and adding these numbers together tells you what permissions have been given to the file/directory. r=4, w=2, x=1. By using 755, you've given full permissions to the owner and read and execute permissions to the owner's group and other users (7=rwx, 5=rx).

jschiwal 10-06-2008 07:24 AM

Since this will be a globally writable directory, also set the sticky bit:
sudo chmod ugo=rwxt /home/Everyone


All times are GMT -5. The time now is 11:06 PM.