Re: [Hampshire] Samba Shambles

Top Page

Reply to this message
Author: Tim
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Samba Shambles

Hi Rob

root@0[sda1]# ls -l
total 288
drwxr-xr-x 3 mit users 32768 2006-07-29 23:35 film
drwxr-xr-x 212 mit users 65536 2007-03-31 21:39 mp3
drwxr-xr-x 30 mit users 32768 2007-04-09 21:21 Pictures
drwxr-xr-x 5 mit users 32768 2007-03-26 20:20 Titans
drwxr-xr-x 7 mit users 32768 2006-12-17 12:53 Video
drwxr-xr-x 14 mit users 32768 2007-04-02 21:28 Zunk
root@0[sda1]# chmod 777 Zunk
root@0[sda1]# ls -l
total 288
drwxr-xr-x 3 mit users 32768 2006-07-29 23:35 film
drwxr-xr-x 212 mit users 65536 2007-03-31 21:39 mp3
drwxr-xr-x 30 mit users 32768 2007-04-09 21:21 Pictures
drwxr-xr-x 5 mit users 32768 2007-03-26 20:20 Titans
drwxr-xr-x 7 mit users 32768 2006-12-17 12:53 Video
drwxr-xr-x 14 mit users 32768 2007-04-02 21:28 Zunk

chmod had no effect on the permissions, one thing I failed to mention is the
disk is fat32 formatted (its a 200gb external usb hard disk).

All the users should have the same permissions as (you can see from the share
names) this is where we save all the music, pictures and videos (Zunk is
where we drop stuff for other to grab, doc, updates etc.), but yes when she
rips a cd I have go and sort the mess out!!

Tim


On Wed April 11 2007 22:24, rob wrote:
> Tim wrote:
> > Hi Rob
> >
> > I have made progress, my users can now access the shares again, it
> > requests a user name & password which is what I wanted, they can read and
> > copy from the share but they can not write to the share, is this what you
> > meant when you said they were set a bit aggressive?? how\what do I change
> > to allow the users to be able to write to the shares??
> >
> > regards
> > Tim
>
> Yep just a suggestion if they can read the files, but not create or delete
> It could be that the directory is not allowing your users to create or
> edit anything within
> do an ls -l and it should show permissions for the shared directory
>
> it may be just a case of using chmod to change permissions on the
> "shared directories"
> if its only a pen drive and its open for full access for all,
> chmod 777 the shared directory
> (read write and execute by all)
>
> you may also want to use the create mask bit in the smb.conf for the
> shared pen drive's files subsequently created so that user "A" can also
> delete/edit user "B's" files etc
>
> kind of annoying if your partner keeps filling the drive with crappy
> music that really belongs in her home dir so you don't have to witness
> it and you want to clear some space without having to log out and back
> in as her ;-)
>
> Regards
> Rob