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

Windows CE install/update/upgrade/restore

Windows CE install/update/upgrade/restore to factory default. I am having a problem with my wireless book(Netbook or Pocketbook) w/ windows CE 6.0 it was stuck at "Loading Drivers" and nothing happens afterwards. The only solution i can think is to reinstall WinCE 6.0 Prepare:     - 1GB SD Card (Format it as Normal not Quick in FAT)       - Charge the battery of Netbook up to 100% (in my experience, installation may failed if low battery)     - Download  WinCE 6.0 or in http://www.poodwaddle.com/netbook/WinCE.rar      - Extract that file into SD Card root folder (when you open you SD Card in explorer you can see that there is folder named "Script".    - That's all for the preparation Procedure:     1. Turn-off Netbook     2. Insert the SD Card     3. Turn-on netbook     4. It will automatically read and execute the content of the SD Card     5. It will restart automatically and load the software package, and you can see ang windows deskto