Comments (5)
good to know! have fun with the container :)
from samba.
I guess the user needs access permissions on the filesystem
I have some similar setup where I made the guest share read only. If you're logged in you have write permissions.
https://askubuntu.com/questions/88108/samba-share-read-only-for-guests-read-write-for-authenticated-users
This describes it pretty well 😊
from samba.
yeah.. The thing is all users have access to the share (read + execute)
For example I can run
docker exec -it --user nobody samba sh
cd /shares/sharename
ls
and see all the files..
For your working setup, did you have to assign the guest user to a particular user, or did the defaults work?
from samba.
My guest gets mapped to nobody.
I set my permissions on filesystem level accordingly
So there are files and documents which wouldn't be accessible by nobody e.g guest.
If I want to share files or whole shares I overwrite permissions and force groups on the samba config level.
You can also use nobody and remove others from writing in the share 🤔
With chmod 775 for example
from samba.
Thanks for your help!
I found the problem, apparently I can't use valid user in combination with guest ok, unless I add the guest users (eg nobody) to valid user.
EG, this works:
- SAMBA_VOLUME_CONFIG_sharename=[sharename]; path=/shares/sharename; valid users = user1, user2, nobody; read only = yes; write list = user1; guest ok = yes; browseable = yes
from samba.
Related Issues (20)
- Error loading shared library HOT 3
- No access to shared folder HOT 5
- Read-only shared folders HOT 2
- Question: Which version of Samba (v1/v2/v3/v4) is being used, and can it be changed for best performance? HOT 5
- force user = %U with timemachine HOT 5
- Why does turning on time machine modify my read and write permissions HOT 4
- Samba Server not visible HOT 5
- `disable netbios = yes` disregards `$NETBIOS_DISABLE` HOT 1
- Multiline not working HOT 3
- Cannot use UID and GID of a host user HOT 1
- differnce to dperson/samba HOT 1
- How to set the Time Machine share max size differently for different users HOT 6
- Why I can't create file? HOT 2
- Add configuration to change AVAHI service host name HOT 10
- Not Able to Delete Files HOT 14
- auth error when use compose list format HOT 14
- enable encryption HOT 2
- Can't connect on my share remotely and not discovarable HOT 4
- Scheduled Docker builds failing HOT 3
- samba:smbd-only-latest always reports unhealthy status HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from samba.