Hey all,
 
Thanks for the replies.
 
The drives belong to another division
in the company and they are quite
militant about having their stuff the
way they want it. so we can't play 
around with the setting in Samba's 
config file. we can't even get read 
permissions to some of the directories
that contain specs, that's a sign
of how restrictive they are.
 
The temp solution we figured out
is to create the directory manually
from the unix/linux side, then populate
it with all the files. We're under a 
crashing deadline right now, and
the fix may be clunky, but it will
allow our group to debug stuff.
 
And the reason it had to be before
5 is because I'm going on vacation tonight
(planned long before this crunch)
and will be gone until Monday, so
I needed something that would 
at least be a work around.
 
I'll have to play around with it once
I get back on Monday, but at least
I'm not the long pole in the tent
and I can go on vacation without 
holding up the entire project while
I'm gone.
 
Greg
 

________________________________

From: [EMAIL PROTECTED] on behalf of Greg London
Sent: Wed 5/10/2006 11:40 AM
To: Boston Perl Mongers
Subject: [Boston.pm] perl, windows, unix, and permissions



Garh!

So I have a perl script that runs on Windows.
It runs on windows because it needs to stuff
some user numbers into a spreadsheet
via Win32::OLE, let the spreadsheet calculate
new values, and then generate some text files.

Users run the script from Windows
and the script ends up creating a directory
and a handful of files in it.

Users then go over to the linux side of things,
go into this newly created directory and
run a bunch of commands there manually.

The problem I'm seeing is that the files
created from windows are all owned by "65530".
When the users go to the unix side and try
to run stuff, it looks like they're gettting permission
problems, and now I'm wondering if the problem
is the fact that the directory and files are all
created from windows, through Samba,
to what is actually a unix drive.

Is there a way to pass owner information along
somehow when I'm creating these files so
I can say they belong to 'london' rather than
65530? Or maybe there's a way to change
the owner once the directory and files are
created? I'd like to fix this from the windows
side if possible because that's where my
script exists, then it would be transparent
to the users that extra stuff is being done.

And I need this working before 5 pm or I'm sunk.

Greg



_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm


 
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to