chmod changes the permissions of each given file according to mode, where mode describes the permissions to modify.

learn more… | top users | synonyms

2
votes
1answer
52 views

Auto chmod and launch?

Is there a way to have all files chmoded and then launched automatically? Say when I have my pc off, I insert a usb stick with a game on it, a lot of random files need to be chmoded and then I would ...
2
votes
1answer
2k views

can't access to a folder even after chmod 777

I just created a new user, and I want to give access to a folder. I have done: chmod -R 777 ./p and this is the result lisa@linux:/media$ ls -halt drwxr-xr-x 27 root root 4,0K dic 11 11:...
2
votes
1answer
2k views

Can't access home folder

While installing Matlab, I mistakenly typed sudo chmod +x ./java in the home folder. And I got i/o error that you are not allowed to access the home folder. Suddenly everything in my home folder ...
2
votes
1answer
257 views

Locked out of drive on Ubuntu Server

I was trying to delete some torrents that I had downloaded with transmission-daemon and was unable to from my samba share on windows due to transmission's default file creation permissions. I ...
1
vote
1answer
150 views

“No such file or directory” after chmod

I downloaded my professor's "shell" program and am trying to run it on my machine to do some homework. When I tried to run it from terminal using ./shell I got a "Permission denied error". After ...
1
vote
1answer
89 views

How to change a program and all its subroutines executable?

for running a program, I need to change its install file to a executable file. I can do that, but my problem is that program calls some subroutines and those need to be executable too. Is there any ...
1
vote
1answer
123 views

How do I revert to the previous permissions for a folder?

I changed permission of folder by chmod -R 775 example and now I want change it to previous permission mod, but I don't know what was that number instead of 755. That folder is my project folder and ...
1
vote
1answer
399 views

How to let a user execute a script owned by root? Setuid doesn't seem to work anymore

I have some bash scripts that I use with the user 'root' to manage iptable rules. The problem is that I want these things at the same time: The script must be owned by root Permissions must be 700 ...
1
vote
1answer
108 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 ...
1
vote
1answer
817 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 ...
1
vote
1answer
2k views

Executable not running even after chmod'ing it

I am trying to run a BETA precompiled copy of rcracki, but the problem is when I try to run the executable, it gives an error: root@hosted-by:~/Desktop/rcracki_mt_0.7_beta2_linux_x86_64# ls COPYING ...
0
votes
1answer
23 views

Issue with dir is other-writeable but not sticky (blue text, green background on all directories)

Some background: Distro: Ubuntu 16.04 LTS Experience level: Not new to Linux, but not an expert. The issue: When working with SMART Tools to check an external USB drive, somehow I managed ...
0
votes
1answer
45 views

How to change access rights for /?

I accidentally changed access rights on / for my Ubuntu 16.04 using sudo chmod 466 /. I was supposed to change access rights for a file but instead I accidentally executed a chmod on / (root directory)...
0
votes
1answer
30 views

Adding users and giving special permissions

I have tried different things with chmod and adduser commands but it will take too much time for me to do this. Here is what I try to do: Lets say I will add 3 users to my system. Each user can read ...
0
votes
1answer
32 views

How can I make permanent permissions for a directory using chmod?

I want all the new files I create in the directory to have specific permissions, but whenever I create a new file in the directory, it gets the default system permissions even though I used chmod -R ...
0
votes
1answer
27 views

permissions, changing ownership

I have a flash drive which contains recovered files from my old mac, I installed Ubuntu just to recover these files, I have no other purpose for the OS. The drive shows owner "Root" and the files are ...
0
votes
1answer
78 views

Samba permission require execute attrib to list folder contents?

Okay so I have Samba running on my server and I have noticed that it can't display folder contents unless the folder is set with chmod 700 to give rwx attributes to everything instead of just rw with ...
0
votes
1answer
561 views

Chmod all files getting uploaded automatic

Is there any way to chmod 777 all files getting uploaded to a folder throught FTP? I'm using vsftpd and apache2, and I am having a camera to upload pictures taken once an hour to a local server over ...
0
votes
1answer
2k views

Issues with executable: file not found after using chmod to fix permissions

I have downloaded and extracted the Linux binary for the blackbox PDDL planner, and I'm trying to get the blackbox file to execute. I changed to the directory with the file and tried ./blackbox, which ...
0
votes
1answer
46 views

Webserver permission problem

I've a permission problem on my dedicated webserver, but I'm not able to understand what's I was doing wrong. Ubuntu 14.04 Kernel 3.19.2 Versione Apache 2.4.7 Versione PHP 5.5.9 mysql 5.5 (all from ...
0
votes
1answer
1k views

Permission denied apache even after chmod

I am trying to setup my LAMP server on ubuntu when i am about to change mod chmod of the files in the /var/www directory but when i try : sudo chmod 0644 www/* -R and sudo chmod 0644 www -R ...
0
votes
1answer
108 views

Write permissions not allowed on my USB key

I can read/write my USB key normally on Windows XP. On Ubuntu 12.04 I can only read it. I tried sudo to chmod with 777 my USB key but Ubuntu does not allow me that. Why this problem happens ? How ...
0
votes
1answer
69 views

Chmod crash version 13.10

I was watching a command line reference tutorial and testing out two commands, CHMOD and CHOWN. I ended up changing my root folder's permissions. What should I do? Version 13.10.
0
votes
1answer
3k views

changing chmod 755 to 775 on a directory will result in permission denied when connecting with sftp

When I change chmod in my /home/frans from 755 to 775 I get the following error when connecting with ftp fatal: bad ownership or modes for chroot directory "/home/frans" I'm a linux newbie and i'm ...
0
votes
1answer
184 views

Unable to change permisions on windows partition disk

I need to change permissions of files in my /media/MAVEN/Projects MAVEN is my windows disk partition. The permissions on the Projects folder are: :/media/MAVEN/Projects$ ls -la \total 340 drwxrwxrwx ...
2
votes
0answers
36 views

Revert system fie premissions

I have mistakely changed the permission of the entire etc directory to 777. Now I'm getting frequent errors like ... is world writable! Is there a way to revert back to the default permission? ...
1
vote
0answers
97 views

Group Administrator cannot change file right by chmod g+w

Already execute" gpasswd -a " to assign a group administrator. The one of group owner put a file as read only. But group administrator can't change the file by" chmod g+w files.txt". Error ...
1
vote
0answers
16k views

Chmod error changing permission read only file system

I have three main partitions on my disc /dev/sda: /dev/sda1 2048 117186559 58592256 83 Linux /dev/sda2 117186560 128905215 5859328 82 Linux swap / Solaris /dev/sda3 ...
1
vote
0answers
1k 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
0answers
1k views

User has no permissions in sftp

I installed LAMP in my Digital Ocean droplet. I have successfully logged in to SFTP. However, when I try to do anything in my /var/www/html/ folder it says permission denied. It may be worth ...
1
vote
0answers
567 views

Changing permission for 'Public' folder always failed

I have 2 PC using ubuntu(I assume PC 1 and PC 2), and I always share a file or folder for each other. I know that I have to right click first, choose Sharing Options and check Share this folder. ...
1
vote
0answers
320 views

how to recover file and folder permission?

I made this mistake at the /usr directory sudo chmod -R 777 bin The next time i used sudo, it gives me this prompt: sudo must be setuid root What I did is copy and replaced this sudo thinking it ...
0
votes
0answers
30 views

Executable file - No such file or directory

First I made a shell script executable by typing chmod a+x try1.sh in the terminal. Then, when I double-click on try1.sh and select 'Run on terminal', the screen just shows 'No such file or ...
0
votes
0answers
14 views

automatic logout system display login screen

I changed permission to /usr/bin/sudo folder. Then I cannot login to my user, getting sudo error root login access. I changed permissions of /usr/bin/sudo to 4755 using root login but my other user ...
0
votes
0answers
74 views

How to fix permission changes automatically?

~$ sudo chmod 777 . [sudo] password for aswin: chmod: changing permissions of '.': Read-only file system ~$ I tried to change the permission in the Terminal but it always says chmod: changing ...
0
votes
0answers
53 views

Can't get correct permissions for /var/www/html/

I've read several threads here talking about this issue and tried all the solutions provided, none of them are working. Whenever I try composer install I get a bunch of errors saying cannot install [...
0
votes
0answers
16 views

How to recover administrator permission and media access for normal user?

I have a dell pc with ubuntu 14.04 lts version for my work. On a spring day, my system administrator removed my system's administrator permissions and removed my media access. He used the following ...
0
votes
0answers
49 views

rutorrent / rtorrent - strange permission problems

rtorrent via rutorrent front end was working fine, then I did a sudo apt-get upgrade and all hell broke loose! (and plex stopped being able to access too). Original setup was for all completed ...
0
votes
0answers
15 views

Chmod for a mapped network drive

In Ubuntu 14.04, I have mounted a network drive in Nautilus, by using Connect to Server and entering smb://xxx.yyy.zzz. What I want to do now, is to modify the access rights of the directories in this ...
0
votes
0answers
58 views

New Samsung printer driver wedged with “Cups insecure filter” error, won't print; won't change permissions

I installed the Samsung ULD Universal Drivers for a M2070FW on Trusty. The driver hung with error "Cups insecure filter", refusing to print any test page no matter how many times printer was Added or ...
0
votes
0answers
22 views

LPG-TD planner…executable file problem

I want to install lpg-td-1.0 planner. There is an executable file named lpg-td-1.0...I used chmod +x (with directory) But in terminal I am getting "lpg-td-1.0: command not found" What I am doing ...
0
votes
0answers
61 views

Program has no access to files after running chmod 777 -R

I transferred some Minecraft server files from one server to another, both running Multicraft control panel. I didn't have permissions to run the new server files from the second server, so I used: ...
0
votes
0answers
19 views

Mumble can't read input devices

I'm a competitive player and I need mumble. When I installedmumble and used the Push to Talk feature, I can't seem to bind a key. After googling a bit, I found this site, which tells you to either run ...
0
votes
0answers
29 views

Messed up permissions

I tried to remove file permissions for 'other' from all user directories. So I did cd /home/ Then Instead of sudo chmod -R o-rwx * I typed sudo chmod -R o -rwx *, which resulted in some troubles. ...
0
votes
0answers
41 views

Permissions in var/www/html forever

Hi I want to know if it's possible to set permissions for the folder html and the subfolders so when i want to put there a new project it wont necessary to set the permissions again. Thanks
0
votes
0answers
29 views

How to chmod /cdrom to 777 on USB trial install file system

I have done a USB install of Ubuntu 14.04 I try to sudo chmod 777 /cdrom/temp mode of /cdrom/temp changed from 0755 (rwxr-xr-x) to 0777 (rwxrwxrwx) ubuntu@ubuntu:/$ ls -ld /cdrom/temp drwxr-xr-x 3 ...
0
votes
0answers
87 views

Cannot access anything in ubuntu 14.04 after running sudo chmod 000 /

I run sudo chmod 000 / . then i wanted to run 777 permission. but 000 permission is not allowing me to write command in terminal. I can not access anything. Then i shut down PC. now my PC is not ...
0
votes
0answers
47 views

sudo chmod -R ugo+rw “/var/lib” how to reset this command?

I applied this command on ubuntu 14.04. Is it okay to do this or did I make a mistake by doing it? Please Help me.
0
votes
0answers
100 views

sudo chmod 664 “/” -R

The problem: sudo chmod 664 "/" -R I've canceled it after a few seconds but here it is. What all should I do through Live CD? sudo chmod 755 "/" -R or just sudo chmod 755 "/" ? Thanks
0
votes
0answers
211 views

How to change owenship of a directory from root to all uses in Ubuntu 14.04?

I am a Ubuntu newbie and want to change permissions of a directory to a user, say x. I searched many things chmod 777 <dir>/ did not work. I referred to Change folder permissions and ownership ...