Cant Delete folders Permission DeniedCannot delete a file - permission denied - why?“rm -rf Filename.iso ” Permission deniedNFS permission deniedLinux Mint desktop displays different files from ls commandUnexplained files found in home folderPermission denied: Can't enter a dirPermission denied yum-cronFind and delete files, whilst keeping any matching files if in a specific directoryStrange permission denied error messageCentOS Server file permissions
Should I join office cleaning event for free?
How old can references or sources in a thesis be?
I’m planning on buying a laser printer but concerned about the life cycle of toner in the machine
Shell script can be run only with sh command
Copenhagen passport control - US citizen
DOS, create pipe for stdin/stdout of command.com(or 4dos.com) in C or Batch?
How can I hide my bitcoin transactions to protect anonymity from others?
Why are 150k or 200k jobs considered good when there are 300k+ births a month?
How to type dʒ symbol (IPA) on Mac?
Can an x86 CPU running in real mode be considered to be basically an 8086 CPU?
Motorized valve interfering with button?
Can I interfere when another PC is about to be attacked?
Email Account under attack (really) - anything I can do?
How is this relation reflexive?
Patience, young "Padovan"
Question about Goedel's incompleteness Proof
Download, install and reboot computer at night if needed
Why can't I see bouncing of a switch on an oscilloscope?
Are tax years 2016 & 2017 back taxes deductible for tax year 2018?
Draw simple lines in Inkscape
Prevent a directory in /tmp from being deleted
Why don't electron-positron collisions release infinite energy?
Set-theoretical foundations of Mathematics with only bounded quantifiers
"which" command doesn't work / path of Safari?
Cant Delete folders Permission Denied
Cannot delete a file - permission denied - why?“rm -rf Filename.iso ” Permission deniedNFS permission deniedLinux Mint desktop displays different files from ls commandUnexplained files found in home folderPermission denied: Can't enter a dirPermission denied yum-cronFind and delete files, whilst keeping any matching files if in a specific directoryStrange permission denied error messageCentOS Server file permissions
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have freshly installed Ubuntu 16.04.3 LTS
I installed Anaconda from the shell file provided by the official links
I also installed vscode from the shell file (.sh) only provided by anaconda my home folder looks like this now

I am not able to delete these folders nor am I able to install any vscode extensions
yeah but if I run as admin then I am able to install extensions and delete folders
what shall I do
files privileges
add a comment |
I have freshly installed Ubuntu 16.04.3 LTS
I installed Anaconda from the shell file provided by the official links
I also installed vscode from the shell file (.sh) only provided by anaconda my home folder looks like this now

I am not able to delete these folders nor am I able to install any vscode extensions
yeah but if I run as admin then I am able to install extensions and delete folders
what shall I do
files privileges
Check out linux permissions and file ownership: linux.com/learn/understanding-linux-file-permissions or askubuntu.com/a/6727/587552 try out the command line.
– flerb
May 28 '18 at 17:37
add a comment |
I have freshly installed Ubuntu 16.04.3 LTS
I installed Anaconda from the shell file provided by the official links
I also installed vscode from the shell file (.sh) only provided by anaconda my home folder looks like this now

I am not able to delete these folders nor am I able to install any vscode extensions
yeah but if I run as admin then I am able to install extensions and delete folders
what shall I do
files privileges
I have freshly installed Ubuntu 16.04.3 LTS
I installed Anaconda from the shell file provided by the official links
I also installed vscode from the shell file (.sh) only provided by anaconda my home folder looks like this now

I am not able to delete these folders nor am I able to install any vscode extensions
yeah but if I run as admin then I am able to install extensions and delete folders
what shall I do
files privileges
files privileges
edited Apr 4 at 20:15
0xSheepdog
1,69111024
1,69111024
asked May 28 '18 at 16:30
Shashwat HiregoudarShashwat Hiregoudar
1
1
Check out linux permissions and file ownership: linux.com/learn/understanding-linux-file-permissions or askubuntu.com/a/6727/587552 try out the command line.
– flerb
May 28 '18 at 17:37
add a comment |
Check out linux permissions and file ownership: linux.com/learn/understanding-linux-file-permissions or askubuntu.com/a/6727/587552 try out the command line.
– flerb
May 28 '18 at 17:37
Check out linux permissions and file ownership: linux.com/learn/understanding-linux-file-permissions or askubuntu.com/a/6727/587552 try out the command line.
– flerb
May 28 '18 at 17:37
Check out linux permissions and file ownership: linux.com/learn/understanding-linux-file-permissions or askubuntu.com/a/6727/587552 try out the command line.
– flerb
May 28 '18 at 17:37
add a comment |
1 Answer
1
active
oldest
votes
The user account that you are running as doesn't have permission to modify or delete those directories.
If you have sudo, then you're either going to have to do your things that way or edit the permissions to allow the user account itself to perform those operations.
To see what the permissions are, open a terminal, become root (if necessary), and ls -l on the parent directory or ls -ld on the directory itself.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f446508%2fcant-delete-folders-permission-denied%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The user account that you are running as doesn't have permission to modify or delete those directories.
If you have sudo, then you're either going to have to do your things that way or edit the permissions to allow the user account itself to perform those operations.
To see what the permissions are, open a terminal, become root (if necessary), and ls -l on the parent directory or ls -ld on the directory itself.
add a comment |
The user account that you are running as doesn't have permission to modify or delete those directories.
If you have sudo, then you're either going to have to do your things that way or edit the permissions to allow the user account itself to perform those operations.
To see what the permissions are, open a terminal, become root (if necessary), and ls -l on the parent directory or ls -ld on the directory itself.
add a comment |
The user account that you are running as doesn't have permission to modify or delete those directories.
If you have sudo, then you're either going to have to do your things that way or edit the permissions to allow the user account itself to perform those operations.
To see what the permissions are, open a terminal, become root (if necessary), and ls -l on the parent directory or ls -ld on the directory itself.
The user account that you are running as doesn't have permission to modify or delete those directories.
If you have sudo, then you're either going to have to do your things that way or edit the permissions to allow the user account itself to perform those operations.
To see what the permissions are, open a terminal, become root (if necessary), and ls -l on the parent directory or ls -ld on the directory itself.
answered May 28 '18 at 18:05
Nasir RileyNasir Riley
2,9272410
2,9272410
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f446508%2fcant-delete-folders-permission-denied%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Check out linux permissions and file ownership: linux.com/learn/understanding-linux-file-permissions or askubuntu.com/a/6727/587552 try out the command line.
– flerb
May 28 '18 at 17:37