You are not logged in.
Pages: 1
Hello,
I'm trying to mount my Samba share automatically via fstab. It works, however, there seems to be permission problems. I can create directories, but I cannot create files inside those directories. This is my smb.conf (relevent parts only):
# Security mode. Defines in which mode Samba will operate. Possible
# values are share, user, server, domain and ads. Most people will want
# user level security. See the Samba-HOWTO-Collection for details.
security = share[public]
path = /storage/public
read only = No
create mask = 0777
directory mask = 0777
guest ok = Yes
As you can see, it's supposed to be a guest share that anyone on the network can access and modify. However, no matter what kind of mount options I use I can never create files in directories...
Thanks for any help.
Offline
Still can't get it to work...
Perhaps I should switch to an sftp mount...
Offline
Perhaps the permissions on your filesystem are wrong, not the ones from samba.
Try force user = <the user that owns the directory which is shared>
example:
[files]
comment = chris
path = /home/chris/files
public = yes
writable = yes
printable = no
create mask = 0777
force user = chris
฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz
Offline
Pages: 1