aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: permissions error with amule-cvs  (Read 2378 times)

bababa

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
permissions error with amule-cvs
« on: February 16, 2005, 01:13:33 PM »

I  downloaded today amule-cvs and am able to compile(wx-2.4/gtk1.x) and run it. My shared files are on vfat partition and my fstab options for it are :
Code: [Select]
/dev/hdb2 /mnt/d vfat uid=1000,gid=10,umask=002,shortname=mixed,iocharset=utf8,quiet,noatime,umask=002,nodiratime 0 0
And i run amule with uid 1000. All part/met files also have uid 1000 and all permissions.
In amule i set default permissions to 7 everywhere.
When i start amule it downloads ok , but complains:
Code: [Select]
13:13:09: can't create file '/mnt/d/emule/temp/020.part.met.backup' (error 13: Permission denied)
13:13:09: info: Could not create backup of '/mnt/d/emule/temp/020.part.met'
13:13:09:  (error 13: Permission denied)
13:13:09: can't create file '/mnt/d/emule/temp/020.part.met.bak' (error 13: Permission denied)
13:13:09: info: Could not create backup of '/mnt/d/emule/temp/020.part.met'
13:13:09:  (error 13: Permission denied)
for every part file.
I already tried deleting old bak files, tried different fstab settings but nothing helps. I also didn't had this problems with former amule-cvs versions. I also can create/delete files on this partition as a user with uid 1000. It would be nice if someone could give me a clue how to solve this problem.

Last edit:
I managed to solve it but the solution left me even more clueless.
I found out that my incoming folder had no +w permission for owner on vfat partition! It even survied remount and reboot. Or did i missed something and vfat now supports permissions...
« Last Edit: February 16, 2005, 01:36:28 PM by bababa »
Logged

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: permissions error with amule-cvs
« Reply #1 on: February 16, 2005, 01:41:24 PM »

Use chmod to change all the permissions in your VFAT partition (I know, no permissions on FAT32) it worked for me on Fedora Core 3. Also, if this folder is shared with emule, uncheck the emule's option to show incoming and temp icons. Not sure why, it renders folders unwritable for amule.  ?(

Regards.

Edit: confusion fusion :P
« Last Edit: February 16, 2005, 05:31:00 PM by skolnick »
Logged

bababa

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: permissions error with amule-cvs
« Reply #2 on: February 16, 2005, 04:25:09 PM »

Thanks for the hint. That is exactly the option i enabled in emule yesterday. Still it's a bit mysterious fat32 and permissions.
Logged

bababa

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: permissions error with amule-cvs
« Reply #3 on: February 17, 2005, 11:31:56 AM »

I tested it today, and after one use of emule in windows, both incoming and temp folder loose write permissions for the owner in linux.
Logged

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: permissions error with amule-cvs
« Reply #4 on: February 17, 2005, 04:51:01 PM »

That should not happen. I have same configuration (emule and amule) and only thing it happens when switching, is that both complain about possibly corrputed files, and rehash the part files. No file permissions losing. Check that you mount the partition in linux using umask=0 (That puts permissions = 777 to all files) and then try changing the folder's permissions using chmod.

Regards.
Logged