meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
common:mounting_shares [2010/06/17 12:42]
paalanen ubuntu and noperms notes
common:mounting_shares [2014/02/07 11:49]
laakkone [How to Mount]
Line 23: Line 23:
 The general form is: The general form is:
  
-<​code>​mount.cifs //​server/​share mountpoint -o noperms,​user=LUT/​username</​code>​+<​code>​mount.cifs //​server/​share mountpoint -o noperm,​user=LUT/​username</​code>​
  
 For umount you must use ''​umount.cifs''​ command. It seems to need the absolute path to mount point, For umount you must use ''​umount.cifs''​ command. It seems to need the absolute path to mount point,
Line 31: Line 31:
  
 The option ''​noperms''​ means, that the local file permissions are not used at all. The server will do permissions checking. The option ''​noperms''​ means, that the local file permissions are not used at all. The server will do permissions checking.
 +
 +===== File permissions =====
 +
 +If you need to check or change file permissions,​ use ssh to go to a machine, that has the share mounted via NFS. When you mount via CIFS on your workstation,​ the file permissions you see may have unknown user or group ids, or the permissions may be completely bogus (as with ''​noperms''​ option). Suitable servers are:
 +  * cursa.pc.lut.fi
 +  * laskenta1.it.lut.fi
 +  * laskenta2.it.lut.fi
 +
 +The path there is ''/​net/<​server>/<​share>/'',​ so e.g. <​code>​ssh cursa.pc.lut.fi
 +cd /​net/​www2/​projects
 +ls -l
 +</​code>​
  
 =====  Servers ​ ===== =====  Servers ​ =====