INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: [24.0.19] Rename, Move, & Copy Files not working [Solved]  (Read 1021 times)

Gatherum

  • Citizen of the Universe
  • *****
  • Posts: 651
[24.0.19] Rename, Move, & Copy Files not working [Solved]
« on: November 18, 2018, 08:59:51 pm »

I'm having a strange permissions problem with MC where-in Rename, Move, & Copy Files cannot move files to directories it creates, presumably because the directories it creates are automatically owned by root and the root group, where the latter only has read access. Once the directories are created, the files simply remain where they are and cannot be moved to the new directories until I chown them to the same account that runs MC. In this case, that's schme, who is a member of the root group.

This is ridiculously unintuitive and no amount of...
Code: [Select]
chmod 771 [directory] -R
chown -R schme:root [directory]
chown g+s [directory]
...solves the problem. This doesn't make any sense; why would an instance of MC running with schme as the user create directories owned by root?

Does it have something to do with the fact that the directory in question is a mounted share?
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72413
  • Where did I put my teeth?
Re: [24.0.19] Rename, Move, & Copy Files not working
« Reply #1 on: November 18, 2018, 09:03:30 pm »

The version 24.0.19 is very old.  Did you try updating?
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2661
Re: [24.0.19] Rename, Move, & Copy Files not working
« Reply #2 on: November 19, 2018, 09:25:46 am »

Do you have a sticky bit set somewhere? Are you mounting the share with the proper gid and uid?
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13861
Re: [24.0.19] Rename, Move, & Copy Files not working
« Reply #3 on: November 19, 2018, 10:54:22 am »

The stable repo is currently on 24.0.28 (pre internal browser build).

Also, the directories shouldn't be owned by root, it can't create root owned directories unless it's running as root which it should not be.
Logged

Gatherum

  • Citizen of the Universe
  • *****
  • Posts: 651
Re: [24.0.19] Rename, Move, & Copy Files not working
« Reply #4 on: November 22, 2018, 12:52:45 am »

Never mind. Reinstalled Debian with Xfce and with root as the only account because YOLO. It works now; I just need to rewrite my expression language strings so that they don't throw errors on this platform. No telling when I'll get around to it.
Logged
Pages: [1]   Go Up