1
vote
0answers
56 views

Cannot chown or chmod using sudo anymore

I was trying to make an adjustment to the /etc/sudoers file, and I accidentally corrupted it. I restored it via the grub and using the Ubuntu 14.04 default. But now it seems I can change ownership ...
1
vote
1answer
26 views

Access to different directories

I have recently moved to Ubuntu 12.04 and noticed that in some directories I can't even create a directory or file (e.g:/var/lib). I know about the command chmod, but is it appropriate to use it in ...
0
votes
1answer
90 views

How can I set different permissions for files and folders separately?

I want to apply 644 permissions only for all files in current directory, and 755 permissions only for subdirectories in current directory with chmod
1
vote
1answer
54 views

In ubuntu matlab execution file cannot be run

I have stored my matlab installation in one of the partitions.But ubuntu doesn't recognize the matlab file as an executable file even after executing chmod +x command. Kindly help me to resolve the ...
0
votes
3answers
4k views

Permission drwxrwxr -x [duplicate]

I need some help about permission. I had a permission drwxrwxr-x but I try to change the permission with chmod 755 /folder/ and after that I receive permission drwxr-xr-x but I would like to change it ...
1
vote
1answer
220 views

Ubuntu corrupted log files

It seems that all my log folders located in /var/log are turning into files. For example, if I try to tail /var/log/apache2.log it will say "no such file or directory" I can see it in the file ...
0
votes
0answers
62 views

12.04.03 installation error

When trying to install 12.04 from USB, erasing a corrupt version of 10.04 (I had run chmod 777 -R / on it with root access), I get the following error: kernel panic - not syncing : attempted to kill ...
0
votes
1answer
485 views

Accidentally ran “sudo chmod a+rx ~”

I accidentally ran sudo chmod a+rx ~ on the system root rather than sudo chmod a+rx myfolder... I ran sudo chmod -R a+rX myfolder/public_html then accidentally ran sudo chmod a+rx ~ instead of ...
1
vote
1answer
571 views

problems with /etc/sudoers

I am running ubuntu 12.04 on i3 laptop. By mistake I changed the permissions and changed the user(from root) of /etc folder and I am getting a error when trying to use sudo like: sudo: /etc/sudoers ...
0
votes
1answer
1k views

Unable to run compiled files - bash: ./a.out: Permission denied. (I've tried chmod)

First of all, there are many questions like this on AU. Still, none of them solved my problem. I've compiled my C source using cc test.c, and it did generate a.out file. However when I run it I get ...
1
vote
1answer
240 views

Nautilus plugin to chmod

Some time ago (around Ubuntu 8.04) there was a plugin to Nautilus to change permissions tab in file properties window. It was showing permissions as checkboxes for R/W/X for user/group/others. I can't ...
12
votes
3answers
10k views

Copy files without losing file/folder permissions

How can I copy files/folders from an ubuntu computer on a ext4 filesystem to another ubuntu computer which also is on an ext4 filesystem, using a usb stick which uses a vfat filesystem without losing ...
1
vote
0answers
222 views

setting permission for executable file output of gcc [duplicate]

Possible Duplicate: How to 'chmod' on an NTFS ( or FAT32 ) partition? Can't make a file executable i m pretty new to linux and gcc. i have a file1.s file which i tried to ...
2
votes
2answers
4k views

chmod u+s in /var/www

i have a problem at granting the right rights for the right user... i want to run pootle with apache, so i downloaded pootle. Then i copied it to /var/www, installed it and gave the www-data user ...
1
vote
1answer
512 views

How can I add file create read write and delete for a specific user?

Question: I need to give file create, read, write and delete access to /var/log for user bind only. How can I do that, short of allowing read and write and delete access for everybody ?
0
votes
0answers
68 views

Cannot use sudo command, changed permission of /usr folder [duplicate]

Possible Duplicate: How to get back SUDO into working condition? Here's how I messed up my ubuntu, I wanted to change file permissions of /usr folder and I did that by taking root privilege ...
2
votes
1answer
694 views

How to use `chown` and `chmod` to make a “pipe” or “pass through” link from guest directory to elsewhere

I want to either extend the size of my guest partition or figure out how to copy stuff from the guest partition to my normal /home directory. (Because of some other problems I can only run Xorg as ...
1
vote
2answers
2k views

Ubuntu took away permissions from my Data partition

The pangolin has struck again. The bug of the day for today is Ubuntu taking away my permissions on my Data partition (NTFS). One moment everything worked fine, the next moment I couldn't chmod ...
0
votes
1answer
421 views

Unable to login to Ubuntu Permissions Issue?

Well, I think I royally messed this one up. In the process of changing permissions in my home directory, I now can't login using any of the 3 accounts I had setup, except for the Guest account. I ...