Windows [10] File Folder Denied Access [closed] - windows

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I have a file folder called, my_folder it has been created by a program and has been made into a read-only access. I have admin rights to the computer I'm using but when I try to make it non-read-only it says that I don't have access to it. I've tried using Admin Command Prompt and deleting it with Admin rights in the File Explorer. The end goal is to delete the folder.
Here is the error I get when I try to delete it via the File Explorer:
And here is the error I get when trying to do the deletion via Admin Terminal:
$> rmdir my_folder
Access is denied

Permissions issues are my favorite Windows problems! Deleting with admin rights usually works for me. You might try taking ownership of the folder and trying again. If that fails try booting into safe mode.

Related

solana: command not found [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I am trying to build my validator for Solana. I installed Solana on the main user.
I created another user to restrict the access to sudo. I can run the Solana command from my main user but on the limited user it says command not found. does anybody know what is the problem?
The Solana install tool sets everything up in $HOME/.local/share/solana/install/active_release/bin and adds that directory to your $PATH in .profile. This directory is not in your other user's path, so it is inaccessible to the other user.
To solve this, you can:
redo the install steps as your other user
Or
add your main user's $HOME/.local/share/solana/install/active_release/bin to your other's $PATH, ie:
export PATH="/home/$MAIN_USER_NAME/.local/share/solana/install/active_release/bin:$PATH"
where $MAIN_USER_NAME is the name of the user that has installed the Solana tools.
Also, you can double-check the existing installation by running which solana as the main user.

ERROR : create a file in c disk by cmd in windows? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
When i write nul.> on cmd I get:
Access is denied.
How can I make a file on the C drive? I tried to use the echo.> command but it doesn't work.
At the beginning open the command prompt "Run as administrator" and press enter for each line..
cd\
type nul > hellofile.txt
echo.>hellofile.txt
The root of the system drive has restricted access, requiring elevated permissions to write to it. The same is true of some subfolders.
To create a file on the C drive therefore, you should create it in a subfolder to which you have access.

Windows 10 - Bash (Ubuntu) SU (Root Password) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
Recently updated to Windows 10, installed Ubuntu Bash. Wanted to start configuring, But I have hit a wall already.
When installed, you are asked for a username and password for your account.
This creates a user level.
Is it possible to access to root user, SU?
Every time I try, it asks for a password, and none of the accounts on the PC work (i.e., Windows 10 admin account password does not work). Tried default passwords too etc., all fail.
The reason for it is when looking at the users home directory: When creating a file, it creates it under my Windows User Account (Permissions).
But when I view files created from Bash, they are created for Root user.
So this is the confusion, I modified bashrc and it's no longer owned by root, So it's not accessible.
But I cannot login to root to create or modify the files.
Am I being a complete noob or something?
When bashrc is not owned by Root, when loading Bash.exe, I get .bashrc Input/output error.
as far as i know you'll have to type "sudo su"

The current directory is invalid on Windows 8 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I've been trying to run the following command through command prompt as administrator
netstat -a -b
However I get the following error
The current directory is invalid.
I tried to follow http://support.microsoft.com/kb/257996 but I don't think mine has anything to do with Logon Scripts
UPDATE
Running netstat -a as normal user through command prompt works fine. However I need to know which process ID using -b option which requires elevation.
I tried the same command "netstat -a -b" WITH ADMINISTRATIVE PRIVILEGES
There isnt any issue at all.
Here is your Problem:
Like any other program netstat.exe is also a program which is located on the windows directory
Browse to C:\Windows\system32> and then type so you should face the program locational issue.
If you are unsure whether c: or d: is the windows root directory.
1.Open the cmd file with Admin Previleges
2.type "cd %windir%\system32"
3.The above step should automatically switch to your root win folder

Automount samba folder on Mac [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I trying to make mount smb folder on startup.
I do like here - http://aj.tarachanowicz.com/?p=158
But I have error constantly - "Too many user".
May be somebody meet this error?
Thank you.
My answer is an adaptation of the answer in https://discussions.apple.com/thread/3221944?start=15&tstart=0
The variation is, I moved the mount point from your home directory to a system area (e.g. /smb) and ensuring that the user can create that mount point, i.e. 4755 permissions.
Add this line to the end of /etc/auto_master:
/- auto_smb
Create parent folder:
sudo mkdir /smb
sudo chmod 4755 /smb
Create /etc/auto_smb with:
/smb/folder -fstype=smbfs,soft ://domain;user:password#server/folder
Run automount:
automount -vc
The troubleshooting points are:
If you encounter "Too many users" you need to review your SMB path for typos and syntax errors.
Also be careful of incorrect username / passwords, or passwords with special symbols. e.g. # would need to be replaced with %40.

Resources