summaryrefslogtreecommitdiff
path: root/x11-misc/pcmanfm-qt-share/files
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/pcmanfm-qt-share/files')
-rw-r--r--x11-misc/pcmanfm-qt-share/files/ShareReadOnly.desktop8
-rw-r--r--x11-misc/pcmanfm-qt-share/files/ShareReadWrite.desktop8
2 files changed, 16 insertions, 0 deletions
diff --git a/x11-misc/pcmanfm-qt-share/files/ShareReadOnly.desktop b/x11-misc/pcmanfm-qt-share/files/ShareReadOnly.desktop
new file mode 100644
index 00000000..e3ef10ac
--- /dev/null
+++ b/x11-misc/pcmanfm-qt-share/files/ShareReadOnly.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Action
+Name=Samba Network Share (readonly)
+Profiles=profile-zero;
+
+[X-Action-Profile profile-zero]
+Exec=/usr/bin/net usershare add %w %f "" Everyone:R guest_ok=y
+Name=Default profile
diff --git a/x11-misc/pcmanfm-qt-share/files/ShareReadWrite.desktop b/x11-misc/pcmanfm-qt-share/files/ShareReadWrite.desktop
new file mode 100644
index 00000000..44a3d165
--- /dev/null
+++ b/x11-misc/pcmanfm-qt-share/files/ShareReadWrite.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Action
+Name=Samba Network Share (readwrite)
+Profiles=profile-zero;
+
+[X-Action-Profile profile-zero]
+Exec=/usr/bin/net usershare add %w %f "" Everyone:F guest_ok=y && chmod = 777 %f
+Name=Default profile