Adam Zion on 12 May 2013 16:44:23 -0700
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
[PLUG] SAMBA Mount from Linux WTF
- From: Adam Zion <email@example.com>
- To: PLUG <firstname.lastname@example.org>
- Subject: [PLUG] SAMBA Mount from Linux WTF
- Date: Sun, 12 May 2013 19:44:15 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=qH+8xlXBLv15gZTGrioU4u6Hv/NglzozFXS8TXxE4VU=; b=YQqkQSZEYrBzBq8pUiGw8RGDblWPjbhZDpLg57Wtibn3hG0vulTxykb4jsIkufStak OU7zKvzewURH5/u0LXLRHvhuPwXxvmKGLyzsHEmJNoJaFWdkQvueLj9X9PtnALIbiYj3 xtEyQI90nqE7/FvYlgOSlyH7S+KrVwfSDYDwuWpJDg49CtfUqtwFCA+9oudazsruBXQX T9fkhaOV6SdUbPLbbgbKNKY+ZkaV022J6b6OwxDVwj0SIO30riNyrYv2zCf3SYKJd+JR 33ZuZrhT0hce3Gaf042th22tsMvKtyTUAUyPBIU644jYhUD6I8z/gFH5kKo8ZyQhz4Dt Q21g==
- Reply-to: Philadelphia Linux User's Group Discussion List <email@example.com>
- Sender: firstname.lastname@example.org
OK, I'm building a simple Raspberry Pi NAS. Got the hardware working- well, mostly (gonna hold off on installing the mirror drive until everything's 100% operational). But the SAMBA configuration is driving me even further around the bend.
I know that the smb.conf and permissions on the Pi are correct b/c I can connect to that drive and have full RW permissions from Windows. From my primary linux workstation- where all of the data resides at the moment- is another story. I can mount it, but read-only.
The smb.conf on the Pi is as simple as can be:
workgroup = zionia
encrypt passwords = true
security = user
wins support = yes
browsable = yes
path = /media/drive1/adam
valid users = adam
writeable = yes
browseable = yes
read >path = /media/drive1/ilana
valid users = ilana
writeable = yes
And, before anyone asks, I created smb users adam + ilana, and know their passwords.
Not sure that the smb.conf on the workstation much matters in this particular case, but I made sure that encrypt passwords was true and security was user on it. The command that I'm using- unsuccessfully- to mount this share is :
sudo mount -t cifs -o username=adam,password=******** //10.0.0.33/adam
The mount succeeds- but read-only. As I said, this happens only on linux- when I mount from Windows 7, it's a full RW drive connection. Here's the kicker: if I sudo a file command from mount on the linux box- say, "sudo rm /home/adam/NAS/gofrakyourself"- it works perfectly.
I have confirmed that permissions are correct on the Pi's filesystem. I ran chown adam adam and chown ilana ilana in the relevant share directory, and ran a chmod 755 adam to give it the correct permissions as well. My next step is to set up a zero-security server and find out what the hell's wrong, but I'd rather not do that for even a microsecond.
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug