Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just installed FC5, and configured Samba to share some files with my XP computer.
I first tried to share /home/jeff. The share was visible, but when I tried to open it, it said that access was denied. The samba log file said that the directory might not exist. I checked both existence and file permissions, and they are correct.
Then I tried to share / and /tmp. I can see the shares, and can open them. However, some files and folders are mysteriously not displayed. Here are a few that I cannot see:
/bin
/home
Anything that is not a directory in /tmp
On the other hand, /etc and /lib appear with all contents, both directories and files.
I checked to make sure that smb.conf didn't have any veto files configured.
Any other configuration files that I need to check to make sure that all contents are made visible?
@ my own setup : With the two below mentioned configuration lines;
Quote:
[test]
path = /
read only = yes
I was able to share it properly without any problems.
Though i was not able to surf into many folders because there were'nt enough rights/permissions available for 'others'.
Thanks for your responses. Here's the output of testparm:
[global]
workgroup = NA
server string = Jeff Pence's Linux
username map = /etc/samba/smbusers
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = /etc/printcap
local master = No
wins server = 159.119.100.11
remote announce = 159.119.255.255
guest ok = Yes
cups options = raw
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[tmp]
comment = Temporary file space
path = /tmp
read only = No
[root]
comment = File system root
path = /
valid users = jeff, jpence
read only = No
SE Linux is screwing with you. By default, SELinux is preventing the smb daemon from accessing those files. Google for SELinux and Samba - can't post links yet.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.