Change folder permissions and ownership


gmanm1 wrote:I have tried all the chmod and chown I am getting nowhere.

Ok, If you have used these commands in a terminal then nothing new to tell you about those commands.

But I have one thing left that always works for me, I didn't mention it before because it involves installing from the package manager Synaptic. It is called Krusader, a dual pane file manager:

First, install Krusader using the package manager from the Mint Menu

After it is installed, open your Mint menu, go to > applications > accessories > krusader > tools > start root mode krusader > sign in using your administrator password >

Then dig your way into the folder you want to change permission, right click that folder, choose the permission tab, there you can change the permission to your user name, before you exit, check the box at the bottom to change permission also on all subdirectories and files.

Check out a similar thread here:

0 0

For many users of Linux, getting used to file permissions and ownership can be a bit of a challenge. It is commonly assumed, to get into this level of usage, the command line is a must. Although there is always far more power and flexibility to be had, running seemingly complicated command isn't alwaysa necessity. With the help of some of the most user-friendly desktop interfaces available, you can get away with little to no command line usage. Even with file permission and ownership.

That's right, much to the surprise of many a new user, managing files and folders can be done from within the file managers. But before we get to the GUI, it's always best to have a solid understanding of what it's doing. So, we'll start with the command line first.

Command line: File permissions

The commands for modifying file permissions and ownership are:

Neither command is difficult to use. It is important, however, that you understand the only user that can actually...

0 0

In this tutorial, we'll show you how you can edit file permissions and adjust file ownership settings while in SSH. This is not the only way to change permissions settings however, it can be done within your cPanel's File Manager as well.

Changing File Permissions

The chmod command is used to change file permissions. The basic syntax is:

chmod ### file/folder

We'll now show you the command in action. We'll first log into our account via SSH and use the pwd command to see which folder we're in. We'll then run the ls command to see the current files and their permissions, run the chmod command to edit permissions, and then finally use ls again to see that the permissions have been changed. [~/testa]# pwd
/home/user5/testa [~/testa]# ls -alh
total 8.0K
drwxr-xr-x 2 user5 user5 4.0K Dec 7 18:43 ./
drwx--x--x 10 user5 user5 4.0K Dec 6 08:16 ../
-rw-r--r-- 1 user5 user5 0 Dec 7...

0 0

One of the most bemusing errors in Windows is the infamous “You require permission from blah blah blah to make changes to this folder“.

The irony is that even the almighty Administrator isn’t exempt from this problem.

You thought signing into your box as an Admin gave your carte blanche access to the kingdom didn’t you? You thought the administrator had unfettered and absolute reign over the entire file system didn’t you? You thought the omnipotent admin could do virtually anything in Windows right?

I know I did, that’s why I was so incensed the first time I encountered this error.

What do you mean I can’t perform this action? I’m the damn Administrator of this computer! I demand my rights!

Hey, you’re not alone. The error is annoying that it’s almost crass.

In this guide I’m going to show you how to get reclaim your authority as the administrator of your computer.

Two approaches

The first thing you need to do is take...

0 0
0 0

Here is one quick article about to explain changing the permissions of the share folder/files in ubuntu.

I am using Ubuntu in my machine and sometimes for some purpose I wanted to share my folders to others so others can work on my files and you can share your folder to the other user using Samba clients and I have explained same in my earlier article.

Now, what happens, If someone make any kind of changes in my shared files that files get locked and even I can’t make any changes until I don’t change its permission.

So Today I am going to share one simple command which you need to execute in terminal to unlock your shared files

SYNTAX to change the file ownership

if you have a root access, syntax like

-h – Changes the owner of the each symbolic link instead of any referenced file
-R – Recursively change ownership of directories and their contents.

That’s it.Now you have changed ownership of files/folders and your files are...

0 0

You can instantly change file permissions in Mac OS X without getting your hands dirty in the command line by using the Finder instead. All you need to do is access the “Get Info” panel for the file, folder, or application in question. These instructions demonstrate locating the file permissions manager, and how to adjust privileges for items found in OS X.

It’s worth mentioning that you can also use this trick to quickly view current file and folder permissions and ownership details in the Mac OS X Finder. To view permissions, just use the Get Info panel as described below but don’t make any modifications. OS X calls permissions “Privileges”, but they mean the same thing.

How to Change File Permissions on Mac

This is the most user friendly way to view or adjust file permissions in OS X, it works with anything found in the Finder file system, be it a file, binary, application, or a folder. Here’s what you’ll want to do:

Select the file or app in...
0 0
0 0

Like its predecessors, Windows 8 imposes strict access permissions on system-wide locations, folders and files. These access permissions restrict unauthorized users (including clients on network, and standard and guest users on local PC), and external sources (malicious scripts, viruses, malwares etc), from accessing core system folders and files. You may know that, when a malicious script attacks a system, it attempts to gain admin or root access to the system to exploit security vulnerabilities. In contrast to previous Windows versions, Windows 8 comes with an enhanced, and robust Advanced Security Settings, making it difficult for a novice users to gain complete control over the system locations, folders and files.

The file permission is a pre-defined rule that is associated with numerous system objects/users, preventing unauthenticated objects from taking full control over the system files. These file access rules help Windows check if a user or system object can gain...

0 0

File and Folder permission changes not propagating when ACLs modified by script

Some time ago I wrote a post on archiving user data following a users departure – those scripts have worked well for me so far as I invariably had requisite permissions on all files and folders.

I recently had an AD cleanup / data archive task where my scripts failed due to insufficient rights (Files owned by User, no SYSTEM or BUILTIN\Administrators permissions) – folder structure and permissions a mess that had grown and been neglected for years.

Sure – I could have gone through the GUI for each failed folder structure, taken ownership and forced permission changes recursively – but that would have been massively time consuming, I needed my scripts to make the necessary changes without intervention. Goes without saying but I’ll say it anyway (as people always do); change XYZ\GROUP to your own domain\group or account.

First attempts I tried using powershell’s get-ACL and...

0 0

Hey guys

Im in the process of spring cleaning my big stack of hard-drives, in preperation for doing a clean windows install onto my shiney new Kingston V100 SSD.

I'm currently looking at one of my 2TB external archive drives, which used to be the system disk on my media-server but is now just an archive disk. Anyways, on that drive, I found a windows folder (no big shock for a system disk) and I figured that I don't need that, as I've previous migrated all the user files when I took it out of the old machine.

So I went to delete it, and it told me that I needed permission from 'S-1-5-21-432763403-189175183-190391661-1000' to delete the folder. From there, I went to the permissions tab, figuring that I'd just have to give myself the rights to get rid of it. No dice there, I couldn't change any permissions, or add or remove users.

From there, I went over to the advanced tab, figuring that I could take ownership and from there get the rights I need....

0 0

When changing operating systems and migrating data, you might end up not being able to access some of your files or folders anymore. This can happen due to the fact that your user has lost ownership of those files & folders or it no longer has the required permissions. In this tutorial will try to address this type of issues and help our readers that reported having such problems.

Even though the procedure is a bit long, you will see that things are not very complicated.

If you cannot open, delete or change a folder from your disk, it means that you either need to take ownership of that folder or/and you need to change your user's access rights. To make this kind of change your user needs to be an administrator.

Both operations are done from the same menu. First, navigate to that specific folder, right click on it and select Properties.

This should work in all Windows versions from Vista to Windows 10.

Taking Ownership

In the...

0 0

I've just been asked a question about changing the ownership of files from one Unix user to another, and thought it probably makes sense to have a quick post on it.

File ownership in Unix

Just to give you a quick reminder, I'd like to confirm that every single file in Unix belongs to some user and some group. There simply isn't a way to create a file without assigning ownership. I've briefly touched the topic of confirming file ownership in Unix before, so today I will simply build on that and show you how to change ownership of files.

Here's a setup for today: I have created a temporary directory with a few files and made myself the owner of all the files:

ubuntu$ ls -al /home/greys/example/ total 12 drwxr-xr-x 3 greys admin 4096 Feb 9 03:55 . drwxr-xr-x 13 greys greys 4096 Feb 9 03:54 .. drwxr-xr-x 2 greys admin 4096 Feb 9 03:55 dir1 -rw-r--r-- 1 greys admin 0 Feb 9 03:54 file1 -rw-r--r-- 1 greys admin 0 Feb 9 03:55 file2

As you can see from this...

0 0


One of the key advantages offered by NTFS over the older FAT file system type is the concept of file and folder permissions and ownership. Through careful implementation and management, file and folder permissions on NTFS based file systems significantly increases the security of data stored on a Windows Server system. In addition, file and folder permissions augment the shared permissions discussed in previous chapters to provide finer grained control over access to shared files and folders.

This chapter of Windows Server 2008 Essentials will provide a detailed overview of file and folder permissions and ownership in the context of Windows Server 2008, including topics such as transfer of ownership and permission inheritance.

Ownership of Files and Folders

The owner of a file or folder is the user who has complete and full control over that file or folder in terms of being able to grant access to the...

0 0

If you are windows vista user then you will be knowing the file ownership and permissions related issues and now it is extended to windows 7 too, but Windows XP users experimenting with Windows 7 might not know about this.

Windows 7 has implemented addition security mechanism to prevent accidental or intentional file or folder modification by not allowing users other then owner of file or folder to access it. Hence incase if you need to access, modify or delete such files or folder you need to take ownership first then assign rights or permission to respective users. Here is Guide on How to take Ownership and Grant Permission in Window 7.

How to Take Ownership in Windows 7

1. Locate the file or folder on which you want to take ownership in windows explorer

2. Right click on file or folder and select “Properties” from Context Menu

3. Click on Security tab

4. Click on “Advance”

5. Now click on Owner tab in Advance...

0 0