summaryrefslogtreecommitdiff
path: root/x11-misc/pcmanfm-qt-share/files/Unshare.desktop
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-01-08 00:40:40 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-01-08 00:40:40 +0000
commit4f0a4c93c2b5ae8a1eb80edeb99bc04f6a8ce4b9 (patch)
tree95848fe4858a9b6ab8bf2a39ef43ec925ae7d949 /x11-misc/pcmanfm-qt-share/files/Unshare.desktop
parentd6d571ef747c1a9a0a557a1d4bb913d092a3a34c (diff)
net-fs/samba-config-redcore && x11-misc/pcmanfm-qt-share : prepare samba usershares
Diffstat (limited to 'x11-misc/pcmanfm-qt-share/files/Unshare.desktop')
-rw-r--r--x11-misc/pcmanfm-qt-share/files/Unshare.desktop8
1 files changed, 8 insertions, 0 deletions
diff --git a/x11-misc/pcmanfm-qt-share/files/Unshare.desktop b/x11-misc/pcmanfm-qt-share/files/Unshare.desktop
new file mode 100644
index 00000000..23db87d0
--- /dev/null
+++ b/x11-misc/pcmanfm-qt-share/files/Unshare.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Action
+Name=Samba network unshare
+Profiles=profile-zero;
+
+[X-Action-Profile profile-zero]
+Exec=/usr/bin/net usershare delete %w %f "" && chmod = 755 %f && find %f -type d -exec chmod 755 {} \; && find %f -type f -exec chmod 644 {} \;
+Name=Default profile