This shows you the differences between two versions of the page.
| — |
articles:samba-only-root-can-do-that:start [2013/10/05 21:34] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | |||
| + | |||
| + | ====== How to fix the "only root can do that" error when mounting a samba fs ? ====== | ||
| + | |||
| + | <code bash> | ||
| + | kerphi@p-gully:~$ ll /sbin/mount.cifs | ||
| + | -rwxr-xr-x 1 root root 30692 mars 9 11:28 /sbin/mount.cifs | ||
| + | </code> | ||
| + | |||
| + | <code bash> | ||
| + | sudo chmod a+s /sbin/mount.cifs | ||
| + | </code> | ||
| + | |||
| + | <code bash> | ||
| + | kerphi@p-gully:~$ ll /sbin/mount.cifs | ||
| + | -rwsr-sr-x 1 root root 30692 mars 9 11:28 /sbin/mount.cifs | ||
| + | </code> | ||
| + | |||
| + | |||
| + | |||
| + | {{tag>article computing samba mount permission}} | ||
| + | ~~DISCUSSION~~ | ||