Short for "file system permissions" - access control based on user, group, or global access.

learn more… | top users | synonyms (2)

3
votes
1answer
145 views

Is there any way to make sure that any file created in a specific folder has a certain group as owner?

I know that you can set a directory up so specific groups have access to it, but is there any way to set it up so that any new files created in it automatically have a specific group as the group ...
1
vote
1answer
1k views

Ubuntu 13.10 (Google Account - Google Chrome) Icon Issue

I just installed Ubuntu 13.10. I went to the Google Chrome website using default Firefox, downloaded 64 bit chrome, went through the process of the software center, and opened Chrome. However, every ...
1
vote
3answers
7k views

How to reset default permissions for /etc?

By mistake I have made permission changes for /etc. Now it's giving me the following error message: bash: /etc/bash.bashrc: Permission denied I have no name!@chandan-Inspiron-5520:~$ sudo ...
1
vote
1answer
6k views

How to change owner and permissions of a folder in desktop

The problem is that the folder directory is /home/marek/Desktop/Tekkitserver/3.1.1 and root has all but 5 file ownership and permissions what are inside it. It all happened after I launched tekkit ...
5
votes
2answers
2k views

Standards accounts are able to get root access using sudo without password request

I have installed a particular software using the installer present using the command sudo ./install.sh. After the installation now all the accounts on my ubuntu laptop can gain root access by ...
3
votes
1answer
2k views

Sudo is also user login password - why? how to change?

When installing Ubuntu I can create a user with an encrypted folder, what I always do. Now after the installation the login password for this user is also the sudo password. Is that how it should be? ...
3
votes
4answers
14k views

Mounted cifs share but no write permissions

Have reinstalled Ubuntu on my web dev server. On the old one I had an smbfs share setup to access a share over the local network to other Ubuntu boxes. It was setup using the following and worked fine ...
3
votes
1answer
3k views

Why does chmod 644 make directories inaccessible?

I have a bunch of media files (that only need to be 644) that were a mix of various permissions. Some were group or global writable so I thought, just to be safe, I'll chmod them all back to 644. The ...
3
votes
3answers
5k views

fstab folder bind on partition mounted with defaults parameter

I want bind some folders in my Home directory with some folders in a NTFS partition. Will mounting the NTFS partition with only the defaults parameter affect my read/write access?
3
votes
3answers
3k views

How can I restrict users from deleting files?

How can I restrict user from deleting files? The user should have read and write rights, but the delete rights should be denied. In Windows the same task can be done easily, but I don't know the way ...
2
votes
3answers
7k views

Directory Permission Change Not Working

I'm sure I'm missing something quite basic here, but I'm running Ubuntu through Virtual Box on my Mac, and so I need to give my Ubuntu user read/write access to the folder shared by the host and guest ...
1
vote
3answers
2k views

Good Intellij installation on ubuntu 15

So I installed intellij idea. The installer does not create a desktop icon (...) and further more, when I try deploying my files to my xampp (lampp) installation, I get an error. I guess this is due ...
1
vote
1answer
186 views

Have put me out of admin

Installed a new user and then tried to create one with the name root, because sudo nerves. Didnot work and i have learnt in the meantime, this is not possible. I am now unable to login into user ...
0
votes
0answers
215 views

Creating exact root user in ubuntu 12.04 [duplicate]

How can I create an user which will act same as root. When I login, it should go to # shell instead of $. There must be no need to apply sudo before any command. When I connect through Graphical ssh ...
13
votes
4answers
686 views

Good and easy way to share files on local machine

I would like to have a directory that has following properties: Many users can copy files into it These files can be deleted/changed by these users (user A can delete/modify file that was copied ...
12
votes
4answers
77k views

Why am I getting “Permission denied: make_sock: could not bind to address” when starting Apache2?

I can stop it using /etc/init.d/apache2 stop But when I want to start it again using: /etc/init.d/apache2 start I get this error: Starting web server apache2 ...
9
votes
1answer
40k views

File permissions won't change

sorry fresh user. I installed about 9 days ago and had issues with Unity disappearing which took 5 days of headaches to fix. It never did fix, I reinstalled. I set up Plex (media server) and while ...
9
votes
1answer
9k views

Set default group for user when they create new files?

I often find myself chown-ing files as I created them through SSH and they are owned by jm:jm for example. Then to allow Apache to access it, I need to for example do chown jm:www-data. I am sure ...
12
votes
3answers
16k views

Can't set permissions for files on an NTFS partition

I remember that I was able to run a Linux .exe that was placed on an NTFS partition earlier before I installed 10.10 RC. But if I try to run it now, I can't run it as it hasn't the execution ...
19
votes
2answers
24k views

Adding user to a group - Why had to reboot?

I was not able to access the VirtualBox shared folder, so I made the user part of the vboxsf group. But, still not able to access it. Rebooting the guest resolved the problem. Is it a bug? A reboot is ...
10
votes
5answers
79k views

Get root access for copying files to /usr/share/…?

To be short, I want to copy a folder to a location /usr/share/screenlets/.... in Ubuntu 10.04 system. I tried by logging in as root from terminal giving su. I even changed my user account type to ...
4
votes
10answers
30k views

Matlab install - Java permission denied

Matlab version 2012. I know there are many threads about this, suggesting to chmod +x the following files (if you are in installation directory): sys/java/jre/glnx86/jre/bin/java ...
13
votes
4answers
60k views

How do I allow a non-default user to use serial device ttyUSB0?

I have an Ubuntu 11.10 system with 2 users: The first was created during the installation The second instead was created after. It belongs to the sudoers group. Now the problem is that when the ...
10
votes
3answers
37k views

How could I mount an ext4 partition and have write permission?

I've set the /etc/fstab file so that I can mount an ext4 partition on startup and I did it with the following options : rw, auto, nouser, exec, sync. The problem is that I can't create or delete any ...
10
votes
5answers
14k views

How to enter to the directory with 'cd' command if it has 700 permission

I tried to use sudo cd name_of_dir but getting following error message: sudo: cd: command not found. Is there any other way to open a directory which has 700 permission?
7
votes
1answer
3k views

What purpose does the Public folder serve

In default Home directory, there is a folder called Public. What purpose does that serve? Are documents in that folder accessible to all users on the same computer? What are the default permissions ...
6
votes
2answers
14k views

Run apt-get without sudo

This might be a very naive question, but I wanted to know how I could give multiple users access to a single computer without making them root users. How would I give them limitted sudo access such ...
5
votes
3answers
5k views

Remove sudo password when connecting to *new* WiFi network

So currently when my non-admin user tries to connect to a new WiFi network (e.g. at a cafe say) NetworkManager prompts for the admin user's password. Is there a way to turn this off and to allow the ...
5
votes
2answers
2k views

How to add NTFS partition to fstab? [duplicate]

Possible Duplicate: How to mount NTFS drive at startup I need to run .exe files on my Vista partition but I can't give them the right permissions so i need a way of auto mounting with the ...
12
votes
2answers
7k views

What do the groups do in “Users and Groups”?

I know that some define permissions on the file system (such as www-data). But I don't understand why this question was answered successfully by adding a user to the "Video" group. So the question ...
6
votes
2answers
27k views

Samba share read only for guests, read write for authenticated users

Is it possible to have a samba share read only for guests, and read write for authenticated users? If I put guest ok on an share then I am not prompted for a password, and effectively logged as ...
6
votes
3answers
37k views

How can I become the owner of a file/folder that root owns?

I had a bad habit of storing my wallpapers in /usr/share/backgrounds, and decided to move them all into Pictures. Well, the problem is that most of them are now read-only since they are owned by root. ...
5
votes
2answers
12k views

How to make files accessible only by root?

I'm using Ubuntu and I'm here to know is there any way to modify access of a specific application so that it can only root has access to it? Currently that application can be launched by general ...
5
votes
1answer
155 views

Setting A System For Public Use

I am setting a system up for public use I want to set some rules on the usage of computer so that the users are restricted to some particular areas of the system and they don't play with sensitive ...
10
votes
3answers
12k views

Why is this rsync + ssh cron job giving me 'Permission denied (publickey)' errors?

I make frequent backups to a local drive which I want to sync daily to a remote server. The target server is configured for SSH key (no password) access only. Since my primary SSH key for that server ...
7
votes
2answers
16k views

How can I prevent users accessing anything but their own home directory?

How can I prevent users accessing anything but their own home directory? For example, I have a NTFS partition mounted under /media/ntfs, so if the user logs in through ssh he can reach this ...
6
votes
1answer
20k views

What command changes the Group setting for a directory?

I am having an access problem to some files and directories that I have tracked down to the group assigned to access them. When I manually change the name of the group in the properties/permissions ...
5
votes
5answers
11k views

Always Sudo Privileges

I've searched for this, and the answer is probably in a million places on the 'net, but I can't find it... How do you give your account root privileges in Linux so that you don't need to sudo every ...
4
votes
1answer
8k views

Allowing apache access to a subdirectory in a home directory without access to the home directory

I am running Ubuntu 11.04 desktop with encrypted home directories. I do development work on my computer and I want to have my webroot directory to be within my home directory so it is encrypted with ...
3
votes
5answers
39k views

root folder access via gui

I'm new to linux and the terminal. As I learn how to use the terminal to navigate through directories, I like to use the gui file explorer to mirror my terminal navigation. The icons and file ...
3
votes
1answer
2k views

How to give different permissions to multiple groups of users?

I installed Ubuntu 12.04 server and want to give full folder access say example: "Folder01" to group "Group01' and Limit "Group02" for read access only. How I can do this.
3
votes
4answers
31k views

Windows users unable to access samba share of an external drive

It doesn't seem that many others have had this problem so I thought I'd ask here. Have a server running Ubuntu with 1 internal and 1 external drive. Have a folder shared with samba on the internal ...
2
votes
1answer
45k views

What does 'chmod +x <filename>' and how do I use it? [closed]

I want to write a 'batch file', but I don't know how to use chmod +x <filename> command, nor where to use it.
1
vote
3answers
6k views

External hard drive not allowing permission

My older mac recently kicked the bucket, and I decided to switch to linux on a newer laptop, My hard drive was fine, and I now use it as an external hard drive. The one problem though, is that I ...
0
votes
1answer
24k views

How to force group ownership on samba share?

I have a samba server running on ubuntu server 12.04. Only one folder /sharetest is shared with group storageusers, and users user1, user2, wowza are members of it. Here is smb.conf ...
0
votes
1answer
2k views

I deleted my original user account. The new account has no password. How can I enable it? [duplicate]

Possible Duplicate: How do I add myself back as a sudo user? How can enable my admin account? i deleted the other one and now the new one is without password and i cant access it and cant ...
16
votes
9answers
22k views

How to run an Application as another user?

I use krusader for file management stuff. the problem is that apache's DocumentRoot should be under chown www-data:www-data /path/to/www. so using krusader (which is run under my account) I've not ...
15
votes
2answers
807 views

Default owners/permissions of files in user home directory

I often see users that try to fix an issue and somewhere read or just try to recursively chown their home directory and sometimes even also reset permissions recursively to something like rwxr-xr-x or ...
10
votes
1answer
3k views

Why use sticky bit?

"The sticky bit applies only to directories, and is typically used on publicly-writeable directories. Within a directory upon which the sticky bit is applied, users are prevented from deleting or ...
6
votes
2answers
11k views

Root Owns Home Directory, chown does not work

I am running Ubuntu 12.04 and having various problems. I have traced it back to the fact that my user's home directory (/home/user) is owned by root. The /home directory is actually mounted on ...