You are not logged in.
Hello,
I am not very good when it comes to networking and I am not sure how to solve this one without granting everyone access to my folders..
On my ubuntu server, I have the two following folder that I want to access with all rw access from my laptop:
drwxr-xr-x 10 mldonkey mldonkey 4096 2009-10-18 12:01 mldonkey
drwxr-xr-x 15 lcoumetou lcoumetou 4096 2009-10-17 20:27 mythtv
lcoumetou@ouranos:~$ cat /etc/exports
/var/lib/mythtv 192.168.1.*(rw,sync,no_subtree_check)
/var/lib/mldonkey 192.168.1.*(rw,sync,no_subtree_check)
On my arch laptop, I use the following:
[12:11:23][lcoumetou@phusis]
[~]Arch64$ cat /etc/autofs/auto.nfs
#NFS Shares
mythtv -fstype=nfs,rw ouranos:/var/lib/mythtv
mldonkey -fstype=nfs,rw ouranos:/var/lib/mldonkey
Here is the permission I get:
[12:14:01][lcoumetou@phusis]
[/nfs]Arch64$ ls -l
total 12
drwxr-xr-x 4 root root 0 2009-10-18 12:13 ./
drwxr-xr-x 25 root root 4096 2009-10-17 19:36 ../
drwxr-xr-x 10 114 122 4096 2009-10-18 12:01 mldonkey/
drwxr-xr-x 15 lcoumetou 1000 4096 2009-10-17 20:27 mythtv/
[12:14:43][lcoumetou@phusis]
[/nfs/mythtv]Arch64$ ls
total 52
drwxr-xr-x 15 lcoumetou 1000 4096 2009-10-17 20:27 ./
drwxr-xr-x 4 root root 0 2009-10-18 12:13 ../
drwxrwsr-x 2 104 106 6 2009-09-26 00:23 banners/
drwxrwsr-x 2 104 106 6 2009-09-26 00:23 coverart/
drwxrwsr-x 2 104 106 6 2009-09-26 00:23 db_backups/
drwxrwsr-x 2 104 106 6 2009-09-26 00:23 fanart/
drwxr-xr-x 5 lcoumetou 1000 44 2009-08-16 15:20 games/
drwxrwsr-x 2 104 106 6 2009-09-26 00:23 livetv/
drwxrwsr-x 488 104 106 24576 2009-10-17 23:02 music/
drwxrwxr-x 3 104 106 24 2009-08-10 20:57 pictures/
drwxrwxr-x 2 104 106 8192 2009-10-17 16:48 posters/
drwxrwsr-x 2 104 106 141 2009-10-17 20:27 recordings/
drwxrwsr-x 2 104 106 6 2009-09-26 00:23 screenshots/
drwxrwsr-x 2 104 106 6 2009-09-26 00:23 trailers/
drwxrwsr-x 7 104 106 4096 2009-09-26 10:36 videos/
[12:16:01][lcoumetou@phusis]
[/nfs/mldonkey]Arch64$ ls -l
total 13752
drwxr-xr-x 10 114 122 4096 2009-10-18 12:01 ./
drwxr-xr-x 4 root root 0 2009-10-18 12:13 ../
-rw-r--r-- 1 114 122 9388 2009-10-18 12:01 bittorrent.ini
-rw-r--r-- 1 114 122 3394 2009-10-17 21:03 bw_h_updown.png
-rw-r--r-- 1 114 122 4694 2009-10-17 21:03 bw_updown.png
-rw------- 1 114 122 10485760 2009-10-17 08:27 config_files_space.tmp
-rw-r--r-- 1 114 122 8946 2009-10-18 12:01 donkey.ini
-rw-r--r-- 1 114 122 33650 2009-10-18 12:01 downloads.ini
-rw-r--r-- 1 114 122 889 2009-10-18 12:01 fileTP.ini
-rw-r--r-- 1 114 122 394 2009-08-15 15:36 file_sources.ini
-rw-r--r-- 1 114 122 1824122 2009-10-18 12:01 files.ini
-rw-r--r-- 1 114 122 116 2009-10-18 12:01 friends.ini
drwxr-xr-x 4 114 122 36 2009-08-15 10:39 incoming/
-rwxr-xr-x 1 114 122 916 2009-10-17 08:27 mldonkey_submit*
-rw-r--r-- 1 114 122 1436771 2009-10-18 12:15 mlnet.log
-rw-r--r-- 1 114 122 77416 2009-10-17 08:25 mlnet_strings.EN_ANSI_X3.4-1968
-rw-r--r-- 1 114 122 78191 2009-08-15 15:36 mlnet_strings.en_GB.UTF-8
drwxr-xr-x 2 114 122 6 2009-10-18 12:05 mlnet_tmp/
-rw-r--r-- 1 114 122 291 2009-10-17 08:27 mlsubmit.reg
drwxr-xr-x 2 114 122 4096 2009-10-18 12:01 old_config/
-rw-r--r-- 1 114 122 47 2009-08-15 16:23 onlinesig.dat
drwxr-xr-x 2 114 122 6 2009-10-17 08:26 searches/
-rw-r--r-- 1 114 122 2500 2009-10-18 12:01 searches.ini
-rw-r--r-- 1 114 122 4946 2009-10-18 12:01 servers.ini
drwxr-xr-x 2 114 122 6 2009-08-15 10:39 shared/
-rw-r--r-- 1 114 122 87 2009-10-18 12:01 shared_files.ini
-rw-r--r-- 1 114 122 87 2009-08-15 16:23 shared_files_new.ini
-rw-r--r-- 1 114 122 408 2009-10-18 12:01 statistics.ini
-rw-r--r-- 1 114 122 1612 2009-08-15 16:23 stats.ini
-rw-r--r-- 1 114 122 7341 2009-10-18 12:01 stats_bt.ini
-rw-r--r-- 1 114 122 10589 2009-08-15 16:23 stats_mod.ini
drwxr-xr-x 22 114 122 4096 2009-10-18 11:39 temp/
drwxr-xr-x 7 114 122 74 2009-10-17 08:27 torrents/
-rw------- 1 114 122 1782 2009-10-18 12:01 users.ini
drwxr-xr-x 2 114 122 77 2009-10-18 12:12 web_infos/
I can write and erase in my mythtv folder but not at all in my mldonkey one.
What do I have to change to have full permissions on both folders?
Thanks
Ludo
Offline
I think that NFS need same users, with uid's same, on both systems and "no_root_squash" option on "exports" for same root. Then you can use system permissions as usual.
With NFS4 I need load module "nfsd" for it work at boot.
Bye and sorry for my english.
Last edited by opotonil (2009-10-18 12:08:24)
Offline
I may be wrong here but, is it normal to use a wildcard in the IP address in the /etc/exports file?
Offline