Skip to main content

[ UBUNTU 14 ] Zorin OS 9 - Share Folder from Standard Account

You are trying to share a folder from Standard User Account and you will get this error:

"'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error Permission denied
You do not have permission to create a usershare. Ask your administrator to grant you permissions to create a share
."

To fix this problem, you need to modify the file in /etc/group.

So, Login to your administrator account first, then open terminal, and type the command
  1. sudo su and enter you admin password
  2. gedit /etc/group
    • Find sambashare then add your standard user account there; (e.g sambashare:x:124:admin,<standard user account>).
    • Save and Close the File.
After that, you need also to modify the samba configuration file, so on the terminal type this command
  1. gedit /etc/samba/smb.conf
  • Add this line on the Global Section, usershare owner only = false
  • On the Share Definitions, set the create mask = 777 and directory mask = 777
  • Save and Close the file.
Restart the samba service, by typing this command on the terminal.
  1. service samba restart.
========================================
Login again to your Standard User Account, then try to share a folder by Right-Click then select Properties.

In the properties window, navigate to Permission Tab and set the Group=sambashare; Access=Create and Delete Files. Set Others Access=Create and Delete Files.

In the Local Network Share, Checked all the check-boxes below:
  • Share this folder
  • Allow others to create and delete files in this folder
  • Guest access (for people without a user account)

That's All


Comments

Popular posts from this blog

Bundy Clock Quick Setup Manual for IWATA TIME RECORDER CW-1A, CW-2A, CW-2SA

Recently, I bought IWATA bundy clock for our office and I'm happy because there is a Quick Setup Manual included in the package which is hard for me to find/download from the internet. Then I realized that it might be useful in the future so I decided to upload the manual here. Thanks,

Bundy Clock Set Time (IWATA CW-1A)

if the time is advance    * Press "HO" button once to stop the timer    * Press "HO" button again to start the timer if the time is late    * Press "SY" to add 1 minute UPDATE: I have already a copy of Quick Setup Manual for IWATA Bundy Clock. CLICK HERE

(MYPHONE Ocean Mini) Stuck on Start Logo problem

Option 1: Hard Reset Press Volume UP + Volume Down + Power Button Select Recovery Mode Select Recovery Mode Again Wipe Data/Factory Reset Reboot the Phone If you encountered an error from the above procedure, try option #2 below. Option 2: Firmware Update Download needed files below on your computer and extract into a folder.     Mediatek MT65xx Preloader Driver     SP-Flash Tool v5.1352.01     MyPhone Agua Ocean Mini firmware  or this one  version 1.08 Connect you phone to your computer. ( Open Device Manager. Right-click "MT65XX..." and click "Update Driver Software". Select "Browse my computer for driver software". Click Next, then Finish. Open Mediatek folder the one that you extracted earlier. Open flash_tool.exe from SP Flash Tool folder Browse Download Agent File (i.e, MTK_AllInOnce_DA.bin) from SP Flash Folder Browse Scatter-Loading file (i.e, MT6572_Android_scatter_mt...