Subject: pre5 permissions, anyone solved it yet?

From: Magnus Stenman <[email-masked]>
Date: Wed, 14 Mar 2001 12:25:24 +0100

I got the same weirdo permission problems as a lot of people have been
seeing, is there a fix (pre6 maybe) since it seems to be a showstopper
on at least a lot of RedHat 6.x and 7.x systems?

Files copied to the netatalk volume show up as 0-byte sized, both the
actual file and its .AppleDouble counterpart

Is it some problem with the uam module getting strange uid/gid:s for
the files to create?

Log entries:

Mar 13 19:13:13 lakrits afpd[5150]: uam: uams_dhx.so loaded
Mar 13 19:13:13 lakrits afpd[5150]: uam: "DHCAST128" available
...
Mar 13 19:14:38 lakrits afpd[5170]: dhx login: mskankweb
Mar 13 19:14:38 lakrits afpd[5170]: uams_dhx_pam.c :PAM: PAM Success -- Interrupted system call
Mar 13 19:14:38 lakrits PAM_pwdb[5170]: (netatalk) session opened for user mskankweb by (uid=0)
Mar 13 19:14:38 lakrits afpd[5170]: uams_dhx_pam.c :PAM: PAM Auth OK!: (null) -- Inappropriate ioctl for device
Mar 13 19:14:38 lakrits afpd[5170]: login mskankweb (uid 882, gid 889)
Mar 13 19:14:41 lakrits afpd[5170]: setdirowner: chown 16777216/-1 .AppleDouble/.Parent: Operation not permitted
Mar 13 19:14:41 lakrits afpd[5170]: setdirowner: chown 16777216/-1 .AppleDouble: Operation not permitted
Mar 13 19:14:41 lakrits afpd[5170]: setdirowner: chown 16777216/-1 .: Operation not permitted
Mar 13 19:14:41 lakrits afpd[5170]: setdirowner: chown -1/0 .AppleDouble/.Parent: Operation not permitted
Mar 13 19:14:41 lakrits afpd[5170]: setdirowner: chown 16777216/-1 .AppleDouble/.Parent: Operation not permitted
Mar 13 19:14:41 lakrits afpd[5170]: setdirowner: chown 16777216/-1 .AppleDouble: Operation not permitted
Mar 13 19:14:41 lakrits afpd[5170]: setdirowner: chown 16777216/-1 .: Operation not permitted
Mar 13 19:14:41 lakrits afpd[5170]: setdirowner: chown -1/0 .AppleDouble/.Parent: Operation not permitted

/magnus

-- 
 Magnus Stenman   mailto:[email-masked]   http://www.hkust.se

 Get it up, keep it up.  Linux -- Viagra for your PC