You are not logged in.

#1 2015-05-01 12:42:32

xp-1000
Member
Registered: 2013-08-04
Posts: 11

write permission over nfs for transmission files

Hi all,

I have a strange problem and I hope you could help me.

Context :

I have a server with :

  • transmission-daemon to remotely download torrent

  • pyload to remotely download ddl

  • nfs server to provide write access over lan for linux clients

  • samba server to provide write access over lan for windows clients

And of course, a client wich connect to nfs share to manage files .

Problem :

nfs clients have write permission over files created by pyload and basic users of servers but not on transmission files.
otherwise, samba or local basic user have write access on all files (even transmission)

Configuration :

On the server, I have a storage mounted in /mnt/data binded to /srv/nfs4/.

Transmission save files with mask 022 in directory :

/mnt/data/downloads/

Pyload with mask 022 in :

/mnt/data/downloads/ddl/

Nfs give access to /srv/nfs4 with wirte permission :

/srv/nfs4/ 192.168.100.0/24(rw,no_subtree_check)

Infos :

With I know and I tested, I can tell you :

  • I have 770 (and not 700) permissions on /mnt/data for local users on servers

  • Permission files should not be the cause. nfs and smbd are owned by root so logically, both of them can write.

  • Smb clients can write with every permissions (777,770,700) on files

  • Nfs clients seems have permission of "other". No write with 700 and 770. But write access with 777

  • pyload files are owned by pyload:pyload

  • transmission files are owned by transmission:transmission

  • basic users files are owned by [the_user]:users

So the problem exists only for transmission (not pyload) owned files from nfs client (not samba) and files are the same permissions .. I don't understand.

I will try with more verbose nfs server but I take every idea smile 

Thanks you.

Last edited by xp-1000 (2015-05-01 12:46:00)

Offline

Board footer

Powered by FluxBB