harmonia Posted November 27, 2008 Share Posted November 27, 2008 Hi, Ok I set up me Fedora Core 9 to provide a simple Guest samba access for my home LAN. Problem is I could only get it to work sharing my /tmp directory. (All other directories I tried to specify in my smb.conf get the standard message saying the user doesn't have permissions for that directory). So anyway I got it working on my /tmp directory and found that guest users can copy files, also put files to the share and even make diretories remotely. However the guest user is not allowed to access the contents of folders that are made directly under /tmp directory i.e so I am using rtorrent to download into such folders and I cant get to the contents ...argh!! I have tried all permutations of chmod +r -R /tmp,chmod 777 -R /tmp chown and chgrp on /tmp directory but I always get the same result. Can anyone help? What I dont understand is that I setup a similar samba share on a Debian box the other day and it worked first time so maybe this is specific to Fedora thanks Adam Quote Link to comment https://forums.phpfreaks.com/topic/134516-solved-newbie-file-permissions-for-samba/ Share on other sites More sharing options...
harmonia Posted November 28, 2008 Author Share Posted November 28, 2008 So I have solved half of this. I uninstalled SELINUX and now a guest user can access the subdirectories under /tmp (the current directory I am sharing in Samba) however if I try to share another directory with the smb,conf i.e /srv/download it will not show up the share when I try and locate it on the network. back to the drwaing board... Quote Link to comment https://forums.phpfreaks.com/topic/134516-solved-newbie-file-permissions-for-samba/#findComment-701238 Share on other sites More sharing options...
harmonia Posted November 28, 2008 Author Share Posted November 28, 2008 My smb.conf looks like this BTW:- [global] workgroup = WORKGROUP netbios name = SAMBA security = share map to guest = Bad User path = /srv/download read only = no guest ok = yes browseable=yes create mask = 0660 directory mask = 2770 Quote Link to comment https://forums.phpfreaks.com/topic/134516-solved-newbie-file-permissions-for-samba/#findComment-701240 Share on other sites More sharing options...
harmonia Posted November 28, 2008 Author Share Posted November 28, 2008 So another complete restart and the samba share works at /srv/download as well Quote Link to comment https://forums.phpfreaks.com/topic/134516-solved-newbie-file-permissions-for-samba/#findComment-701321 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.