CHMOD takes a Long time

General support questions
User avatar
TrevorH
Site Admin
Posts: 33220
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CHMOD takes a Long time

Post by TrevorH » 2019/01/07 17:39:52

So that explains why it's slow then.

There are 464k files to change the ownership for. Each one of those will need its directory entry read, updated and written back. Even if each update takes 0.1s (a random guess) then you are looking at 46400 seconds, or nearly 13 hours. If the update was 10 times quicker and took 0.01s then you'd still be looking at going on for 1.5 hours.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

syedmd810
Posts: 9
Joined: 2019/01/07 12:05:10

Re: CHMOD takes a Long time

Post by syedmd810 » 2019/01/07 17:51:41

Okay. Noted. Anything else which takes a too long to execute CHMOD command except 464k files?

Thank you for your support and help


Regards,
Mohammed

lightman47
Posts: 1522
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: CHMOD takes a Long time

Post by lightman47 » 2019/01/07 20:56:59

Additionally, you'd posted a 'picture' (now gone) of directories whereby you'd granted ALL permissions to everybody. Before you allow public access, you may want to 'tighten' those permissions - or keep your CentOS install disc handy.

syedmd810
Posts: 9
Joined: 2019/01/07 12:05:10

Re: CHMOD takes a Long time

Post by syedmd810 » 2019/01/07 21:20:43

Hi,

Kindly check the attached file, and could you please let me know CHMOD takes a too long because of the user folder permission?
FYI, there is no CHMOD command delay on another centos and folder size remains same (PFA-Centos)

Thanks
Attachments
centos.PNG
centos.PNG (58.38 KiB) Viewed 2092 times
media.PNG
media.PNG (59.25 KiB) Viewed 2092 times

desertcat
Posts: 843
Joined: 2014/08/07 02:17:29
Location: Tucson, AZ

Re: CHMOD takes a Long time

Post by desertcat » 2019/01/07 22:53:54

syedmd810 wrote:
2019/01/07 17:51:41
Okay. Noted. Anything else which takes a too long to execute CHMOD command except 464k files?

Thank you for your support and help


Regards,
Mohammed
Just a trivial note: when you issue the command are you typing "CHMOD" or typing "chmod"?? The correct form is chmod.

syedmd810
Posts: 9
Joined: 2019/01/07 12:05:10

Re: CHMOD takes a Long time

Post by syedmd810 » 2019/01/08 06:54:50

chmod not in CAPS..

Post Reply