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

learn more… | top users | synonyms (2)

3
votes
2answers
2k views

Ubuntu chroot “No such file or directory”

I have a web application where I create some folders on my server and put executables there. Then I try to run them with chroot but I get a message that access is denied there. I tried chmod -R 777 ...
3
votes
3answers
3k views

File Permissions on files copied from USB do not match File Permissions of files I create in Ubuntu

When I create a file in Ubuntu, it creates with only read/write permissions for the owner. But if I copy a file from a fat32 USB drive, the file permissions give read/executable powers to Owner,Group ...
1
vote
1answer
297 views

Why am I not able to execute an application created by Qt? Also, I am not able to give execute permissions to it

Why am I not able to execute an application created by Qt? Also, I am not able to give execute permissions to it. When i click "allow executing file as program", it automatically unchecks.
15
votes
2answers
2k views

Is it a bad idea to run SELinux and AppArmor at the same time?

My corporate policy says that Linux boxes must be secured with SELinux (so that a security auditor can check the 'yes, we're extremely secure!' checkbox for each server). I had hoped to take ...
8
votes
2answers
16k views

Trying to make file executable on USB, but the permission doesn't “stick” [duplicate]

Possible Duplicate: How to 'chmod' on an NTFS ( or FAT32 ) partition? I'm using LastPass as my password manager, and I use Sesame for multifactor authentication. On Windows this was ...
10
votes
4answers
9k views

How can I run an executable from a CD when it doesn't have the executable bit set?

A textbook I'm using came with a CD containing a few supplementary applications. To my pleasant surprise, it appears to include an installer for Linux. The readme file on the CD provides the ...
7
votes
6answers
50k views

How to give read write permission to a folder and its sub folders and files?

I have changed ownership of my localhost file on /var/www/ and its sub folders and given it permission 777. However, whenever I add a new folder in it the new folder does not automatically get that ...
5
votes
1answer
4k views

Why can't clamdscan scan anything?

Not sure what's going on here. I've installed clamav, clamav-freshclam and clamav-daemon to run automated scans (using cron) on my machine running Ubuntu Desktop 10.04 LTS x64. Unfortunately, ...
6
votes
3answers
27k views

Default file permissions for php user www-data

I have a php installed on my ubuntu machine. The web root is /var/www I set the permissions for this folder like so: sudo chown -R ftpuser:www-data /var/www ftpuser is the user I set up so I ...
9
votes
3answers
17k views

Error after sudo-ing “sudo: must be setuid root”

On a colleagues computer, everytime I use a sudo command, I get this error: sudo: must be setuid root I tried various things mentioned on the internet, like changing the permissions to 4755 from a ...
1
vote
1answer
2k views

Can't set permissions for USB drives?

I'm trying to set permissions for folders on USB drives that I've mounted with Nautilus, but when I change the permission, it just changes right back again. No error message or any other explanation. ...
8
votes
2answers
11k views

AWStats: cannot access /var/log/apache2/access.log

I installed awstats on my new Ubuntu Lucid server, but when cron tries to run it as user www-data, it complains that cannot access /var/log/apache2/access.log: Permission denied. In ...
6
votes
1answer
1k views

How to repair/restore after 'sudo chmod / 777'? [duplicate]

Possible Duplicate: What if I accidently run command chmod I changed file permissions recursively on the root directory '/' with sudo chmod / 777 -R and after that i run "save mode" and i ...
4
votes
5answers
7k 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
2k views

How to make a link to a .desktop [Desktop Entry] file

I made a link on my Desktop to the launcher file "Compiz" in /usr/share/applications/. When I try to execute it I get: "The application launcher "Link to compiz.desktop" has not been marked as ...
3
votes
3answers
2k views

How can a user get write access to “/sys”?

I'd like to know what I need to do to enable a user to modify values in /sys. As it's a sysfs, changing file permissions is not an option (and I don't like to do it on every boot).
41
votes
2answers
21k views

Why shouldn't /var/www have chmod 777

When developing a page on a localhost, I sometimes get a "Permission denied" error which I can solve by running chmod -R 777 /var/www. However, people are telling me that this is a bad idea for ...
5
votes
2answers
5k views

How to assign correct permissions to both webserver and svn users?

I've an issue with files ownerships. I have a drupal website and the "files" folder needs to be owned by "www-data" in order to let the users to upload files with php. However I'm now using svn and ...
71
votes
6answers
120k views

Whats the simplest way to edit and add files to “/var/www”?

Having installed the web server is there a simple way to set a user able to use the graphic interface to copy files and directories to the local web server /var/www I gave myself administrative ...
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 ...
0
votes
1answer
282 views

Nautilus only starts as root user

I am running Ubuntu 10.04 64-bit, and when I attempt to start Nautilus from the command line, it does not appear -- although a PID is generated. As root/sudo i can start Nautilus fine. One note: I ...
2
votes
2answers
1k views

Permanently mounting Windows' NTFS partition, fully enabled

I'm transforming a Windows 7 PC into a dual boot system with Ubuntu 10.10. Following other questions on this site, I've mounted my Windows drive by adding this to fstab UUID=blabla /windows ntfs ...
2
votes
2answers
5k views

cannot open output file test: Is a directory collect2: ld returned 1 exit status

I want to compile the program using these command:gcc -o test test.c,then it displays these: yangbin@yangbin-desktop:~/桌面$ gcc -o test test.c /usr/bin/ld: cannot open output file test: Is a directory ...
3
votes
1answer
165 views

Nautilus doesn't see setgid

I want to share a folder for two users, here is what I did: created group add users to group set chmod set chown set setgid 2775 reboot After that: echo test > /Common/testfile -> group ...
7
votes
1answer
9k views

How to write an fstab line for full access to an NTFS drive?

I've written: /dev/sda2 /win ntfs-3g rw,dev,exec,auto,async,users,umask=777,uid=1000,gid=1000,locale=en_US.utf8, errors=remount-ro 0 0 but I still can't access /win as a user (corresponding to ...
4
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 ...
11
votes
3answers
8k views

.exe file permission fail

I'm trying to run a exe file that is located on my Vista partition, when I browse to the file and try to change the file to run as executable the tick box unticks itself right after i tick it, i tried ...
8
votes
1answer
17k views

How do I set executable permissions on a removable drive?

I'm using Ubuntu 10.10 and using a usb drive but I'm finding that I can't chmod any programs on the drive to +x. It is being auto-mounted by Gnome (using udev, I think?) so I imagine the problem is a ...
9
votes
1answer
1k views

How can I become the owner of a file that origins from another pc / user?

I have a file from another pc with ubuntu, the owner of the file is my user account from this pc. How do I change the owner to my useraccount on another pc so that I can use it? When i try to change ...
4
votes
1answer
339 views

Deleting without permission in $HOME

I experienced some weird stuff: berni@zero:~$ touch wiki berni@zero:~$ sudo chown root. wiki berni@zero:~$ sudo chmod 000 wiki berni@zero:~$ ls -l wiki ---------- 1 root root 0 2010-12-11 15:14 ...
7
votes
2answers
527 views

How can I stop banshee from downloading podcasts as 'read only'

When Banshee downloads podcasts to the 'Podcasts' folder, it marks that folder as read only. This is a problem when I want to sync them to my Android smartphone and I am unable to listen to them ...
2
votes
2answers
4k views

Touchpad issues on HP Pavilion dm4 (can't right click)

Can anyone help me with my touchpad issues? I have a HP Pavilion dm4 and it has two areas on the bottom of the touchpad to designate right and left clicks. This mostly doesn't work on Ubuntu in the ...
11
votes
4answers
2k views

Hide 'Your profile could not be opened correctly'

I have a small public internet cafe, with Ubuntu 10.04 and 10.10. I'm using Google Chrome 7.0.517.44 (64615), with AutoScroll - Version: 2.7.5; AdBlock is removed because of high CPU loads, and ...
8
votes
2answers
20k views

How to auto mount a flash drive with root and read/write/execute privileges

I have an issue with mounting my Flash drive on Ubuntu 10.04 with write privileges. It's currently partitioned as Fat32 with Label KINGSTON but when I insert it into the Laptop it reads it as usb0, ...
13
votes
4answers
626 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 ...
11
votes
5answers
19k views

Apache symlinked to home directory - Permission Errors

im having a few problems symlinking my /var/www/ to a new Webroot directory inside my home folder. I think these stem from my lack of understanding of linux permissions. As far as im aware, symlinks ...
4
votes
4answers
3k views

gedit + sshfs won't save (vi saves fine!)

I mounted a remote directory using sshfs and I can't save files using gedit, while saving same file using vi works. Changin permission to o-r (640) allows gedit to save files OK. Is there a way to ...
4
votes
1answer
5k views

How do I give apache access to a samba share?

I'm running a web server and the public_html folder is in a windows network drive shared by samba on Ubuntu Server 10.04. I have apache2 VH set to point to the folder and it works great. However, ...
3
votes
1answer
178 views

Getting access to network server

I logon to my server successfully and can transfer files off the server to my desktop. But I can't put any files back. I get a "permission denied" error. I know I have full access to the network ...
11
votes
4answers
18k views

Solving permission problems when using external EXT4 hard disk with multiple linux installs

Hello I have a external hard drive and since I only use Ubuntu and Fedora I decide to format my hard drive to ext4 everything is fine. The problem is when i mount the drive i need to change the ...
65
votes
9answers
67k views

How do I use 'chmod' on an NTFS (or FAT32) partition?

I have a script that I need to execute on an NTFS partition. The script's permission is set to 600. I attempted to modify the permissions by running chmod 755 script.sh, which doesn't report a ...
8
votes
3answers
3k views

How to move files into /usr/bin in Nautilus without getting permission errors

I'm trying to move some files into /usr/bin in Nautilus but I'm getting permission errors. I know I can do it via the terminal using sudo but how can I do it in Nautilus? I would expect it to popup a ...
1
vote
1answer
491 views

Disallow user from moving/renaming a directory?

How can I disallow a user from moving/renaming a subdirectory of this home directory? Even if a user doesn't have any rights on a directory, it can rename/move it as long as the source and ...
4
votes
2answers
598 views

How do I limit accounts?

I am trying to set up Ubuntu for a school and obviously there needs to be limitations, how would I be able to limit Access to certain programs, like the terminal, gparted, system monitor... The ...
5
votes
1answer
3k views

What does this startup dialog message mean “Could not update ICEauthority file”

I restarted Ubuntu a few minutes ago, and got a warning dialog early in the bootup process (before the desktop was up)... It wasn't just a scrolling message which flitted off the screen of its own ...
10
votes
5answers
49k 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 ...
3
votes
1answer
1k views

How to give directory and file permissions to a web server

I'm a Linux newbie. I'm doing a project that uses the gosmore routing engine. In one of my email to the developer about a certain problem, he replied to me that to solve the problem: "I think you ...
3
votes
2answers
4k views

Having permission problems with XAMPP

I installed xampp with no problems, and then ran the command to set security. Apparently setting security locks you out of the directories even at the file system level, not just via FTP - when I look ...
9
votes
5answers
5k views

Mounting NTFS as read-only

My PC have 3 NTFS partitions (main and backups) plus Ubuntu on dual boot. I want to keep NTFS partitions available, but mounted as read-only by default, so that other users (and accidentally even me) ...
10
votes
2answers
286 views

How can I preserve the executable bit on a file that is synchronized by Ubuntu One?

A script I am working on is in a folder that is synchronized by Ubuntu One. Every time I edit it from another computer, it looses its executable bit and I must manually reapply chmod +x. How can I ...