You are not logged in.
hi,
i want to be able to write to a shared samba directory on my netbook, from my laptop.
here is the netbook smb.conf:
[global]
workgroup = f3ar
netbios name = f3ar-asus
server string = %h server
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
security = share
[asus-shared]
path = /vol/shared
browseable = yes
writeable = yes
guest ok = yes
hosts allow = 192.168.1.99
hosts deny = 0.0.0.0/0
heres the fstab on the laptop
//192.168.1.98/asus-shared /mnt/asus cifs rw,user,noauto 0 0
is there anything i am missing, because i get a permission error everytime i try to write (from laptop) to /mnt/asus
bash: /mnt/asus/file: Permission denied
Last edited by f3ar007 (2009-12-13 14:50:16)
Offline
you may have to pass the credentials to have rw access to the samba share.
//192.168.1.98/asus-shared /mnt/asus cifs username=user,password=pass.
more secure way for eg
mkdir /path/dir
chmod 0700 /path/dir
chown root /path/dir
//share/dir /mt/myshare cifs credentials=/path/dir/fileshare
cat /path/dir/fileshare
username=yourusername
password=youpass
If both the pc's are linux then nfs is easier way.
Offline
okay, so i ditched samba and went to nfs.
i followed the wiki guide and when i try to mount a folder from my netbook, on my laptop, i get...
mount.nfs: mount system call failed
i can post whatever files are necessary
[SOLVED]
the when mounting with nfsv4 i need to mount '/' or root because it reads whatever is specified in the config '/home/f3ar007' as root /.
Last edited by f3ar007 (2009-12-13 14:49:49)
Offline