Link to home
Start Free TrialLog in
Avatar of jrickercha
jrickercha

asked on

linux error message when trying to run an automated move

I'm trying to run a process that has been lying dormant on our system for a couple years. It involves the generation of a bunch of web pages that are written to a linux file then moved through a samba share to a windows server. At some point during all these transfers I'm getting the error message below for each .htm  file attempted. I don't know hardly anything about linux and the guy who set all this up is long gone. I know this was working at one time.


linux mv:preserving ownership for '/webpages/123.htm': operation not permitted
ASKER CERTIFIED SOLUTION
Avatar of de2Zotjes
de2Zotjes
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jrickercha
jrickercha

ASKER

Thank you.
The files in question do not appear to be making the move.
The script that is executing the move is:
sudo mv /home/pick/webpages/partpageD* /webpages/$1
there are a bunch of these lines in the /usr/chabin/  directory in a file called mvwebpages
the "partpageD" portion changes depending upun the page being moved.

the mount command lists:
/dev/sda6 on / type ext2 (rw)
none on /proc type proc (rw)
/dev/sda1 on /boot type ext2 (rw)
/dev/sdd1 on /data type ext2 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
automount(pid683) on /misc type autofs (rw,fd=5,pgrp=683,minproto=2,maxproto=3)
//jabba/ARTransfers on /artransfers type smbfs (0)
//jabba/PickTransfers on /transfers type smbfs (0)
//jabba/ShippingRates on /shippingrates type smbfs (0)
//jabba/PowerSource on /pwrsrc type smbfs (0)
//jabba/TechSupp on /techsupp type smbfs (0)
//jabba/PartsWebPages on /webpages type smbfs (0)

The last entry is the target in question. We use one of the other shares (powersource) every day so I know at least that is working.

Thank you for your help!
John
Hi!

Type (on the Linux server): cat /etc/passwd
Look for the username with PID 683. Then check that this username exist in your Windows environment and that the user account is enabled. Also check the Samba configuration ( in file samba.conf ) for how the shares are setup.

Regards, Tobias
Avatar of Duncan Roe
I don't like the look of the zeroes in e.g //jabba/PartsWebPages on /webpages type smbfs (0). That says to me they are mounted with no access, but I haven't really got into Samba yet so maybe they're OK. Any other expert know?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I will dig into the suggestions you have made and let you know what I find.
Thank you very much