How do I connect to a Windows share in Linux?
My netbook should connect to my NAS. This is done with the following command:
sudo mount -t cifs -o user=da -o noperm //100.82.252.6/datacenter /home/andy/datacenter
If necessary, the “cifs-utils” must be installed if they are not already installed. The whole thing must be started with “sudo” and root rights.
We specify “cifs” as the type, and with the option “-o2” we pass the user name. There is another option “noperm”. This is a small workaround, without it we could only use the share for reading, because the root mounts the thing.
The target server and share name follow, followed by the folder in which the share is to be mounted.
Bestseller No. 1
Samba 4: Das Handbuch für Administratoren
- Kania, Stefan (Author)
Bestseller No. 2
SAMBA!: Curso de língua portuguesa para estrangeiro A1-A2
- Ferraz, Andrea (Author)
Bestseller No. 3
Kerberos: Single Sign-on in gemischten Linux/Windows-Umgebungen...
- Pröhl, Mark (Author)