General :: Wrong Chown Command / Solve This?
Jun 29, 2010
I ran a command chown apache:apache / and just about everything... i wanted to do it on a directory but it did it on complete server.
i unable to login to phpmyadmin and even all the databses are empty. any tips on how can i solve this.
View 3 Replies
ADVERTISEMENT
Jan 12, 2010
My home/container has me as the owner but the contents all belong to root...I've tried >chown cbjhawks /home/cbjhawks but that didn't change anything. Should it be >chown -R cbjhawks /home/cbjhawks? Or what is the proper command for doing this...
View 2 Replies
View Related
Oct 25, 2010
I tried
Code:
chown -R owner:group *
which does not work on the invisible directories (why?). When I used ".*" as wildcard it changed all (visible) files including the parent directory (the one I was currently working in which is the "dot") . I can change the invisible directories owner and group using dophin but how is it done from the command line?
View 9 Replies
View Related
Feb 22, 2010
Inspite of having 755 permissions on the chown command, it seems the command can be executed by the root only. I was under the impression that the 'x' permission for 'others' can give executable rights to the normal user too, which does not seem to be the case here. Just curious to know, if not the file perms itself, what controls the execution of the command?
View 6 Replies
View Related
Mar 30, 2010
I was tired and went to delete a directory and its content and forgot to specify the directory name, i entered: rm * -R
Now lost all what was in my home directory (((
HELP, i must get those files back, what can i do?
View 2 Replies
View Related
Dec 23, 2010
I've had to take ownership of a couple of directories where I've installed third party apps so that I can actually run/update them, but I noticed that when I used the command on a directory, "lock" icons appear on all of the child directories. Can anyone explain why that is and how to avoid it? If it's not avoidable, is it possible to mass select directories to change ownership from root to my account (if possible, is it wise?)?
View 2 Replies
View Related
Nov 17, 2010
I just installed Ubuntu 10.4.1 through wubi and I cant boot in the GUI
I used startx and the screen goes black
I also used sudo dpkg-reconfigure -phigh xserver-xorg and it cant find xserver.xorg (used the - phigh one too)
What can I do to solve this?
View 2 Replies
View Related
Jun 24, 2011
I am attempting to start ruby in interactive mode from the command line. However, when I type ruby at the command line, it simply hangs. I know that I have ruby installed. Any ideas as to how to resolve this problem.
View 2 Replies
View Related
Feb 12, 2011
I've just installed Ubuntu 10.10 AMD-64 and mounted several partitions into /mnt/ directory. Now I want to be able to perform operations on those partitions without limitations. I'm trying to change the owner and group but it doesn't work. I'm typing sudo chown username filename to perform the operations.
View 1 Replies
View Related
Feb 9, 2011
I would like to change the ownership of some all folders and files within them folders by making changes to parentfolder. But I mess it up.
The folder path is /home/myaccount/shared/target_folder.
Target folder holds several new folders with files inside. How can I easily change ownership to all folders and files within target_folder?
I tried this:
Code: sudo chown myusername /home/myusername/shared/target_folder But I get error:
Unnable to resolve. No such file or directory.
View 5 Replies
View Related
Jul 19, 2010
When I installed a new copy of my distro on another partition, in order to preserve all the settings from my old my user account, I made a user account with the same name on the new installation, and then copied my old user account's files (in their entirety) to the new user account, overwriting it. I did the copying from the root account (where else? I assume the new user account can't overwrite itself while it's open), and root became the owner of everything I copied, making it impossible to open the new user account. So I then chowned the new user account's folder to myself. I still can't get in, because apparently, chown only chowned the top folder, leaving all subdirectories owned by root. How do I make chown include all subdirectories? I scanned the man page, but didn't see a parameter.
View 4 Replies
View Related
Mar 30, 2011
vsftpd 2.3.2-3After user uploaded a file it has -rw-------(0600) permissions. Of course user can change permissions manualy to any he likeBut how to set for example 0700 by default?
View 1 Replies
View Related
Jun 29, 2010
well, by mistake i ran a command and chown the whole server apache:apache
now, i can't do anything... is there a way to restore the original permissions??
View 3 Replies
View Related
Dec 8, 2010
In Linux, how do i prevent users from executing chown, chgrp or chmod?
View 2 Replies
View Related
May 30, 2010
I have a samba share that I mount locally at boot through fstab. The share is writable and if I access the share directly, say with konqueror and smb (smb://hostname/sharename) then I can do anything I want (create, write, delete, edit, files/directories). I have a mount point on my local machine
Code:
/shares/mp3
and I (username dtest) was unable to do anything except read files and create directories trying to do them to the local mountpoint except as root. I figured it would be a matter of
Code:
chown -R dtest /shares/mp3
but I was unable to do that even as root, I kept getting permission denied. When I did
Code:
ls -alt /shares/ it told me the owner was 1000 and the group was root. Dtest was already a member of the root group and I was able to
Code:
chmod -R 774
as root but I still couldn't do anything except read and create directories directly via the mountpoint. Ultimately I solved this by changing the uid of user dtest via kuser and then just chowning my home directory back to dtest. It seems like as root I should be able to change the owner of the directory. I know it's because this is a samba share, but it doesn't make any sense why root couldn't just chown it. Is there another way to change the owner of a directory, or is this set by the machine hosting the samba share?
View 3 Replies
View Related
Oct 5, 2010
I am having a few issues related to the RPM command. I think something is wrong with the database. Here is what has happen. I had open office installed, I heard about the fork and decided I would install LibreOffice . I uninstalled open office but left the shared libs. I downloaded the new beta release that is out and used the rpm files to install. In the process of installing the menu links I ran into a few conflicts related to dependencies. So I removed the rest of the open office libraries. Now if I try to launch LibreOffice I get a message saying that it can't find it. If I try and do a reinstall with the RPM files I get a message saying that it is already installed. example below:
[Code]...
View 3 Replies
View Related
Apr 27, 2010
I am desperately trying to recover two folders from a Freecom FSG 3 NAS. As far as I am aware it is running Linux 2.6 based on Snapgear. After working through the hardwares' recovery procedure a number of times, the state of the device appears to get worse and worse. So I have attempted to rescue the files by using a program called Putty to access the device over SSH.When I access the device using Putty I login as admin. The folders I need to recover are located in the home folder. Listing the contents of the directory I get...
/home $ ls -la
ls: ./.twonkymedia: Permission denied
ls: ./Sarah: Permission denied
[code]....
View 1 Replies
View Related
Aug 23, 2010
I want that in the phase of "login" and in the phase of "lock screen", if password is wrong, then Ubuntu runs my custom command.
View 3 Replies
View Related
Aug 4, 2009
I am very new to linux and just need a bit of help figuring this one out. I installed ImageMagick the first time using yum, then I used an alternative method. It's installed properly the second time and almost does what I want except that when I type 'convert' in the prompt it gives me '-bash: /usr/bin/convert: No such file or directory'
The actual location of convert is /usr/local/bin/convert How do I change it so the convert command is pointing to the right executable?
View 2 Replies
View Related
Oct 20, 2010
When I use the command df -h on one of our debian linux machines I get back that I have 0 space left on /dev/md0/. I tried to find out where all 60G of space was being used but am unable to find it. Could this reading be wrong? Also, where could this space be being used?
View 3 Replies
View Related
Sep 1, 2010
I'm running a fresh install of Ubuntu 10.4.1 on a Dell Dimension 4700 desktop.When connected to the network (jack in wall, no router), I normally navigate my intranet and the internet.But here's the issue: this particular Dell machine has an IP addresses that is radically different from all other machines connected to the same network.I have tried to edit etc/network/interfaces to force a different IP, but then I lose connectivity. I need this to follow the IP scheme of my intranet so I can set up a server that resolves by hostname. Is there anything wrong with the NIC or is this something that can be resolved via command line?
View 9 Replies
View Related
Jan 17, 2010
I set up a samba server on my Linux box for the purpose of allowing everyone - and I mean everyone - on my LAN network to be able to put files to one folder... The only issue seems to be not having write permissions to the target folder.
Question, re-stated: How do I set the permissions for an entire directory to not require anyone to have a login? I have tried many things, such as "chown -aR /data/public", but I still cannot seem to find the magic words.
View 2 Replies
View Related
Feb 24, 2011
I installed 9.04 then upgraded all the way to 10.04 and I am sticking with this version now.I just tried updating the Legacy Grub to Grub 2. My version of Grub right now is 1.98.Somthing went wrong when I doing the "upgrade-from-grub-legacy" command and I got error 15 or something to that nature. I fixed that by booting in to my live 9.04 cd and long story short, I mounted the drive to replace the grub and all worked well. I am able to boot right back up now *wipes sweat off for-head*.... HUGE accomplishment for me and I feel like a real linux geek now hahaha.I again ran...
Code:
~$sudo upgrade-from-grub-legacy
And I am prompted with this...
[code]....
View 4 Replies
View Related
Oct 26, 2010
How to solve this:
I've installed GIMP 2.7.1 (OS Slax), but it doesn't work. Clicking on icon doesn't start GIMP.
In Shell:
kdesu /usr/bin/gimp
gimp: symbol lookup error: /usr/lib/libgegl-0.1.so.0: undefined symbol: g_dgettext
I cannot run most of apps, including mono.
View 1 Replies
View Related
Jan 8, 2010
I cannot format my Transcend 4 Gb Pen Drive.. When i try to format with the following command code...
I'm not able to format it...
dmesg gives code...
View 3 Replies
View Related
Jan 19, 2010
My hardware is-
HD-80 gb
RAM- 256 mb
I cannot install ubuntu.Which form of Linux will be favorable for me?
View 7 Replies
View Related
Jun 28, 2010
I downloaded Fedora-13-i686-Live.iso from the fedora project web site, and did the instruction on how to burn it using dvd. i used nero selecting burn a CD from an image file. after doing that, i restarted my laptop to install fedora 13 choosing to start the boot at the disk dvd but it won't boot to run the installation. instead the laptop will resume booting to its previously installed OS, fedora 9.
i browse the dvd media and there are 3 folders namely EFI, isolinux, LiveOS and GPL file.
View 9 Replies
View Related
Mar 10, 2010
in My Ubuntu host,I often use samba service to open the share fold of another computer which is WinXP .But everytime When I logout or restart the Ubuntu ,The link will lost ,I have to reconnect it again, I want to know if there is some easy way to connect it always
View 2 Replies
View Related
Nov 23, 2010
I've recently configured our mail server (postfix/dovecot). Everything is running, I have a reverse DNS, MX records, A records etc.. I've added the users already.Here is the problem, whenever I test email from an email client(Outlook 2003), there's no problem. But when try sending email from the outside the mail just bounce or deferred.
View 12 Replies
View Related
Jul 21, 2011
I have a list specific list of dirs/files that need to be changed into another users name.I initially thought that this would work:chown -Rc user.name 'cat user.name1.txt' but I get chown: cannot access 'cat user.name1.txt No such file or directory
View 2 Replies
View Related