CasaOS
CasaOS copied to clipboard
[Feedback]Samba权限问题
Description
0.4.1版本中,通过Web界面上传的文件所有者为CASAOS管理用户名jingfei,(系统中有用户jingfei),但通过Samba服务只能让guest访问,上传文件所有者为nobody.nogroup。
In version 0.4.1, the file owner of uploads via the web interface is set to the management username "jingfei", which is a valid system user. However, via the Samba service, only guest access is allowed and the file owner of uploads is set to "nobody.nogroup".
0.4.2版本中,通过Web界面上传的文件所有者为root.root。同样,通过Samba服务只能让guest访问,上传文件所有者为nobody.nogroup。
In version 0.4.2, the file owner of uploads via the web interface is set to "root.root". Similarly, via the Samba service, only guest access is allowed and the file owner of uploads is set to "nobody.nogroup".
我希望能够统一为管理用户名,并且这个用户应该有密码。当然最好是可以配置的。无论是哪种方式,都应该一致。
I would prefer a consistent approach where the file owner is set to a management username with a password, across both versions. Ideally, there should be an option to configure this.
共享目录用于Syncthing同步目录也会出现权限问题,这也是个一致性问题。
Furthermore, there is a consistency issue when using the shared directory for Syncthing sync.

Additional Information
- OS: linux
- CasaOS Version: 0.4.2
- Disk Total: 29017
- Disk Used: 3957
- System Info: [Armbian 22.11.1 Bullseye \l Bit:32 Mem:967M Core:2 Linux bananapi 5.15.80-sunxi #22.11.1 SMP Wed Nov 30 11:13:48 UTC 2022 armv7l GNU/Linux]
- Remote Version: 0.4.2
- Browser: Edge
- Version: 110.0.1587.50
目前权限的问题较多,给用户带来的困扰也很多。CasaOS团队讨论了下,我们将开始整理权限,在稍后的版本解决问题。 Currently there are more issues with permissions and it causes a lot of trouble for users. the CasaOS team discussed it and we will start to sort out the permissions and fix the issues in a later release.
If we do this, we need to be able to set specific username and password for each samba share.
This is a feature we will need to implement.
有结果了吗