Skip to main content

All Questions

Tagged with
6 votes
2 answers
27k views

Change default permissions for new files and folders

Every time I create a new file or folder in Linux, it is accessible for r/w by myself, not the group. I want to change my system setting such that every new file or folder will be automatically ...
Ali's user avatar
  • 451
0 votes
1 answer
96 views

Granting full rights on all files (owned by su) within certain directory

I got some trouble with a server situation, where i keep some configuration files in a sub-directory of a web project. Using my superuser account, i make changes to these files, which NetBeans commits ...
SQRCAT's user avatar
  • 657
0 votes
1 answer
741 views

Unable to retain any root created files and folders after warm reboot in linux

I installed and ran petalinux on zynq board. It runs perfectly fine and boot in around 3 seconds. To boot it this fast I had to do some configuration before compiling the source. The problem that I ...
gpuguy's user avatar
  • 271
0 votes
1 answer
181 views

Ubuntu file ownership issue

I've got a problem with my forum platform being unable to install modifications, as it complains the "Packages" directory isn't writeable. It's chmodded to 0777, so it's not a permission issue, but an ...
i-CONICA's user avatar
  • 116
4 votes
5 answers
72k views

chown: invalid user: ‘www–data:www-data’

I'm experiencing strage problem. I simple need to give permissions www-data to a folder chown -R www–data:www-data /somefolder chown: invalid user: ‘www–data:www-data’ grep www-data /etc/passwd www-...
Orlo's user avatar
  • 263
0 votes
1 answer
2k views

How should chmod and chown be used together?

I recently sold my mac, and before doing so I put its files on an external HDD. Now I'm using Linux to move those files to a larger HDD, but some folders still retained some residual mac permissions, ...
Nick Chandoke's user avatar
-1 votes
1 answer
4k views

Take control of all disks/filesystems automatically in linux (Kali)

I have two mac disks plugged into my Linux Kali and for the life of me I cannot get ownership of them. (LaCie) I don't have this problem in Windows or Mac, I just copy the files. Drag and drop. But ...
Graham's user avatar
  • 1
2 votes
1 answer
2k views

Accidentally ran "chown -R ubuntu:ubuntu /", how to repair?

I accidentally ran "chown -R ubuntu:ubuntu /" on a cluster of 10 servers. I've since managed to repair the majority of the filesystem by initially editing /etc/rc.local, placing a lot of chown ...
user avatar
2 votes
2 answers
2k views

Understanding file ownership Linux

I have a Java program on my Linux box and I wanted to create a little one-liner shell script in /bin to prevent having to navigate to the folder of the program and setting all the command line ...
Speccy's user avatar
  • 353
3 votes
1 answer
4k views

Accidentally changed the owner of /bin and other directories

I recently made something very, very stupid. Instead of typing: chown adam ./* I wrote: chown adam /* (I forgot about the very important dot). Now I have some files with owner adam instead of... hmm I ...
Yob's user avatar
  • 370
11 votes
3 answers
28k views

Transmission-daemon not picking up on watch directory

Trying to get my transmission-daemon to pick up files from a dropbox folder, to make remote starting easier (it's a headless system). As far as I can tell, the settings.json file is as expected, but ...
Mild Fuzz's user avatar
  • 743
0 votes
2 answers
1k views

Accidently changed the owner/group permissions of linux /

I accidently changed the permissions of linux / sudo chown -R deploy:deploy / and messed up every thing. SSH is not working, web server showing error. And it is a cloud server! (Ubuntu 10.04) There ...
Mithun Sreedharan's user avatar
39 votes
3 answers
154k views

Creating files and directories with a certain owner (user/group) while sudoing

I need to wget something (results in a compressed file in cwd), then I have to extract it, then do some copy/move/modification stuff and perhaps finally execute an script (from the downloaded archive)....
Ashkan Kh. Nazary's user avatar
0 votes
3 answers
2k views

How do I give a user 777 permissions without affecting others?

I have a user on my CentOS server who is not part of any group, just by themselves. How can I give that user 777 permissions without affecting any other user on the server? I have chroot off, so I ...
Chown12's user avatar
46 votes
2 answers
135k views

Allow specific user permission to read/write my folder

I have a folder /home/samantha/folder that I want to share with the user tom. He can read/write the folder. How do I do that? chown wouldn't do it because I still want to be able to be the owner of ...
Zenet's user avatar
  • 685

15 30 50 per page