• Welcome to OS2World OLD-STATIC-BACKUP Forum.
 

News:

This is an old OS2World backup forum for reference only. IT IS READ ONLY!!!

If you need help with OS/2 - eComStation visit http://www.os2world.com/forum

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - DaveS

#1
Networking / Re: Samba and utime()
2012.06.10, 17:49:02
OK so according to the docs on a *nix system the user smb is running as, which I assume is who you connect as, has to have write *and* own the file. As, in general, os/2 files are uid/gid 0/0 you don't get very far. I tried "force user = root" but it makes no difference.   
#2
Networking / Re: Samba and utime()
2012.06.06, 11:07:43
Similar except I am copying a file and then explicitly setting the correct times with utime().

The Samba docs imply that this happens win <> unix but there must be some workaround. The docs go on to say if the user SMB is running as has write then it ought to work. Does our Samba port look to other systems as a win/dos  or a *nix system? 
#3
Networking / Re: Samba and utime()
2012.06.05, 22:17:57
No, this was working perfectly with file and print mounted drives. Only fails on samba drives. I am going ECS to ECS.
#4
Networking / Samba and utime()
2012.06.05, 19:32:53
Is there a work around for this problem?

Was running a backup script that goes local to remote. Was using file and print but changing to samba and the create times are wrong. Docs suggest it ought to work if the user smb is running as has write but I am unsure what to set where. Or if this appiles to this port.

TIA
Dave