|
|
安装了samba
smb。conf- [shitbaby]
- path = /media/hda5
- available = yes
- browseable = yes
- public = yes
- writable = no
- read only = yes
- security = user
- create mode = 0750
- [home]
- comment = Home Directories
- browseable = yes
- read only = no
- create mode = 0750
- path = /home/joey/
- guest ok = yes
复制代码
全局 security是 share
我上面的 /media/hda5 想共享
hda5 在 /etc/fstab 里的umash=000 也就是ls 查看 hda5 属性是 rwx都有了
这样 winxp可以访问我的 hda5 了,但是现在xp下也有修改 hda5目录 文件的权限了
后面的writable = no
read only = yes
security = user
create mode = 0750
好像都不起作用了
我想本机有修改hda5的权力 但是共享上只有只读属性
如何设置
谢谢 |
|