Home  >  Q&A  >  body text

The problem of no permission to enter the linux directory

The www directory is set to 770, and the user and group have full permissions.
ykq This user belongs to the www group.

Why does it prompt that there is no permission when cd www directory.

怪我咯怪我咯2697 days ago862

reply all(2)I'll reply

  • 我想大声告诉你

    我想大声告诉你2017-05-31 10:40:15

    The permissions of your www directory are correct, but the permissions of the previous directory of the www directory are wrong. Make sure that the permissions from the root directory to your www directory are correct, To cdno permission error.

    In addition: After modifying the user group information, it is important to log out and log in again to make the user group information effective.

    reply
    0
  • 为情所困

    为情所困2017-05-31 10:40:15

    I think you can try using root privileges to see if it works, or sudo cd www and see if it works.

    reply
    0
  • Cancelreply