Permissions for creating files


Subject: Permissions for creating files
From: Christopher M. Anderson (cma@uri.edu)
Date: Fri Apr 06 2001 - 13:12:07 EDT


Hello all,

I'm running netatalk 1.5pre5 on a 2.2.17-14smp kernel (redhat 6.2
distribution). I can see the linux box in the chooser, connect via tcp,
and open and manipulate existing files. However, whenever I copy a file
from the mac to the linux box, or try to save a file from a mac application
to the linux box, I get the message: "The item <item> cannot be written
because it is locked."

Wading through the .AppleDouble directory (permissions 711), existing linux
box files have permissions 600 and an empty file by the name of the file I
tried to save/copy with permissions 000 (hence the locking?). Similarly,
if I try to trash an existing linux file, I am told I do not have
permissions.

I think there are some clues in my /messages log, but I'm new enough to
linux not to know what they mean:
at login:
Apr 5 23:04:52 bandit afpd[19308]: dhx login: xyz
Apr 5 23:04:52 bandit afpd[19308]: uams_dhx_pam.c :PAM: PAM Success -- No such
file or directory
Apr 5 23:04:52 bandit PAM_pwdb[19308]: (netatalk) session opened for user xyz b
y (uid=0)
Apr 5 23:04:52 bandit afpd[19308]: uams_dhx_pam.c :PAM: PAM Auth OK!: (null) --
 Inappropriate ioctl for device
Apr 5 23:04:52 bandit afpd[19308]: login xyz (uid 500, gid 100)

Then, when I try to copy a file:

Apr 5 23:05:06 bandit afpd[19308]: setdirowner: chown -1/0 .AppleDouble/.Parent
: Operation not permitted

Am I having an authentication problem when I login through appletalk, and
that's preventing me from getting thr right permissions to create files
(and if so, how do I fix it), or do I have a something set incorrectly
within netatalk?

Thanks for any ideas,

Chris



This archive was generated by hypermail 2b28 : Sun Oct 14 2001 - 03:04:36 EDT