Welcome to the Linux Foundation Forum!

I am unable to change file permissions for a folder$

Posts: 1
edited October 2014 in Ubuntu

I have tried to change the folder permissions to add some files to it however I get an error message that says "this is not a directory folder"(in terminal). In the Gui it will not let me move the file. What would cause a super user not be able to change folder permissions.

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Comments

  • Posts: 1
    edited October 2014
    As per my understanding its stalled file(memory corrupted). I think, running fsck may clear your problem. Be careful while using that command.
  • As per my understanding its stalled file(memory corrupted). I think, running fsck may clear your problem. Be careful while using that command.
    It may be, however trying chmod could solve the problem.
  • Posts: 6
    edited December 2014
    Hi there,

    run as root this :
    1. chmod 777 yourdirectory/ -R

    should fix your problem.

    Ps : If you want to change the user permission of the directory :
    1. chown user:user yourdirectory/ -R

    Note that for chmod or chown, if it's a directory you must use -R, for a regular file, you do not need the -R query

    Replace user:user by your user wished.

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training