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

learn more… | top users | synonyms (2)

5
votes
1answer
30k views

Open file or application as root from GUI

Is it possible to open a file or application as root from the GUI? My ideal would be right-clicking on a file or an application and seeing an "Open as Root" choice in the context menu, after which I ...
4
votes
2answers
9k views

How do I permanently change permissions for /dev/ttyS0?

My system is Ubuntu 13.04 and it works fine, but I have installed VirtuaBox to run Windows XP, which is essential for me to run an application that dialogues with an alarm setup by a USB-to-Serial ...
4
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
4answers
13k 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
2k 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
4k 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
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? ...
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
1k 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
675 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
71k 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
8k 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 ...
8
votes
1answer
35k 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 ...
4
votes
10answers
28k 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 ...
17
votes
2answers
22k 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
72k 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 ...
6
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
13k 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 ...
13
votes
4answers
54k 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 ...
12
votes
2answers
6k 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
25k 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 ...
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 ...
6
votes
3answers
32k 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
5answers
10k 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
2answers
9k 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 ...
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
30k 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
5answers
32k 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 ...
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
36k 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.
0
votes
1answer
22k 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
629 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
2k 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 ...
8
votes
3answers
10k 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 ...
6
votes
2answers
10k 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 ...
6
votes
2answers
14k 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 ...
4
votes
3answers
16k views

Cannot start Webex session. Java permission issue?

My fingers got ahead of me today and I managed to disable Java for Webex on my machine. (Install details: Ubuntu 12.04 32bit, Chrome 32.0.1700.77, Java v7, update 51, Webex working fine for a year ...
4
votes
2answers
27k views

How do I get root access to hard drive from livecd?

ubuntu 11.10 has faffed up on me, It wont let me get passed the login-screen ( i have been searching around online the last two days and none of the proposed solutions worked) as at this point I dont ...
4
votes
1answer
2k views

Access NTFS partitions without providing root password?

I have Ubuntu and Windows Vista installed on the same disk, different partitions. I can access the Windows data, but each (first) time I access the NTFS partition, the system asks me for root ...
3
votes
1answer
447 views

How to allow software access to any USB devices?

I have a libusb-based program that can't open USB devices on a freshly installed Ubuntu because it lacks permissions. This solution will probably work for me, but it requires manually specifying ...
3
votes
1answer
2k views

How to access mounted file systems as a guest user?

In Ubuntu 11.04 I could mount a file system in /media/foo and run chown guest:guest /media/foo/bar -R and have full access in the guest account. After the upgrade to 12.04 I changed my routine to ...
3
votes
1answer
18k views

Apache gives 403 Forbidden

Server: Ubuntu 12.04 w/ LAMP I can access the default index.html, but I created a symbolic link to a folder in my Dropbox. Whenever I try to access 192.168.2.6/Joomla (Joomla is the symbolic link), I ...