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

learn more… | top users | synonyms (2)

46
votes
3answers
19k views

What is the difference between the 'sudo' and 'admin' group?

I noticed that two groups are granted similar-looking permissions in /etc/sudoers: # Members of the admin group may gain root privileges %admin ALL=(ALL) ALL # Allow members of group sudo to execute ...
11
votes
2answers
25k views

Minecraft jar not marked as executable

I looked up several tutorials on how to install and they dont work. I do everything correctly but then i get this: The file '/home/mike/Downloads/minecraft.jar' is not marked as executable. ...
5
votes
2answers
816 views

Changing my Home folder's owner

I recently updated my ubuntu to 11.04 and have run into an issue. I decided to do a fresh install instead of an upgrade and made my username different from my last. Now everything has my past ...
1
vote
0answers
561 views

how to change permissions of .gvfs in my home folder [duplicate]

Possible Duplicate: File permissions: why can't I list a directory? my home folder has a listing for.gvfs like this d????????? ? ? ? ? ? ...
3
votes
2answers
6k views

File permissions: why can't I list a directory?

I am able to list directories in a root shell, root@ThinkPad:~# ll /media/ total 36 drwxr--r-- 6 root root 4096 2011-05-12 16:41 ./ drwxr-xr-x 22 root root 4096 2011-05-12 13:14 ../ drwxr-xr-x 5 ...
2
votes
1answer
1k views

Is it possible to reset all folder permissions?

I was wondering if it was possible to reset all the folders' rights. I was having trouble when trying to install LAMP on my Ubuntu 11.04 installation, and I modified many permissions like /var /etc ...
1
vote
1answer
189 views

How to set a folder inside an apache document to the correct permission?

When i try to get to some apache2 folder it gives me You don't have permission ... How to give the folder and the files full permission of usage ?
1
vote
3answers
4k views

How to create a folder with the following permission?

I would like to create a non deletable directory, from where i can create and move files from another location to this directory with read and write access ?
4
votes
3answers
19k 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. ...
4
votes
1answer
1k views

Nautilus automount - controlling GID/UID/mode bits

How do I set GID/UID and mode bits assigned to the directory in /media, to which my USB drive is auto-mounted when I plug it in (i.e. to the directory, which represents the drive itself, e.g. ...
0
votes
1answer
157 views

Mp3 tags keep resetting

I've got a ch3snas media server where I store all my mp3's on and I use Rhythmbox to play the files on my computer. I can adjust the info fine, no warnings but when I log back in the next time the ...
1
vote
2answers
251 views

Prevent accidental low-level access (formatting) of system disk by root?

Is it possible to prevent accidental mounting and/or reformatting of a disk or partition by the root user during normal operation of a system? For example, this happened to me a while ago: Under ...
0
votes
1answer
905 views

Problem with screenlets and permissions?

I can't get screenlets to open. I've newly installed it on 11.04. Clicking the icon in the applications menu doesn't do anything. I'm on an Acer 4810T timeline laptop. Here is the terminal output ...
1
vote
1answer
418 views

How do I generate a file with suitable permissions using sprintf() & write()?

#include <stdio.h> #include <stdlib.h> #include <fcntl.h> #include <sys/stat.h> void main(){ char tmp[12]={0x0}; int i=13; sprintf(tmp,"%11d", i); int fd = ...
0
votes
1answer
567 views

My permissions are messed up

I recently just installed the gnome3 D.E. on ubuntu 11.04 after and once i did all my permissions got messed up. It won't let me open dropbox and says it's because of a permissions error. Also when i ...
1
vote
1answer
616 views

UDF DVD mount issues in Maverick

When I insert the DVD into my drive i see it mounts, but i can not access it unless i am root. Doing ls -l on the mount i get no access permissions: $ pwd /media $ ls -l d--------- 4 ...
0
votes
2answers
195 views

Force application to only be able to save files in a specific folder

I want to force an application (like gedit) so that it can only save files in one specific folder (like ~/bla). Sort of like a prison where you can only save files. I already thought about modifying ...
3
votes
1answer
7k 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 ...
1
vote
1answer
278 views

Make gconftool-2 set wallpaper from root dir

There are wallpapers in a root directory. I need to set to some user that I choose a wallpaper from that directory. How can I do that? Thank you.
3
votes
2answers
1k views

General Rules for dealing with File Permissions

I have run into a ton of file permission issues in Ubuntu, from not having permission to delete a file, change the contents of a while, and so on. I was wondering if some of you Ubuntu experts could ...
2
votes
2answers
7k views

Permissions issue with symlinks over samba

I'm having trouble accessing some files over a samba share. Here's my setup: I have shared /shared as Shared I have a user with the same name and pwd as my Linux user in my Windows machine I made ...
5
votes
3answers
1k views

How to make folder writable to 2 users in different groups?

I have a folder (/var/www/test7.com), which must be readable/writable by www-data AND test7 users. test7 user should not have access to other websites. How can I do that?
1
vote
2answers
492 views

User Permissions

Is there any way with which, using shell scripts, I can execute a program as another user, in a uniquely(randomly) named directory, where the user has rwx access to all the files in that directory, ...
85
votes
7answers
110k views

How do I change my username?

Some time ago when I installed Ubuntu I chose a rather stupid username for my account that I do not want to use anymore. How do I change this (including the name of my home directory, and the name ...
3
votes
1answer
1k views

Is it possible to create users that can only use one directory?

Now I've bought an Ubuntu Cloud server. I installed Webmin this morning, and now I have a question. Is it possible to create users that can only use one directory, SVN, FTP, PHP, Python, MySQL, ...
4
votes
3answers
5k views

problem with chmod command

I don't know what is happening experimentx@workmateX:/var/www$ sudo chmod 0777 -r /var/www/ chmod: cannot access `0777': No such file or directory experimentx@workmateX:/var/www$
2
votes
1answer
11k views

Give ftp users access to directories outside their root using symlinks

I tried to give proftpd virtual users access to directories outside their home paths using symlinks I created as root through the console. /var/ftp/users/test is the home of the user named test. ...
10
votes
1answer
11k views

What user settings control audio access?

Running a regularly updated 10.04 LTS we have a weird issue with access to audio with pulseaudio 0.9.22. Sound device is ATI Technologies Inc SBx00 Azalia (Intel HDA) Login user1 after reboot: sound ...
1
vote
3answers
2k views

how to change file permission of a file permanently that is set back to default on boot

I have a file /var/logs/apache2/error.log. And every time I boot, Its file permission is changed to default (unwritable) by the system. So, i have to run chmod command every time i boot-up. How to ...
7
votes
2answers
16k views

Forceably set permissions when running rsync

Currently I am backing up gigabytes and gigabytes of data from a live server to a backup server using an rsync/ssh combination script, allowing for automated operation every night with a cron job. ...
1
vote
1answer
1k views

How can I set access to mounted TrueCrypt volumes, and how can I dismount them on logout?

I have TrueCrypt setup to mount volumes when I log into my work account. However, when I log out and log in to another account, those volumes are still mounted and available on the other account. ...
1
vote
1answer
755 views

Permission problems with Clamfs

been trying to get clamfs working on Ubuntu 10.4. It seems like everything is working, clamfs locates infected files and prevents me from opening these. But I am having permission troubles with a ...
5
votes
3answers
44k views

How to grant write permissions in Samba?

I'm having trouble with read/write permissions on my Samba server, how do I fix my smb.conf and file permissions to have a more unified access? smb.conf [global] workgroup = workgroup netbios name = ...
1
vote
3answers
8k views

Error: svn: Can't create directory .svn': Permission denied

When I run: svn co http:://mysvnserver.com/trunk --username myuser I get error: svn: Can't create directory .svn': Permission denied (I set folder permission to 755 with : chmod -R 755 + ...
0
votes
3answers
718 views

Root access issues - how do others manage this?

I use my Ubuntu 10.04 LTS instance (via Virtual Box on Windows 7) with a non-root user. I am trying out developing Rails applications and I notice that I need to run some rails commands with sudo. The ...
10
votes
3answers
31k views

Backup files with rsync: error 23

I'm trying to make a backup of my /home to transfer all data from one computer to another. I wanted to save the backup on the same computer and than transfere it to another one. For safety reasons, ...
28
votes
5answers
73k views

How can I recursively change the permissions of files and directories?

I have ubuntu installed on my local computer with apache / php / mysql. I now have a directory at /var/www - inside which I have several of my ongoing projects. I also work with opensource ( drupal, ...
3
votes
1answer
139 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 ...
3
votes
5answers
1k views

Copy files without root permissions

In my college we have only little permission to use files.i need to copy some C programs from other users to my account. I cannot copy it to /tmp and then copy it back to my account from there, ...
9
votes
3answers
15k views

Why does Ubuntu refuse to execute files from an NTFS partition?

I mount an NTFS partition (where I've got some Linux binaries and scripts alongside with Win32 and data files) with the following fstab line: /dev/sda5 /mnt/dat ntfs-3g ...
2
votes
1answer
913 views

External hard drive gets wrong user as owner

When I attach my external hard drive, I cannot access it, because permissions are granted not to me but to another user. I'm using Ubuntu 10.10, Maverick Meerkat. Where do I report this as a bug? ...
3
votes
1answer
2k views

Root cannot access /dev/urandom

I am trying to generate a GPG key, and I cannot generate enough entropy. So I installed rng-tools and tried following these instructions: http://serverfault.com/questions/214605/gpg-not-enough-entropy ...
4
votes
3answers
2k views

I want a non admin user to install software. What commands do I need to add to sudoers?

I want to edit the /etc/sudoers file so that a non-admin user can install software via the Software Center in Linux Mint 10. The reason for this is that I want a user to have the capability to ...
32
votes
3answers
113k views

'chmod u+x' versus 'chmod +x'

What is the difference between chmod u+x and just chmod +x? I have seen a ton of tutorials that say to use u+x to make scripts executable. However, the u is not mentioned in the chmod help or ...
11
votes
3answers
8k views

Display files permissions in number format i.e “0755”? [duplicate]

Is there a way to get files/directories permissions in number format "0777" instead of "-rw--r--r" format?
3
votes
1answer
708 views

Sudo permissions error

I am getting the following error: sudo: unable to resolve host XXX sudo: /etc/sudoers is mode 0666, should be 0440 Segmentation fault To start xampp, I typed sudo /opt/lampp/lampp start Please ...
0
votes
1answer
664 views

permission error on Ubuntu? [duplicate]

Possible Duplicate: Sudo permissions error Hi, I am getting the following error: sudo: unable to resolve host XXX sudo: /etc/sudoers is mode 0666, should be 0440 Segmentation fault To ...
3
votes
1answer
1k views

Gaining access to a folder which requires you to be the admin/owner?

Hey there, I'm trying to install a gedit plugin called zoom, and in order for it to be picked up by gedit it needs to be extracted in this folder /usr/lib/gedit-2/plugins. My problem is I can't ...
1
vote
1answer
1k views

Nautilus file share for multiple users is not working. Only owner gets access

I have always had trouble setting up samba shares with ubuntu. In the past I've tried getting it to work by configuring /etc/samba/smb.conf but never achieved what I wanted. Last time I managed to get ...
5
votes
1answer
3k views

How do I restrict users?

I'm using Ubuntu 10.04. I would like to create a new account, for other people using my computer. I would like my guest to have access to Internet, text editor and other application installed on my ...