LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-30-2015, 09:55 PM   #1
ivan3055
LQ Newbie
 
Registered: May 2015
Location: Coffs Harbour NSW Australia
Distribution: Raspian
Posts: 2

Rep: Reputation: Disabled
Permission problems


trying to set up a simple NAS using Raspian on RaspberryPi2.
installed ntfs-3g and samba.
followed various methods to set it up.
found one that allows me access to my drives.
PROBLEM.....

As a test I edited a simple text file using my laptop (windows7), however when trying to save I receive "access denied"
same occurred on our other computers.

My setup....
in fstab

added...
UUID=DBE6-7AC0 /media/Lexar vfat defaults.noatime 0 2
UUID=F21843B31843756F /media/OurFiles ntfs defaults,noatime0 3


in samba config set security = user and encrypt passwords = yes in Authentication Section, then added the following at the end of file:
[Lexar]
comment this is the Lexar (vfat)
path = /media/Lexar
available = yes
read only = no
browsable = yes
public = yes
writable = yes
create mask = 0775

[OurFiles]
comment this is the OurFiles (ntfs)
path = /media/OurFiles
available = yes
read only = no
browsable = yes
public = yes
writable = yes
create mask = 0775

I would be very grateful for any assistance....thank you

Having trouble mastering this environment, please bear with me,

Last edited by ivan3055; 06-02-2015 at 08:39 AM. Reason: misplaced my answer
 
Old 05-30-2015, 10:17 PM   #2
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,666

Rep: Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543
Welcome to LQ!

Have you added users to the Samba password database backend? You can check by running, as root, 'pdbedit -L'.
 
1 members found this post helpful.
Old 06-02-2015, 08:37 AM   #3
ivan3055
LQ Newbie
 
Registered: May 2015
Location: Coffs Harbour NSW Australia
Distribution: Raspian
Posts: 2

Original Poster
Rep: Reputation: Disabled
many thanks to allend for his response,

I haven't added any users.

I understand the command as suggested, however when I to change to root
it asks for the root password, the only password I have is my login as pi,
it will not accept it for root. I will keep trying....
thanks again....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Permission Problems Mercurius Slackware 1 10-10-2006 09:14 PM
Permission problems britishnemesis Linux - Software 4 02-19-2005 02:45 PM
sm permission problems Jestrik Linux - Networking 0 03-27-2004 08:00 AM
Problems with Permission mordin Linux - Newbie 4 10-23-2003 02:45 PM
Permission Problems Ekim Gram Linux - Newbie 42 05-12-2003 04:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration