You are not logged in.

#1 2004-08-05 08:46:08

From: Belgium
Registered: 2004-07-16
Posts: 230

Cannot get SMB shares to be writeable

Lo all,

I cannot seem to get SMB shares to be writeable. I have this in /etc/fstab:

//GENESIS/RedShift    /smb/RedShift    smbfs    credentials=/etc/samba/credentials,rw,gid=smb,uid=glenn,fmask=777,dmask=777

Yes, the share is writeable at the server side. I login as the user "glenn" and I am member of the group smb.

When I look at all the dirs/files, they have permissions 755. I cannot change anything, move, delete, ....



#2 2004-08-05 13:01:55

Registered: 2003-09-04
Posts: 112

Re: Cannot get SMB shares to be writeable

mine is writable and seems to be working alright, here is my fstab entry:

//arch/music /home/ctm/music smbfs users,gid=100,uid=1000,password=XXX  0  0

course the XXX arew replaced by the password.

if you type "id" into the term, you can get the gid and uid values for your user. Another thing I noticed was that when I create a dir in one of my shares, it defaults to using the "nobody" group. So, I took a look in my /etc/group file and added my user to that group. That should allow for files to be added into dirs that are created inside the shares as well.

Anyone else who wants to share their config, feel free, I arrived at mine thru some trial and error so it may not be perfect.


Board footer

Powered by FluxBB