Most current file systems have methods of administering permissions or access rights to specific users and groups of users. These systems control the ability of the users to view or make changes to the contents of the filesystem.

learn more… | top users | synonyms (1)

17
votes
6answers
2k views

Password protect a folder

What are the available options for password protecting a folder? I'm talking about requiring a password to actually access the folder, not just user access rights. Is the third-party software out ...
22
votes
3answers
78k views

Reset File and Folder Permission of External Hard Drive Data to default in windows 7

I have External Hard and changed some security setting of files and now I am not able to access in my other system. I am admin in this system is there any tool that can make all setting of all content ...
11
votes
3answers
1k views

How do you edit hosts file on Windows 7

I'm trying to edit the hosts file (C:\Windows\System32\drivers\etc\hosts), because I want to setup a local redirect for my website (like I've always done in XP). However, I can't save the changes! I ...
12
votes
4answers
9k views

Linux Group Permissions not being enforced correctly.

I am running Ubuntu 10.04 server and am having some very counter-intuitive experiences with users/groups. For example: sudo touch test_file # create empty file sudo groupadd test ...
27
votes
3answers
18k views

Ensuring new files in a directory belong to the group

I want to create a shared directory when a number of users (all belong to say mygroup) can create and edit files. I would like all files in this directory and subdirectory to belong to mygroup I have ...
7
votes
3answers
11k views

How to preserve ownership and permissions in Dropbox?

I have two machines, a Mac and a PC running Linux, that I am trying to keep a certain file synced between using Dropbox. One of the files that I am syncing needs to be writable by another user (...
5
votes
5answers
12k views

create file/folder permission without delete permission

Is there anyway I can set create file/folder permission for a user in Windows 7 without giving delete permission for a folder? I don't want the user to delete any files in that folder but he should be ...
3
votes
3answers
9k views

Should or shouldn't I remove the 'Everyone' group from my shared folders?

I'm wondering whether to completely remove the Everyone group from my shared folders. I remember one time I did and it screwed up the machine meaning not even the Administrator account could access ...
5
votes
2answers
2k views

All folders in all drives are set to read only on Windows XP and can't be changed

I am using windows XP and all of my folders on all drives are now read only. When I remove the read only check, it gets set back to read only. Why? I cannot write any file from my flex application. ...
2
votes
4answers
2k views

Folder cannot be deleted

I am using Windows XP Home Edition. When I try to delete a folder I have named cygwin. When I try to delete it or any file or folder within it, there is a long pause, and then an error pops up, saying:...
0
votes
1answer
2k views

WINDOWS: Taking Back/Restoring Default Ownership Permissions of directory

I have a 1TB external (USB) HDD which i used for additional data storage (mostly media files). Unfortunately, i appear to have changed the permissions on one of the sub-folders, and this is my ...
124
votes
5answers
164k views

Permissions on private key in .ssh folder?

I changed my permissions in my .ssh folder and now when I use a piece of software that uses my private key, I have to type my password each time. What should my permissions be on my id_rsa file to ...
10
votes
3answers
36k views

How do I add permissions via command line for “everyone” on external HDD

I have an external HDD and I kind of messed up the file permissions but when fixing it I thought it is ok bc with my username I can access the files perfectly fine. Now that I use this with two PC (...
20
votes
3answers
25k views

Why can't I edit a “Program Files” file on Windows 7?

I'm having trouble editing this file on Windows 7: C:\Program Files (x86)\CMake 2.8.7\share\cmake-2.8\Modules\FindJNI.cmake If I edit it in Cygwin (vi) or TextPad, those two programs see the ...
17
votes
5answers
22k views

Why can't I delete a file where I have group write permissions on?

I have a file with the following permissions: root:data, and chmod set to 775. My normal user, let's call him boby, is in the data group. Why can't I delete the file with the user boby? rwxrwxr-...
6
votes
3answers
8k views

Limit every user to his own home folder only

i have a linux server which users connect to with SSH. my users only upload and download content from their /home folder. Basicly, I want them to be limited to see and use only their home folder. I ...
17
votes
4answers
65k views

Windows 7 - Cannot remove read-only attribute

I am logged in on my admin account. When I was trying to edit a python project using PyCharm (an IDE), it told me that the folder was marked as read-only (square box). I open the folder in explorer, ...
5
votes
1answer
824 views

What is the + at the end of Unix permissions in a long listing format?

Here's an example drwxr-xr-x+ 6 reza reza 204 Mar 5 20:23 .ssh/ Although I am the owner of this directory, I cannot modify it without using sudo! Why is that? how can I remove '+' here (...
4
votes
1answer
4k views

What does it mean when a file is blocked in Windows?

When some files are downloaded from the internet, they are blocked. Some files can still be opened even if they are blocked... I can see whether a file is blocked by opening the file properties (...
0
votes
3answers
7k views

Linux User Permissions?

I have two users, user1 and user2 which are both in a group matching their user name. I'd like both users to have full r/w/x permissions on all of each other's files as default without having to CHMOD ...
15
votes
3answers
59k views

How to prevent users from deleting a folder, while still giving them modify permissions to its contents?

I am trying to prevent users from accidentally deleting certain folders (such as their personal scan destination folder - stored in their home drive), while still giving them read+write permissions to ...
5
votes
3answers
188 views

Understanding file permissions

What is the ending r for and the leading d for in file permissions on Linux? Example: drwxr-xr-x I know about the user, group, others part, and I know w=write, r=read, x=execute. But I don't know ...
1
vote
1answer
884 views

can't access/delete or retake ownership of previous MyPictures folder (win7)

I have a directory called pics which was configured as My Pictures folder, now I changed the location to another directory but I can't remove the old pics folder. When I go to the security properties ...
0
votes
1answer
2k views

How to recover Windows 8 authenticated users access if denied for a particular folder

I've got Windows 8 and trying to restrict access to a particular folder on my D: drive for other user accounts, and set permissions for the authenticated user group in security tab as denied. Now I ...
0
votes
0answers
30 views

Win 8.1: Made new VHDs/ TXTs & copied to D partition of another machine, on booting C off 2nd machine, files not visible?

Win 8.1: Made new VHDs/ TXTs & copied to D partition of another machine, on booting C off 2nd machine, files not visible? This is plain weird. How and Why? PS: I check Security tab and it ...
41
votes
1answer
123k views

Give write permissions to multiple users on a folder in Ubuntu

There is a folder that is owned by user tomcat6: drwxr-xr-x 2 tomcat6 tomcat6 69632 2011-05-06 03:43 document I want to allow another user (ruser) write permissions on document folder. The two ...
7
votes
2answers
12k views

Copy security permissions of one file to another

I would like to replicate the permissions of a file to another. I do not want to copy the data, only the permissions. For example, I created a new file and want it to have the same permissions as ...
4
votes
5answers
7k views

Fixing/Correcting OS X home folder file permissions

Long story short, I managed to muck up the file permissions within my home directory in OS X (Lion). While I'm familiar enough with linux file permissions and more than comfortable changing them, I ...
11
votes
1answer
10k views

Linux - group member cannot delete file with rw permission

Below shows a file, /tmp/testfile, owned by user1 with group changed to wheel that also includes user2. The file has rw permission for the group. So shouldn't any member of the group be able to delete ...
16
votes
4answers
39k views

Linux – cannot remove owned file with 777 permissions

I've couple of files that I cannot remove using rf -Rf command. I'm the owner of those file and the group assigned to those files is also a group my user is in. What's even weirder is that I can edit ...
8
votes
3answers
30k views

rsync Permission denied backing up a remote directory to my local machine

I'm getting the error mentioned in the title. I found this similar question: Run rsync with root permission on remote machine. That doesn't answer my question. I'm the admin on the remote server ...
7
votes
5answers
16k views

Extract file and folders with specified permissions

I pack a folder with lot of sub-folders and files in Windows with 7zip, upload to VPS and then run the command: tar -xvzf file.tar.gz then all unpacked files and folders have permissions of 777. ...
5
votes
4answers
24k views

Windows 7 Unable To Delete Folder in “Programs Files”

I am trying to delete the folder in C:\Program Files\McAfee\VirusScan\Current as a member of the computer’s Administrators group. This is a standalone computer, so no domain or anything. The original ...
5
votes
2answers
4k views

ssh and home directory permissions

sshd will refuse to accept public key authentication if the user's home directory is group-accessible, even if ~/.ssh is set to 700? If the permissions on ~/.ssh are acceptable, why do the permissions ...
4
votes
1answer
311 views

Is there a way to give NTFS file permissions to users from other Windows installations?

I am trying to set file permissions so users from two Windows installations can access certain files from a shared NTFS hard disk, withouth resorting to give "Everyone" permissions. From within an ...
4
votes
3answers
3k views

Permissions on a typical shared Linux web host

I am trying to understand the file permissions on a typical shared Linux web hosting account. I know how to set rwx permissions for the OWNER GROUP and PUBLIC entities of a file or directory. What isn'...
4
votes
3answers
922 views

List all files/folders a user may delete? Linux

I want to know how much damage a user can do on my system if he decides to delete everything (or write to in case of corruption). What command or script might i use to check this?
3
votes
1answer
1k views

Strange permission changes when saving file on a Samba partition from a Windows editor

I'm trying to figure out why a specific behavior is exibited when perms change on a file being saved from a Windows editor on a SAMBA-mounted Unix partition. Situation: We have a file on Unix, with ...
3
votes
2answers
998 views

Fixing mac user file permissions, not the system

Usually those files get wrong permission when coming from the network, even when I copy them from it, but mostly through "file sharing". So, definitely not talking about Disk Utility repair here, ...
3
votes
1answer
998 views

NTFS Permissions - deny delete does not work

Hopefully you guys will be able to help me out. ========================= Scenario: FolderA > FolderB FolderA Permissions (no inheritance): This Folder Only Deny Delete Allow everything ...
2
votes
1answer
2k views

Why can I see a file that I own in CygWin but not in Windows Explorer?

I installed Cygwin in Windows 7 and was browsing through the c:/cygwin/ directory in the Cygwin terminal. There exists a directory bin/ at the path c:/cygwin/usr/bin, but I cannot find this folder in ...
1
vote
1answer
8k views

You dont currently have permission to access this folder error

I bought a new SATA Hard drive and installed a fresh copy of Windows 7 on it. I also installed my old one beside the new SATA HD. Now I want to access my images / musics and videos but I get this ...
1
vote
1answer
4k views

How to run a program with elevated permissions from a limited permission user account without administrator password?

Pretend that I am a Karaoke DJ running a show with the application Sax & Dottys which only runs on Windows. I would like to hire someone to run the show for me in my absence. This means they would ...
6
votes
7answers
4k views

Accidentally moved folder to System Volume Information

I accidentally moved a folder with lots of subfolders and files to System Volume Information on a Bitlocker-partially-encrypted flash drive. Now I can't move them back (not even with control-Z). The ...
6
votes
3answers
8k views

Why are file permissions retained when moving files within the same volume?

Ocassionally, we have the problem that a file has permissions different from the folder where it's in. Now I found out that there's a KB article explaining the reason behind this: By default, an ...
5
votes
5answers
6k views

File Name Warning for C:\Program

Since a few weeks I get the error message after login: File Name Warning There is a file of folder on your computer called "C:\Program" which could cause certain applications to not function ...
5
votes
0answers
3k views

What does the @ mean in the Mac OS X file permissions? [duplicate]

Possible Duplicates: what is the @ after the permissions for in ls -l on a mac? ls -la symbolics… what does that last symbol mean? Running a "ls -l" on a folder I get : .... -...
4
votes
2answers
1k views

Windows 7 HOSTS files keeps reverting it's permission back to READ-ONLY

As a full-time Web Developer I am constantly adding fake domains to my Windows 7 HOSTS file to point a domain to my localhost web server that I develop on. I have even built a nice little PHP script ...
4
votes
1answer
2k views

ACL vs standard file permissions - which are used when accessing file?

ACLs and standard file permissions seem to be synchronized: $ getfacl test.cpp # file: test.cpp # owner: scdmb # group: scdmb user::rw- group::rw- other::r-- $ ls -l test.cpp -rw-rw-r-- 2 scdmb ...
4
votes
1answer
2k views

default file permissions for ftp uploads in ubuntu (vsftpd)

I followed this answer for setting default file permissions in my web root folder. I am trying to set all files/dirs to 775 by default. This works fine when creating files within linux and also when ...