Skip to content
Snippets Groups Projects
Commit 0971e879 authored by Stephan Mueller's avatar Stephan Mueller
Browse files

fix UID mapping for mount.cifs command

parent 60014e13
No related branches found
No related tags found
No related merge requests found
......@@ -137,10 +137,10 @@ sudo mount -t cifs -o domain=AD,username=USERNAME,vers=3.0 //SERVERNAME/SHARENAM
```
To map the `uid` to your local User:
To map `uid` and `gid` to your local user:
```
sudo mount -t cifs -o domain=AD,username=USERNAME,vers=3.0,uid=$(id -u),gid=$(id -g) //home.phys.ethz.ch/homes /media/dphys
sudo mount -t cifs -o domain=AD,username=USERNAME,vers=3.0,uid=$(id -u $UID),gid=$(id -g $UID) //home.phys.ethz.ch/homes /media/dphys
```
## smbclient
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment