D
D
dsslesarev2019-05-19 19:24:26
Debian
dsslesarev, 2019-05-19 19:24:26

Problem with rights, Samba writes no access?

Hello!
Problem solved! The problem was with the automatic mounting of mhddfs, it was necessary to set the rights and so on.

Merged two hard drives using: mhddfs
There was a problem with access rights to this folder, I can not access this folder via samba. And dlna when checking writes there are no access rights. Suggest solutions. Tried giving with help to chmodno avail.
The rights of the folder I give access to

drwx--x-wx+   7 minidlna admin  4096 май 19 16:55 files

# file: files
# owner: minidlna
# group: admin
user::rwx
user:root:rwx
user:minidlna:rwx
user:zeratul:rwx
group::rwx
mask::rwx
other::rwx
default:user::rwx
default:user:root:rwx
default:user:minidlna:rwx
default:user:zeratul:rwx
default:group::rwx
default:mask::rwx
default:other::rwx

samba config
[global]
  security = user
  wins support = true
  workgroup = workgroup
  os level = 20
  netbios name = dserver

[g_files]
  comment = g_files
  path = /g_files
  valid users = zeratul
  only user = yes
  create mode = 0766
  writeable = yes
    
 [files]
  comment = files
  path = /files
  valid users = zeratul
  only user = yes
  create mode = 0766
  writeable = yes

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vreitech, 2019-05-19
@dsslesarev

you still have additional rights hung through acl, do getfacl filesit and drop it here.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question