This is a weird scenario. I set everything up, created my share and set permissions. Browsing the share from my Windows 7 desktop, I can access the share but cannot copy anything from windows to the share, I get permission denied. Is there some obvious step I missed or something?
Permission issue then?. How about you show us here
ls -la SharedFolder/
Thanks for the response.
ls -al /media
drwxrwxrwx 10 root root 4096 Jul 31 21:38 .
drwxr-xr-x 24 root root 4096 Jul 31 20:17 ..
drwxr-xr-x 3 root root 8 Jul 31 20:47 759c01bb-d0c4-4b24-b928-c0befcb0d27a
lrwxrwxrwx 1 root root 6 Jul 31 20:13 cdrom -> cdrom0
drwxr-xr-x 2 root root 4096 Jul 31 20:13 cdrom0
drwxr-xr-x 2 root root 4096 Jul 31 21:35 music
drwxr-xr-x 2 root root 4096 Jul 31 21:35 pictures
lrwxrwxrwx 1 root root 4 Jul 31 20:13 usb -> usb0
drwxr-xr-x 2 root root 4096 Jul 31 20:13 usb0
drwxr-xr-x 2 root root 4096 Jul 31 20:13 usb1
drwxr-xr-x 2 root root 4096 Jul 31 20:13 usb2
drwxr-xr-x 3 root root 4096 Aug 1 06:53 video
Is this one
Is there the shared folder or you're sharing the whole root drive?
ls -la /media/759c01bb-d0c4-4b24-b928-c0befcb0d27a
root@media:~# ls -la /media/759c01bb-d0c4-4b24-b928-c0befcb0d27a
drwxr-xr-x 3 root root 8 Jul 31 20:47 .
drwxrwxrwx 10 root root 4096 Jul 31 21:38 ..
drwxrwsr-x 2 root users 1 Jul 31 20:47 media
Which one is the shared folder "media"?
Yes, media. I'm trying to use with Plex and want to use the share as a mapped drive to copy all of my media over to it.
at least from the permission side looks ok. How abou samba can you post
root@media:~# cat /etc/samba/smb.conf
#======================= Global Settings =======================
workgroup = WORKGROUP
server string = %h server
dns proxy = no
log level = 0
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
syslog only = yes
panic action = /usr/share/samba/panic-action %d
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = no
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
socket options = TCP_NODELAY IPTOS_LOWDELAY
guest account = nobody
load printers = no
disable spoolss = yes
printing = bsd
printcap name = /dev/null
unix extensions = yes
wide links = no
create mask = 0777
directory mask = 0777
map to guest = Bad User
use sendfile = yes
aio read size = 16384
aio write size = 16384
null passwords = no
local master = yes
time server = no
wins support = no
#======================= Share Definitions =======================
path = /media/759c01bb-d0c4-4b24-b928-c0befcb0d27a/media/
guest ok = yes
read only = no
browseable = yes
inherit acls = yes
inherit permissions = yes
ea support = no
store dos attributes = no
printable = no
create mask = 0755
force create mode = 0644
directory mask = 0755
force directory mode = 0755
hide dot files = yes
read list =
write list = "media",@"media"
Do this. Disable the guest access. Next time you try and access from Windows you should be prompted for a login hopefully. Enter the "media" login credentials.
Yep, that did it! Sweetness! Thanks!
So here's another question...is there a way to set it up so anyone can write to the dir without requiring a username/password? Shouldn't guest allow for that?