Koozali.org: home of the SME Server

need help sharing a new drive

Joel

need help sharing a new drive
« on: April 03, 2003, 05:11:31 AM »
I just installed a second scsi hard drive. I figured out how to partition it and format it for linux with the fdisk and mkfs commands. I mounted it as /usr0

Now I'm trying to share it. I edited smb.conf and added the appropriate lines. I stopped and restarted samba. Now I can only view the new shared directory, i cannot write to it even though I have the paramaters read only = no and writable = yes in the smb.conf file.

what am I doing wrong?? I'm new to linux and maybe it's something really simple that I'm not doing.

Dark Storm

Re: need help sharing a new drive
« Reply #1 on: April 03, 2003, 05:31:51 AM »
try to set the chown property's of the share.

on the shared folder type "chmod 0777 "

the 0777 sets permission of read,write and execute for all the users. if you want other permissions change the numbers. Type man chmod for more info.

for automatic permissions on the sbm.conf file, in the end os the read only and writable type "create mask = 0777".