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

learn more… | top users | synonyms

0
votes
0answers
11 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
19 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
12 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
2answers
70 views

chmod not working in a non super user

I have created a file named *.txt in /home using following command: sudo nano *.txt Then I have changed owner of *.txt to a user that I've created: sudo useradd -c "ABC" sudo chown ABC ...
1
vote
3answers
63 views

What will be result of chmod -R 777

I accidentally did a sudo chmod -R 777 . in /var/www/html/mysite folder. What will it result to? I wanted to save some time by not changing my folder before running the command as well as not typing ...
1
vote
4answers
100 views

Sudoers.d Permissions denied

I am running ubuntu 14.04 in DardDrive. I was taking the Steps for Setting up and Running sudo located here http://snag.gy/JAGgt.jpg. But every I type sudo "whatever" as user ($), I get the following ...
3
votes
1answer
43 views

Ubuntu backup using bash commands/command line

So i accidentally run the command: sudo chmod -R 2777 / Wenever i login, it would only bring up the bash command line interface. Now how can i backup my system using only bash commands? i have ...
1
vote
1answer
51 views

ftp> how to recursively search and change mode?

Sorry if that was a repeated question! all my search results leads to 'SSH' results... I'm asking about FTP, How can I recursively change mode from FTP using the terminal? Again: I'm using FTP, not ...
2
votes
0answers
41 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 ...
0
votes
1answer
23 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
26 views

Copy of the file /bin/sh not executing as expected

I have Ubuntu installed in VirtualBox on Windows 10 only for two days, so this may sound silly. I have a reasoning problem somewhere and I don't know why. I copied the file /bin/sh to my own ...
0
votes
1answer
20 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 ...
1
vote
1answer
75 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
33 views

Incorrectly ran chmod 754

I accidentally ran the following command: sudo chmod 754 opencv instead of sudo chmod 754 home/mrman/opencv Now I can't access the folder which contains all the OpenCV files without being root. ...
0
votes
0answers
42 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: ...
1
vote
2answers
79 views

chmod 777 on a home network

first and foremost i am a noob in ubuntu, but since i want to learn more i decided to make my home server an Ubuntu Desktop machine. After searching online i installed Samba and connected my other ...
0
votes
1answer
44 views

Unable to run *.run intallation packages

I'm using xubuntu 15.10 amd64, i tried to install .run packages but couldn't. i did blow jobs: sudo chmod +x sample-file.run sudo ./sample-file.run i tested this command for a few 64 bit packages ...
0
votes
0answers
15 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
18 views

There is no make file executable in the permissions tab in the file manager? [duplicate]

I am trying to run a jar file. I have installed JDK 7 and have set the jar file to run with JDK 7. I am trying to make the file executable. When I look in the permissions tab there is no box that says ...
3
votes
1answer
370 views

Reset default permissions for /var/www

I completely messed up my /var/www/ folder after attempting to change some permissions. Now I am unable to open my localhost in browser. Following are my permissions in relevant folders. in root, ...
0
votes
0answers
25 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
1answer
38 views

Why a folder needs a execute permission when I'm trying to execute a .sh? [duplicate]

I've got a folder that has 0600 chmod permission and this folder has a sh script. I'm trying to limit some permissions but I've realized that if the folder has not a execute permission, unless for ...
0
votes
0answers
31 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
-1
votes
1answer
21 views

external drive chmod permisision error

I was folowing a help guide and used chmod 755 on my /media/_drive folder now i am getting the message "You do not have permission to view the contents of this directory". my output from ls -lah ...
0
votes
1answer
23 views

Can't access any page now?

So, I added some chmod and chown and a group and now I can't access any of my website when I go to it? All I get is: Forbidden You don't have permission to access / on this server. Apache/2.4.7 ...
2
votes
1answer
44 views

Strange behaviour of 'sudo chmod -rwx': Does not remove group write permissions

I just ran the following command in a directory with several files, some owned by root, some by a normal user. I got a strange message: $ sudo chmod -rwx * chmod: example-file: new permissions are ...
0
votes
2answers
122 views

I entered “sudo chmod 770 /” on terminal. Is it fixable?

I was trying to deny permissions to access the root folder to all non sudoers, and had the (NOT) brilliant idea to run sudo chmod 770 /. Now I get permission denied for all commands. I am running ...
0
votes
0answers
19 views

How to change owner to default? [duplicate]

I am new in Ubuntu, and I am a web developer. I was making a page website returned an error and said you need permission and something about chmod() Then I asked a friend what to do for the chmod ...
0
votes
0answers
23 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 ...
1
vote
0answers
56 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 ...
0
votes
2answers
43 views

how to have chown only effect folders, not files?

I have to chmod a structure of subfolders which contain more sufolders and also files naturally. Now I need to change access rights (owner:group, no acl at this point) to this complete structure in ...
0
votes
1answer
31 views

Best Practices for Permissions in Major Directories in Ubuntu

Been trying to figure this out all day and hopefully someone will see this and know or redirect me. Basically I want to know what the best permission settings for all the default files (by which I ...
1
vote
2answers
30 views

chmod from user to group recursive

I have a folder ( Android-SDK ) with a lot of executables ( user only ) in it - now I want to share this between 2 users ( jenkins + login-user ) - now I have to set executable flags for every ...
2
votes
1answer
187 views

Command to change permissions only on files not directories

I have the following command find . -type f -print0 | xargs -0 chmod 644 which would successfully change to 644 the permissions on all files in ., provided that the filenames contained no embedded ...
0
votes
1answer
302 views

How to fix corrupted permissions inside encfs encrypted folder

I manage and mount a encrypted folder with Gnome encfs manager and it worked for years. Suddenly it seems like the files or permissions inside were corrupted. Mounting works as usual on terminal as ...
3
votes
1answer
61 views

If I make a file executable on one system, will it remain so if I move it to another?

If make a file executable with chmod +x <file> , will the change be still applied even if I move the file onto another system? Would that apply even if I distributed the file to a wide number ...
0
votes
2answers
223 views

Use chown to set the ownership of all a folder's subfolders and files?

How can I use the chown command to change the ownership of all a folder's subfolders and files?
0
votes
1answer
52 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 ...
1
vote
1answer
119 views

how to create shortcut for an application? [duplicate]

I just successfully opened Godot Engine. It was a .64 file that I learned to run in Terminal with chmod. Is there a way to add a Shortcut for the Application on my Desktop?.
2
votes
2answers
91 views

how do I remove the chmod +t file permissions

I was setting up a new hard drive for temporary folders and accidentally set the chmod +t (sticky bit) file permission. How can I remove this setting? I have a program using it as temp folders and ...
0
votes
2answers
43 views

What is the proper chmod for a file

I want to choose the right chmod for a file, that cannot be viewed or accesed directly, but it can be send by mail from script. I have an ubuntu server (LAMP) and I am asking myself if this could be ...
-2
votes
1answer
70 views

How to give Windows 7 access to a file?

I have my Ubuntu installation mounted on a 3TB drive and also use it as a storage for large files I use on my Windows 7 Dual boot. Recently I spent a long time encrypting a file for use in Windows. By ...
0
votes
0answers
13 views

NTFS permissions messed up [duplicate]

I run a dual boot with Ubuntu on sd6 and Windows8.1 on sd4. I was trying to get plex media server working on my ubuntu, and I ended up messing my D:/ (sda5) in windows. I used this guide to set ...
1
vote
1answer
52 views

How do I specify folders only for chmod

I have a 30GB website, with loads of folders, and files. I want all the folders to have the permission 745 and all the files to have 644. I tried using chmod -R 745 public_html/ but all the sub files ...
1
vote
1answer
980 views

How to give permission to execute Eclipse application?

This one has confused me for a couple of hours. I know the command sudo chmod +x file to give executable permissions, and still I don't get my application to run. For context, I installed Eclipse ...
1
vote
1answer
669 views

chmod: Everything on SD Card Stuck On 755, Owner is Root

I am trying to access my SD card as a general user after it somehow changed to just Root access. I have tried several solutions, and none of them worked. Here is an attempt to chown eveything to ...
0
votes
0answers
80 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 ...
4
votes
2answers
231 views

bash: /path/.bash_aliases: Permission denied

I don't know why this line appears first when I open my gnome-terminal. bash: /home/username/.bash_aliases: Permission denied laptop-dell:-$ I tried this but still the problem remains there. chmod ...
0
votes
0answers
39 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.
1
vote
1answer
52 views

USB ports not working, problems with ownership and permissions

I have ended up with problems with ownership and permissions on my computer, probably due to a brainless recursive change of permissions..! I don't know which folder was affected, so I have changed ...