know what ? i am an ass hole ;-)

before : drwxr-xr-x    2 root     root         4096 Dec  8 19:03 backup/

[root@backup tal]# chmod 777 backup/

after : drwxrwxrwx    2 root     root         4096 Dec  8 19:03 backup/

this is what happends if you dont get enough sleep when you should
please dont shoot me for this ;-)
sorry.



> please read my comments below...
>
> -=O0~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~O0=-
>    "He took his vorpal sword in hand:
>     Long time the manxome foe he sought -
>     So rested he by the Tumtum tree.
>     And stood awhile in thought."
>
>                   [L.Carrol "Jabberwacky"]
>
> On Wed, 9 Jan 2002, tal amir wrote:
> > guys,
> >
> > samba server : samba-2.2.1a-15mdk,
> > this is mandrake 8.1 . (both client&server)
>
> there's a great samba-2.2.2 out there. get the sources ...
>
> > this is the smb.conf  (server):
> >
> > -------------------------------------------------------------------------
> >------------------------------------------ # Global parameters
> > [global]
> >         workgroup = MDKGROUP
> >         server string = Samba Server %v
> >         security = SHARE
> >         encrypt passwords = Yes
> >         log file = /var/log/samba/log.%m
> >         max log size = 50
> >         socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> >         printcap name = lpstat
> >         dns proxy = No
> >         printing = cups
> >         security = share
> >
> > [homes]
> >         comment = Home Directories
> >         read only = No
> >         browseable = No
> >
> > [printers]
> >         comment = All Printers
> >         path = /var/spool/samba
> >         create mask = 0700
> >         guest ok = Yes
> >         printable = Yes
> >         print command = lpr-cups -P %p -o raw %s -r   # using client
>
> side
>
> > printer drivers.
> >         lpq command = lpstat -o %p
> >         lprm command = cancel %p-%j
> >         browseable = No
> >
> > [backup]
> >         comment = backup share
> >         path = /home/tal/backup/
> >         guest ok = Yes
> >         writeable = Yes
> >         browseable = Yes
> >         read only = No
> >
> > -------------------------------------------------------------------------
> >------------------------------------------
> >
> > the mount command :
> >
> > mount -t smbfs -o username=root,password=root_passwd 
> > //192.168.0.2/backup /mnt/backup/
> >
> > the volume mounts ok, but permition denied for (rw) , only (ro) :
> >
> > [root@whatsup backup]# mkdir test
> > mkdir: cannot create directory `test': Permission denied
> > [root@whatsup backup]#
> >
> >
> > what am i missing here ?
>
> 0)
> first of all, your backup dir is in the scope of [homes]
> share ... this can sometimes be the problem,
> if i were to code the policy, i'd take the most strict policy
> in case certain directory is shared more than 1 time.
>
> besides, regular perms problem can also occur:
> please give us this:
>
> 1) df /home/tal
> after determining the <device>:
> cat /etc/mtab | grep <device>
>
> see the mounting permissions
>
> 2) ls -l /home/tal
> 3) ls -l /home/tal/backup
>
> 4) besides, when you mount the share as root,
>
> cheers
>
> Max.

-- 
-----------------------------------
_|_|_     Best Regard's ,
  ( )   *  Amir Tal,  
  /v\  /   System Administrator
/(   )X    
 (m_m)      
| |        ICQ : 15748705
| (_)_ __  
| | | '_ \| | | \ \/ /   
| | | | | | |_| |>  <    
|_)_|_|_| |_|__,_/_/\
 http://whatsup.homelinux.com 
-----------------------------------

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to