45Drives / cockpit-file-sharing

A Cockpit plugin to easily manage samba and NFS file sharing.
GNU General Public License v3.0
596 stars 32 forks source link

Warn if a share name equals a users name #87

Open copitz opened 1 year ago

copitz commented 1 year ago

In the standard installation of samba the homes feature is enabled which creates a non browsable, readonly share for each samba user. It took me a good amount of time to find out, that these automatic shares are overlaying the manually configured shares and while I agree, that an experienced linux user could know this, it would be a lot more user friendly if cockpit-file-sharing could show a warning like (!) Using a username for a share might lead to confusion with sambas homes feature - either disable it by removing the [homes] section from smb.conf or choose another name