LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-20-2004, 11:18 AM   #1
jshelton
LQ Newbie
 
Registered: May 2004
Location: Fort Wayne, IN
Posts: 2

Rep: Reputation: 0
Mac Clients get error when copy folders to Fedora RC1 with ATALK


I'm a newbie to Linux so please be kind... I have just brought a production Fedora RC1 server online in a mix environment. I have a mixture of Win 9x, 2000 Pro, 2000 Server, and Mac 9.x clients. I had been using my windows servers to share my files for my macs and have had multiple problems. It had been recommended to me to upgrade to Linux for my mac file server. I installed Fedora and got ATALK up and running. I installed netatalk-1.5.5-9.i386.rpm Everything seems to be running GREAT but now I'm getting some odd things happening.

1) Certain folders seem to have files appear and then disappear. If you sit and watch the files bounce back and forth. I viewed the files on the server and all 12 were there but when the mac viewed them there was 12 then 10. Then those 10 were bouncing between which of the 12 it would show. I had the user make a copy of the folder and that seemed to take care of it, however I would like to know the cause and solution if any.

2) We are trying to copy a folder from the Windows server to the Fedora server and we get an error -50 on the mac. We have tried it from various mac clients with the same result. I have changed the name of the share and restarted the atalk service but that didn't help. The folder is a system backup of her mac. Any ideas?

ANY HELP would be GREAT.
Thanks,
John
 
Old 05-20-2004, 11:14 PM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
Assuming that you can still find the invisible files when you do a

#ls

on the appropriate directory while logged on to the Linux box,

It could be a problem of namespace. Mac perhaps does not recognize some filenames???
 
Old 05-21-2004, 08:46 AM   #3
jshelton
LQ Newbie
 
Registered: May 2004
Location: Fort Wayne, IN
Posts: 2

Original Poster
Rep: Reputation: 0
The files have all been copied by the macs. When she made a copy of the folder all of the files became vissible. My thoughts were that with the unique hidden attributes of the Mac file system if it was possible that it wasn't recording them properly in the Mac Files System Index on my Fedora server. (If that makes any sense)
NEW QUESTION:
I noticed that there is a network trash folder in each one of the atalk shares. However the folder is locked to the mac users and so whenenver they try and delete anything it doesn't go in to the trash can but has to be perm. deleted. Any thoughts. I did a ls -ld on the folder and it came up with a (drwx--Srwx)
Thanks,
John
 
Old 05-24-2004, 03:59 AM   #4
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
Well, Linux ATALK perhaps does not have the facility to move deleted files to Trash when the rm command is given.

perhaps you can create an alias so when the user gives a rm command, the file gets moved to the TrashCan.
 
Old 05-28-2004, 08:01 AM   #5
Joost van Halm
LQ Newbie
 
Registered: May 2004
Location: Utrecht
Distribution: Fedora Core 1 / FreeBSD / Mac OS X
Posts: 2

Rep: Reputation: 0
Exclamation Solution to -50 problem

Hi,

I'm having the same problems. What I figured out is the following:
some files need to store a resourcefile. It goes in to a hidden folder '.AppleDouble' and '.AppleDesktop'
Probably you created the folder to be shared on the Linux box. which means that some rights are inherited by following folders the system makes itself (the two mentioned above). Your users probably have rights to copy to the share but their systems cant write the necessary resourceforks in the appropriate folder because of the rights.

What you have to do is make sure everything is copied back to the original users if the files did not become corrupted. Than delete all directories in the shared folder. Than give the folder the right permissions for the users (group is most important). Make sure the rights on directories are inherited from the shared directory. Now (i think) users can safely copy files without -50 errors (can't write resource error / no permission error).

What concerns the missing or hiding of files, i think the two are related to the permissions problem I just described. I hope someone can confirm this!

Good Luck
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuring Mac OS X clients with Samba Server maelstrom209 Linux - Networking 3 07-28-2009 01:01 PM
Show hidden files and folders in Mac OS X Akiva Other *NIX 2 07-22-2005 10:54 PM
copy files and folders codepoet Linux - Newbie 2 06-12-2005 02:08 PM
Copy folders codepoet Linux - Newbie 4 05-12-2005 01:59 AM
how to copy files/folders??? Gallienus Linux - General 4 12-15-2003 12:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration