Ubuntu :: Changed File Permissions Of FS To 644

May 10, 2011

I've made a really critical and simple mistake and now I am trying to recover my computer. I accidentally logged into root and was trying to change permissions for the current directory with "." but instead used a "/" which started changing permissions of everything from / recursively. I quickly realized the mistake I made after it started and aborted the process by pressing ctrl+C. However I know many things are still not right because, even though I tried to reboot and change the permissions back to 0755 from the recovery mode root console. I still get errors when gnome tries to start..Here is the exact error I am getting. "There is a problem with the configuration server (/usr/lib/libgconf2-4/gconf-sanity-check-2 exited with status 256". I'm pretty sure because of the way I aborted or because of the time the filesystem was running with 644 permissions, some amount of damage was done. Any way to recover it to normal? Or is there a way to recover it from the Ubuntu CD?

View 3 Replies


ADVERTISEMENT

Ubuntu Servers :: Permissions For A Log File Being Changed?

Feb 23, 2010

I have a recently setup my first linux server (hardy) and am having problems with the permissions for a log file being changed. I believe this is caused by syslogd, but am not sure how to correct it. Bacula will report it is unable to start a backup because it is unable to open the log file (/var/lib/bacula/log) "permission denied". After changing the owner from syslog to bacula, the backup will resume. However, the following day I encounter the same problem because the owner of the log has been changed back to syslog.I see where the permissions for logs are altered in sysklogd, but I am not certain how to make bacula exempt or if this is the right approach.

View 1 Replies View Related

Ubuntu :: Permissions Could Not Be Changed?

Jun 24, 2010

I recently got a T-Mobile Tap and I've been trying to connect it via USB to my laptop running Lucid.When I open up the icon that shows up on my desktop after connecting it, I can't run the setup files inside. It says: The file '/media/HUAWEI/checksetup.exe' is not marked as executable. If this was downloaded or copied form an untrusted source, it may be dangerous to run. For more details, read about the executable bit.When I try to change the permissions from ready only, I get: Sorry, could not change the permissions of"checksetup.exe": Error setting permissions: Read-only file systemCan I tried calling T-Mobile but they said they don't troubleshoot with Linux. They said it's an "older operating system".

View 2 Replies View Related

Server :: NFS Permissions Changed?

Apr 8, 2010

I have an NFS server on Windose Server 2003. I use it to back my Linux/Solaris databases up to. I mounted the NFS share on the Linux box. I was testing the permissions to it, and accidentally did a chown sybase:sybase /OLBackupOLBackup is the root directory of the NFS share. When I did the chown command, it changed the permissions on the share. Now it seems that linux is controlling the permissions. In windose I cant add users/groups. How can I remove Linux from owning the permissions. Im not sure if this is a windose issue or a linux issue, but figured I would start asking here first.

View 1 Replies View Related

Slackware :: Changed Permissions Between 13.0 And 13.37?

May 9, 2011

just be aware of this in 13.0 and previous, assigned user numbers begin at 500 by default. in 13.37, they begin at 1000. this is especially important if you have a separate drive or partition mounted as /home and you want to keep your /home data under the same user name while migrating to 13.37 (and like me are keeping a dual boot while making the transition).

View 14 Replies View Related

General :: Permissions Of The /etc/sudoers Got Changed

Sep 28, 2010

I changed the permissions of /etc/sudoers trying to make it writable using following command:

sudo chmod o+w /etc/sudoers

and now when i try to use the sudo command i am getting the following error:

/etc/sudoers is mode 0442 should be mode 0440

View 8 Replies View Related

Ubuntu :: Recursively Changed Permissions In Home Directory

May 23, 2010

I did a clean install from Ubuntu 09.04 to 10.04 and restored my files from tar.
Everything worked fine until I tried my weekly rsync backup.
The permissions seemed to be causing problems, so I recursively changed all the permissions in my home directory:

Code:
~/Documents$ sudo chmod -R 644 /home/wolf/
[sudo] password for wolf:
chmod: cannot access '/home/wolf/.gvfs': Permission denied
So now all the directories and files have read permission for everyone:

Code:
~/Documents$ ls -A
ls: cannot open directory .: Permission denied
~/Documents$ sudo ls -lA
[sudo] password for wolf:
total 80
drw-r--r-- 2 wolf wolf 4096 2010-05-22 20:45 career
drw-r--r-- 23 wolf wolf 4096 2010-05-02 17:17 computer_languages
drw-r--r-- 2 wolf wolf 4096 2009-08-09 23:29 .ecryptfs
drw-r--r-- 21 wolf wolf 4096 2010-05-02 17:23 misc
-rw-r--r-- 1 wolf wolf 27298 2010-05-23 13:01 next.odt
drw-r--r-- 3 wolf wolf 4096 2010-05-23 15:46 PC_maintenance
drw-r--r-- 5 wolf wolf 4096 2010-05-08 01:43 software_projects
Now I can't even look at my own directory:

Code:
/home$ cd /home/
/home$ ls -lA
total 20
drwx------ 2 root root 16384 2010-05-07 01:01 lost+found
drw-r--r-- 42 wolf wolf 4096 2010-05-23 15:35 wolf
/home$ cd /home/wolf
bash: cd: /home/wolf: Permission denied
/home$ sudo cd /home/wolf
[sudo] password for wolf:
sudo: cd: command not found
/home$

View 2 Replies View Related

Ubuntu Networking :: NFS Permissions Management Has Changed In Maverick 10.10 (2.6.35)

Oct 25, 2010

I recently upgraded from Lucid to Maverick, and I noticed that a new error message caused by a "cp" command call, including the hard links option. Fortunately, I kept the last Lucid kernel (2.6.32-25), so I could check the different behavior with booting successively on each kernel. Here are my configuration files:

On the server (192.168.1.2):
/etc/fstab :
UUID=... /mnt/Backup ext4 defaults,errors=remount-ro,relatime,async 0 2
/etc/exports :

[code]....

If I check permissions of /net/Backup/Folder2 from the client, I get :

owner = nobody (Create and Delete files), users (Access files), others (Access files)

cp -alR /net/Backup/Folder1/* /net/Backup/Folder2

- under kernel 2.6.32-25: no problem

- under kernel 2.6.35-22: all the subdirectories are created, but all empty; moreover, I get as many messages as number of files from the source:

"cp: cannot create the link ...: operation not allowed"

I can copy manually any file to /net/Backup/Folder2 from the client. Why the behavior has changed from kernel 2.6.32-25 to kernel 2.6.35-22 ? Should I modify the permissions or the way the mount is exported with options like "(no_)root_squash", "all_squash", or "anonuid", "anongid" ?

View 9 Replies View Related

Ubuntu :: Ipod Changed Permissions In Nautilus Not Lasting?

Nov 26, 2010

I'm using rhythmbox and a classic ipod. A couple of times I have managed to write podcasts to my ipod. I'm not sure how I did it but it doesn't last. I have tried lots of random things from forum posts. When I try to change permissions in nautilus they change back straight away. I have my name as owner and group. I have the Lynx Ubuntu OP.

View 9 Replies View Related

Ubuntu :: All Files Changed Permissions To Read Only - Wont Change Back

Feb 2, 2010

Something has changed all my file permissions to read only and when I try and change them back it wont let me. Is there something I can do i Nautilus to correct it?

It even effects the waste basket-all the stuff in there is now read only and when I delete items I get a file operations window, which comes and then goes like its deleted them, but they re still in the waste basket, doesnt show an error message like it does if I try and move any other file.

View 9 Replies View Related

Fedora Networking :: Permissions Changed To Default On Restart?

Aug 12, 2010

I wrote a C++ program that uses serial port in fedora. Since normal user has no permission to read/write to /dev/ttySx, the program doesn't work. if I changed the permissions using chmod in su, it will works for that session. When restarts the permission changed to default again. So what to do a normal user program to access /dev/ttyS0?

View 3 Replies View Related

General :: Start Up Script Permissions Automatically Changed

Jun 21, 2010

One of our client was complaining that their server was down and mysql and apache services were down. The server is Ubuntu 8.04. When we checked, the permissions of /etc/init.d/mysql and /etc/init.d/apache2 were changed to 644 from 755. How could this be possible?I need your valuable suggestions on how can i monitor whether any malicious intrusions or scripts are running.

View 2 Replies View Related

Ubuntu :: Change Permissions For File / Add These Lines Without Changing Permissions?

Oct 16, 2010

Finally I managed to install my printer/scanner drivers.The last thing I need to do is to add the following two lines to 40-libsane.rules (which is a read only file):# Brother scanners ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes".How can I change permissions for this file or add these lines without changing permissions?

View 2 Replies View Related

Ubuntu :: Accidentally Changed User Permissions And Can't Access "system" In Panel

Dec 23, 2010

I accidentally changed my user permission while setting up a new user account and am now unable to access the "system" on the panel to change things back. I've just spent hours setting everything up and downloading and hope that I don't have to go through all of that again.

View 5 Replies View Related

Ubuntu :: Permissions For My Home Directory Were Accidentally Changed From 'access Files' To 'create And Delete Files?

Nov 25, 2010

the permissions for my home directory were accidentally changed from 'access files' to 'create and delete files', and I changed them back, but ever since then I am not able to change any preferences/settings at all. power management, themes, panels, emerald, anything. my user account is supposed to be the administrator, and all the user privliges are checked. how to get control of my computer back?

View 9 Replies View Related

Ubuntu Networking :: File 'path Omyfile' Has Been Changed On The File System?

May 28, 2010

I have asked this over on Launchpad and have found bugs filed on the eclipse bug tracker but it seems to be going nowhere so I guess ill ask here.

I am using Eclipse for some development work and having saved a file, defocus the eclipse window (to test changes in a browser) when I refocus the eclipse window I get the following error...

The file 'path omyfile' has been changed on the file system.Do you want to replace the editor contents with these changes?

I have searched and searched and this seems to be a CIFS/SAMBA problem. I even found one solution suggesting that changing his mounts from cifs to smbfs fixed his problem however that would appear not to be an option for me since using smbfs in the fstab causes cifs mounts. This problem would seem to occur in Bluefish as well as some other IDE's so it is not an Eclipse issue.

---------- LINKS TO RELATED ----------
Launchpad Question
Eclipse Bug
--------------------------------------

View 2 Replies View Related

Ubuntu :: Showing File Permissions In File Roller?

Aug 23, 2011

How do I show a list column in file roller that shows permissions and ownership of files?

View 2 Replies View Related

Ubuntu Security :: Rkhunter File Properties Changed?

Sep 12, 2010

Rkhunter file properties changed

View 2 Replies View Related

Ubuntu :: File Ownership Changed - How To Revert Back

Jul 6, 2011

It seems I had some kind of intrusion and I found 6 files changed its ownership to user 1035 and group 1035, I don't know how but I need to change them back to its original owner (root) because one of them is the ls command and the other is the ifconfig how can I revert them to its original state? I cant do it with chown.

View 3 Replies View Related

Debian :: TAR - File Has Changed While Reading

Dec 17, 2010

I am using a backup system with cron + tar. Since the server is very busy, I get often the cron-email: "The file XYZ has changed while reading". This message is a bit annoying and I see it as critical point in my backup system. I believe that this file is then not in my backup. (Is that correct?) Let's imagine the hard disk dies and I have to recover the system and my personal data, and in the night the mysql-table XYZ was not in the backup, because it was in read-usage. I would then have lost this table forever. Is there any way to tell TAR, that it should force the file to be included (if in read-usage, then wait 2 seconds and try again)?

View 9 Replies View Related

General :: How To Monitor Changed File

Jul 3, 2010

How do I monitor which files have been changed after, say, I run the passwd command? (I know, depending on the options used, it changes /etc/shadow and/or /etc/passwd). But I would like to if there is any clever ways of monitoring this. This is how I do it which is a bit crude, and I have to know which directory to monitor. Before running the command, I run

Code:

for i in $(ls -A) do; md5sum $i >> /tmp/before; done

And after running the command, I run

Code:

for i in $(ls -A) do; md5sum $i >> /tmp/after; done

Then I do a diff to see if any file has been changed

Code:

diff /tmp/{before,after}

View 1 Replies View Related

Debian :: NTFS Backup - Create Ever Expanding (to 320Gb) TAR File That Will Retain All Original File Permissions

Sep 20, 2015

I want to back up an entire Linux system on a 3Tb external Western DIgital USB3 drive.

I do not want to reformat it from what it is, apparemtly NTFS.

Is there a utility that can act like a file manager like mc, that will permit me to create an ever expanding (to 320Gb) TAR file that will retain all the original file permissions. I have had nothing but disappointment with Linux backup utils with a FAT32 external drive, and I am concerned if I just try an tar the entire drive at once, with around 3 million files, I might run out of memory.

View 5 Replies View Related

General :: Cannot Change File Permissions On A Mounted File System

Apr 6, 2010

I have an ntfs partition that I wish to access as a normal user(non-root). For this I did the following. As root I created a folder /windows and did a chmod 777 -R on /windows. Then I added the following line to /etc/fstab

Code:

/dev/sda3 /windows ntfs-3g defaults,nosuid,nodev,umask=000 1 0

Now, the partition is mounted alright but the problem is that when any other user (non-root) creates a files in /windows (say by executing touch newfile) the newly created file has the owner and group set as root. The non-root user can create the file and he can also delete the file, however, he cannot change the permissions of the file and also the owner:group is always set as root:root. How do I get across this problem, i.e. how do I mount a partition, so that a non-root user can also change the permissions and ownerships of the files he creates.

View 2 Replies View Related

Ubuntu :: Cannot Login After File Owner Changed From Root To User

Mar 21, 2011

I used to use the root account for everything for more than a year then I moved to a user account for security reasons but almost all files had root as owner so I could not go 5 minutes without having to change to root and then change the owner of a file to my username to make it usable. I got fed up with this so I just changed the owner of every file on the system to my username instead of root.

command chown -R myusername * in the base directory /

Everything was fine until I restarted and the login screen became non functional and I got 2 error messages related to xsession and gnome errors. I think this is because the login screen might have its own user account and it cant access the files for the login process because it is owned by myusername. So my question is what is the user-name of the login account and what folders/files need to have their owner changed so the login process can work? I'm on 10.04 lucid.

View 6 Replies View Related

Ubuntu :: Make Emacs Reload A File When Changed On Disk?

Apr 21, 2011

I've noticed that emacs does not notice when an open file is changed on disk (unlike ,say, geany). Is there any way of making it watch for changes of files on disk?

View 1 Replies View Related

Ubuntu :: Setting File Permissions For A File?

Jan 6, 2011

I have system at work I am setting up that runs on linux, it was powered up back in september but we didn't get the details to configure until this week, unfortunatly var filled up with 100% spaced used due to a log file that keeps being written to until its intizilized, I can't just delete the file so (will not be recreated), I pulled it off and took it home and split it into a smaller file (from 740mb down to a 15mb chunk)I'm really just a linux newbie so can someone explain to me what the permissions are on the current file and then what chmod would make smaller file the same. clusternet.log is the orginal and clusternet1.log is the one i made from split. I know its read, write and execute (whats the r write after x on clusternet.log?) but I'm not sure on what it means in the position its in, the clusternet.log should have permissions only for root correct?

Code:

-rw-r--r-- 1 luke luke 16613376 2011-01-06 20:10 clusternet1.log
-rwxr----- 1 luke luke 740130816 2011-01-06 06:39 clusternet.log

View 3 Replies View Related

Fedora :: Upgrading 10 To 11 - File System Got Changed

Aug 28, 2009

i heared that in fedora 11 with new kernel version comes ext4 as default file system. when i was upgrading fedora 9 --> 10, i just changed repos in /etc/yum.repos.d. now the question, if i upgrade my system, will my file system got changed, and if it does, will my data got damaged?

View 4 Replies View Related

General :: Tool To Run A Command When File Changed?

Sep 16, 2010

Does anybody know of tool for Linux that can watch a custom subtree of the filesystem for changes, and executes a custom command when a change occurs ? Such a tool would be very useful to quickly setup automatic building or uploading of source files.

View 1 Replies View Related

General :: Check If A Website File Has Changed?

Jan 18, 2010

I have a site that I login to to check updates. It does not have RSS because users need to authenticate themselves before getting access to the page. Is there a way to write a script that can login to the page and check whether the HTML has changed and then send me an email?

View 13 Replies View Related

Security :: Fix A Source File That Had Definately Not Changed?

Jul 9, 2010

I am running a Fedora 10 Virtual Server and get have a feeling I have been hacked. I needed to fix a source file that I had definately not changed myself. It was a PHP file concerned with usernames and passwords so that made me even more suspicious. I have been investigating and found the following. If you need other information give me the command I should run and I will update, I am no expert in this area and use the server to host my website and SVN. I am the only person that has access to the server.

Code:
# lsof -u nobody
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME

[code]....

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved