LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 06-25-2010, 09:51 AM   #1
Ezplan
Member
 
Registered: Dec 2003
Location: MA
Distribution: CentOS 5, Linux Mint
Posts: 58
Blog Entries: 1

Rep: Reputation: 15
Can't write to Seagate Blackarmor NAS thru CIFS mount


Hi All,
I've got a Seagate Blackarmor NAS which I can mount with CIFS to my Centos 5 server fine but only root can read and write to it. All other users can only read. I've tried several different mount options but results are always the same.

My current fstab line:
//10.10.10.99/Bacula /mnt/blackbird cifs rw,user,uid=bacula,gid=disk,file_mode=0117,dir_mode=0117,user=bacula,password=bacula 0 0

Specific issue: I'm trying to connect the the NAS so Bacula, a backup app, can write backups to it. "bacula" is set up as a user on the NAS. BTW, I'm pretty sure the OS on the NAS is Linux, and I can connect through windows and write fine.

Any suggestions appreciated! thanks!
 
Old 07-15-2010, 01:25 PM   #2
grond
LQ Newbie
 
Registered: Jun 2010
Posts: 8

Rep: Reputation: 1
Just a guess, but did you try file and dir_mode=0777? Your permissions currently are u=x, g=x, o=rwx (0117). Anyone in group disk might be limited by the g=x. User bacula will probably be limited by u=x.

hth,
dnm
 
Old 07-15-2010, 02:12 PM   #3
Ezplan
Member
 
Registered: Dec 2003
Location: MA
Distribution: CentOS 5, Linux Mint
Posts: 58
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Thanks for the reply.
I did try various permissions on the dir_mode. But nothing worked. I ended up mounting the partition as an NFS mount. The Seagate Black Armor NAS supports that. The trick is to get the path right on the "mount" command. It is not obvious but any share set up on the Black Armor NAS has as it's root /DataVolume.

So my line in fstab:
10.10.10.99:/DataVolume/Bacula /mnt/blackbird nfs rw,user 0 0

That works with no problems.

Thanks again. I'll mark this solved.
 
  


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
BlackArmor NAS 110 having timeout errors mikerez Linux - Networking 1 05-18-2010 03:41 AM
manual mount cifs works but srcipt mount cifs has mount error (13): Permission denied CADIT Linux - Newbie 6 11-20-2009 02:48 PM
LXer: Seagate BlackArmor NAS 420 Review LXer Syndicated Linux News 0 07-23-2009 12:11 AM


All times are GMT -5. The time now is 12:55 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration