Πως μπορω να κανω ενα φακελο κοινοχρηστο μονο με εντολες απο το τερματικο?
(αντιστοιχη διαδικασια σε γραφικο περιβαλλον: δεξι κλικ σε φακελο -> sharing options -> τικ τις επιλογες που θελω -> create share)
Συντονιστής: konnn

$ net help usershare add
net usershare add [-l|--long] <sharename> <path> [<comment>] [<acl>] [<guest_ok=[y|n]>]
Adds the specified share name for this user.
<sharename> is the new share name.
<path> is the path on the filesystem to export.
<comment> is the optional comment for the new share.
<acl> is an optional share acl in the format "DOMAIN\name:X,DOMAIN\name:X,...."
<guest_ok=y> if present sets "guest ok = yes" on this usershare.
"X" represents a permission and can be any one of the characters f, r or d
where "f" means full control, "r" means read-only, "d" means deny access.
name may be a domain user or group. For local users use the local server name instead of "DOMAIN"
The default acl is "Everyone:r" which allows everyone read-only access.
Add -l or --long to print the info on the newly added share.
$ net usershare add -l mysharename /media/300gb/downloads/ "" "" guest_ok=y
[mysharename]
path=/media/300gb/downloads/
comment=
usershare_acl=Everyone:R,
guest_ok=y

Το θέμα μεταφέρθηκε στην κατάλληλη ενότητα!

