Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a samba share at /public. The directory allows only reading from users that are connecting to it but any user on the server can write to it.

I have a folder in my home directory at ~/processing. I want to "link" (not sure if that is the correct term) all files from that folder to /public and have it be accessible by users connecting to the share.

Finally, I would like this link to happen once, so I wouldn't need to constantly poll for new files with some cron script or something (which is an option, but not an ideal one for me).

My samba config is at this PasteBin.

I have root access on the server so I can pretty much do anything I need to to get this working. Additionally, if it comes down to it I can just put the files directly into the /public folder, although I would rather not.

share|improve this question

closed as off-topic by Falcon Momot, Ward, dawud, mdpc, Tim Brigham Sep 17 '13 at 20:28

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions must demonstrate a minimal understanding of the problem being solved. Try including attempted solutions, why they didn't work, and the expected results. See How can I ask better questions on Server Fault? for further guidance." – Ward, dawud, mdpc, Tim Brigham
If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

up vote 0 down vote accepted

If you haven't set

wide links = no

you can use symlinks; otherwise mount --bind the relevant path inside your share.

share|improve this answer
    
Thanks, that seems like it worked. But I can't see the files on the actual file system, only in the share. Is that something that is expected to happen? –  Milo Gertjejansen Sep 12 '13 at 1:04

Not the answer you're looking for? Browse other questions tagged or ask your own question.