Masalah akses pada Samba Server

168 views
Skip to first unread message

Muhfi Asbin Sagala

unread,
Aug 26, 2015, 2:49:25 AM8/26/15
to conf-me...@googlegroups.com
Salam,

Rekan dan suhu, saya punya sedikit masalah dengan samba server yang saya
buat di Ubuntu 14.04 LTS. Saya ikuti petunjuk dari
https://www.howtoforge.com/samba-server-ubuntu-14.04-lts dengan
konfigurasi samba share yang secured.

Berikut ini konfigurasi pada /etc/samba/smb.conf :

[Documents]
path = /home/muhfi/Documents
valid users = @smbgrp
guest ok = no
writeable = yes
browseable = yes

[Downloads]
path = /home/muhfi/Downloads
valid users = @smbgrp
guest ok = no
writeable = yes
browseable = yes

[Videos]
path = /home/muhfi/Videos
valid users = @smbgrp
guest ok = no
writeable = yes
browseable = yes

Pada share 'Documents', saya bisa buat, hapus, rename dan ubah file
maupun folder. Namun, pada dua share lainnya yaitu 'Downloads' dan
'Videos' selalu gagal. Pada client Windows 7 muncul pesan error "You
need permission to perform this actions". Saya juga coba dengan client
Ubuntu 14.04 muncul pesan error "Error creating directory : Permission
denied".

Saya kira ini masalah "Permission" pada linux, hingga saya ubah
permission pada directory share saya menjadi 777, tapi masalahnya masih
sama.

Mohon petunjuk lebih lanjut dari para rekan dan suhu.

Terima kasih,
Muhfi

M.S. Lubis.

unread,
Aug 26, 2015, 2:51:49 AM8/26/15
to conf-me...@googlegroups.com
Permission dan grup owner seperti nya.
Coba ls -als nya dari /home/muhfi/
Sudah sama kah?




--
Official site : http://medan.linux.or.id/
--- You received this message because you are subscribed to the Google Groups "Medan Linux Community Conference" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conf-medanlin...@googlegroups.com.
To post to this group, send email to conf-me...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Muhfi Asbin Sagala

unread,
Aug 26, 2015, 3:09:51 AM8/26/15
to conf-me...@googlegroups.com
Ketiga folder punya permission yang sama. Khusus untuk Documents dan Downloads, saya tambahkan ACL (Baca-baca dari https://help.ubuntu.com/community/FilePermissionsACLs) tapi ternyata tidak berpengaruh. Sewaktu ACL saya hapus, hasil tetap sama yaitu gagal buat file / folder pada 'Downloads' dan 'Videos'.

Hasil perintah ls :

 8 drwxrwx---+ 33 muhfi muhfi  4096 Agu 26 13:13 Documents
16 drwxrwx---+ 20 muhfi muhfi 12288 Agu 26 09:59 Downloads
 4 drwxrwx---  13 muhfi muhfi  4096 Jul 30 10:05 Videos

M.S. Lubis.

unread,
Aug 26, 2015, 3:26:50 AM8/26/15
to conf-me...@googlegroups.com
Lae, saya sampe harus fokus baca tulisan nya yang kecik-kecik.
:D
writable and browsable seperti nya typo.

Muhfi Asbin Sagala

unread,
Aug 26, 2015, 4:00:46 AM8/26/15
to conf-me...@googlegroups.com
Abg baca dari howtoforge ya? :)

Typo sudah saya koreksi bang.

Saya mengacu dari dokumentasi samba (https://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html) ternyata writeable dan writable diperbolehkan dalam konfigurasi samba. Sama halnya dengan browseable dan browsable.

Ya, memang diawal saya kira typo itu masalahnya bang.

atau ini bug ya? :)

R

unread,
Aug 27, 2015, 12:47:13 AM8/27/15
to conf-me...@googlegroups.com
Hi Muhfi,

Coba periksa permisi foldernya dengan perintah getfacl

$ sudo getfacl Downloads

untuk mengubah permisinya, menggunakan setfacl



Salam,
RS
R Saragih
Reply all
Reply to author
Forward
0 new messages