Issue area: Mixed-network file sharing with Windows 7 Home Premium

SilversleevesX

New member
Local time
6:31 PM
Messages
10
Is it possible with the non-W7 machine's shares set to something besides "guest access allowed"?

I've tried a few tweaks on my Windows 7 desktop and my Kubuntu 11.04 Linux-running laptop. Nothing has worked. Unless access to a shared directory is set to guest on the laptop, the Windows box keeps asking for a legitimate password, whenever I attempt to 'open' them.

Both machines have the same log-in strings for both basic log-on and Samba. Or do they? I'm presuming there's no separate logon/password required for Windows 7 Home Premium when it comes to file sharing, but as a late Windows XP Professional user (both SP2 and SP3), I'm not taking anything wholly for granted. Any Windows build since the dawn of XP that installs without gpedit.msc is bound to be lacking in other ways, imco.

So any help or advice someone could offer would be much appreciated.

Thanks in advance.

BZT
 

My Computer My Computer

At a glance

Windows Home Premium 64Bit
OS
Windows Home Premium 64Bit

My Computer My Computer

At a glance

Windows 7 Pro x64AMD FX 4100 4 Core 3.6GHz AM3+16GB G.Skill RipjawsXRadeon 6850
Computer Manufacturer/Model Number
Home build
OS
Windows 7 Pro x64
CPU
AMD FX 4100 4 Core 3.6GHz AM3+
Motherboard
ASROCK 970 Extreme3
Memory
16GB G.Skill RipjawsX
Graphics Card(s)
Radeon 6850
Sound Card
ASUS Xonar D1
Monitor(s) Displays
ASUS 23" LCD
Hard Drives
SSD 120GB
WD 750GB Black series
WD 640GB Black series
PSU
700W
Case
Antec 100
Cooling
Hyper 212 Plus
Internet Speed
50MB
I found out what I think was wrong.

There are some lines in Ubuntu GNOME's smb.conf file nobody talks about editing.

They happen to be in the Share Definitions section and they look like this
Code:
# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
;   create mask = 0700

# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
;   directory mask = 0700
What must have made it work, after a restart of the laptop (where I was diverted into a window-manager crash issue, but came back from it) was un-commenting the lines that set the create mask and directory mask permissions, and going right ahead with changing them to 775 as suggested by the authors of the config file.

So now I have
Code:
create mask = 0775
and
Code:
directory mask = 0775
and accessing a share I'd created before exchanging this new edited file with my latest edit from earlier in the week,was a mere matter of double-clicking to open the folder to see what was in it. :)

Albeit this share was still set to Guest access, I solved the "UID=nobody" "GID=nogroup" problem I had previously griped about (not on this forum but elsewhere). It will be interesting to see if it makes any difference should I remove Guest access from that share.

BZT
 
Last edited:

My Computer My Computer

At a glance

Windows Home Premium 64Bit
OS
Windows Home Premium 64Bit
Back
Top