Sharing folders in Samba which are not in the HOME path
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
hi
i am giving a SOS also
i have a realized whn i started samba that something has been not fine since i migrated from RH 9.0 to FC2
well these migration issues are going to be there
go i am giving a fresh start to this
I had experienced almost exactly the same problem when assisting a friend: trying to mount an NTFS drive on a SUSE box, share via SAMBA and try to access it from a XP pc... didn't work and threw up the same error as yours. I tried bloody EVERYTHING I could think and had no luck at all. Then I looked, by chance, at /etc/fstab and saw the following:
Then created the ffg. smb.conf:
[global]
netbios name = VWADFOS01
printcap name = CUPS
encrypt passwords = yes
add user script = /usr/sbin/useradd -c Machine -d /dev/null -s /bin/false %m$
log level = 5
security = SHARE
preferred master = No
wins server = 196.4.214.94
workgroup = AVISIONNET
server string = Samba Server on VWADFOS01(Front Office software store)
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
veto files = /*.eml/*.nws/riched20.dll/*.{*}/
username map = /etc/samba/user.map
unix extensions = Yes
guest ok = Yes
printing = cups
writable = no
time server = Yes
os level = 65
[software$]
comment = software
path = /data2
And the sod started working fine... in fact I'm betting that all the smb suggestions you got from the guys on this thread will work fine, it's the *mount* permissions that may be the problem....
If you'r not able to browse the windows parttions as a user then more then likely you do not have permissions as user nobody to browse the windows mounted drives. I have had permissions issues with windows mounted drives in slackware. It just seams by default that the windows shares only have root permissions. What i would recommend is moving the data you want to share to a native linux parttion and giviing the directory ownership of nobody as the user. One this is more secure 2. Its a whole hell of a lot eazier. Other then that you can make access to other parts of the file system by symlinking into other direcotrys from the shared directory.
yeah...%$%#%$ NTFS/fat32...actually the bigger problem is that win cant access linux native formats at all(and definitely not reiser4)...but linux can read anything and so were forced to put commonly accessed things like mp3's on a fat32/ntfs drive for easy access on a dual boot setup
ive tried things like explore2fs and they seemed a little too crude..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.