I had a minor disaster and lost a lot of data. I used PhotoRec to see what it could recover, it saved them to my home directory. 488 folders I cant do anything with as I don't have permission?? I set up root and gave myself admin power but still cant delete them. If I log in as root, where can I find my home folder so I can delete the majority of these folders. Most unfortunately have nothing of value in them.
just a general weirdness, but some folders that are in my /home folder don't show up. if i check "show hidden folders", they still don't show up. for all terms and purposes, they are simply not there. however, if i search for them through the search tool, or beagle, they show up as being in my /home folder. so, anyone have any idea how this happened, or how i can remedy this?
Actually, Nautilus allows two instances of the same folder, or two folders with the same name in the same directory, as long as one is hidden (with the .prefix) and the other is shown. It happens that, if during a download (through a download manager or a torrent client) the user adds the . prefix to the download folder, another will be automatically created by the application (let's say Transmission for example) and the download would continue to that new folder. If any renaming happens (or if the original folder is restored), the download will resume to the folder with whichever initial name. Eventually, the user will be left with an unusable/corrupt complete download.
If someone manually partitions their home and root drives and overtime they end up with a lot of dot folders (.burgerspace for example) in their home directory. Is there a quick way to get rid of all the dot folders whose program is no longer installed? For example if I completely removed BurgerSpace in Synaptic, the .burgerspace folder would remain.
I recently moved to a new machine, and I copied my entire home folder across. This included lots of hidden (starting with '.') folders, and in many cases they are config folders for packages which I have not installed on the new machine. They are taking up space, so I would like to delete them, but to go through manually and figure out which ones I need would be very laborious. Is there a way to find, and perhaps delete, config folders for packages that are not installed?
Nautilis is very good at hiding or showing 'hidden' files and folders (names starting with .) but using any other program to save or open a file, I have to scroll through reams of hidden to my storage folders. Is there a way to make the save and open dialogs 'hide' the 'hidden' files? Is it different for different programs?
I've set up a ubuntu server at home with the intention of sharing files with windows clients, so I've installed samba. I have no security issues so I've allowed public access to the shares and I can access them fine from all windows machines. I also need to preserve the dos attributes for files and folders using 'map hidden', 'map system', 'map archive' which works great for files but not for folders. I've got a number of folders from my windows box which I would like to keep hidden (for tidiness more than anything) but when I transfer them to the samba share, they become visible again and I can seem to control their visibility at all from windows or from ubuntu. Do I take it from this that samba can only manage to maintain dos flags on files and not on directories?
This is the relevant part of the samba.conf file Code:
I am using evolution for my email client, and it shows me hidden files and folders in the folder tree. Basically, my email folder is in a unix folder on a system, and that system logs me into my folder when I try using evolution. The downside is that files like .bashrc, .bash_profile and other weird stuff end up in the foldertree view
See how the tree would show bashrc and .lynxrc?The folder "documents" shouldn't be showing either.Yeah, that's really annoying. It showing the contents of the $HOME folder that I login to.In thunderbird those things wouldn't show.It must be evolution specific.Anyone have an idea how to fix this issue?
is it possible some badware file were hidden and couldn't be observed in folders or removeable devices..?and how could we hidden file (like windows)..?
I have 2 users and I would like to copy all the files and folders in one home dir to another.... sounds simple, til i got started. Ive tried
Code:
sudo cp -nRv /home/user1/* /home/user2 but that didnt copy the .* folders. Im after the firefox and thunderbird folders mainly, but all of them is OK too.
im talking about the .adobe, .amsn ..........
How can I copy the .* folders from one user home folder to another and then give the correct permissions to the new user.
I found that if any usual user is logged into a NDS-tree, then _local_ root has full access to user's network shares, including the user's home directory located on remote Netware-server. Is it by design or have I missed something? Nevertheless in windows local admin has no access to network resources mounted of any other user. If you runas shell (as admin) then admin in principle can't "see" network shares which were mounted (connected) by other users - they are accessible ("visible") per session.
I have lately been converting all my Ubuntu installs to Debian. Kind of like a revival meeting. Basically I am wiping the ~/.whatever files from the /home partition and saving any that might be handy later. Save any files from the / partition that I might want something from (/var/cache/apt/archives for packages installed, /usr/share/backgrounds and so forth). The last one I am working on is a little different. It is the first install (successful) install I ever did, Ubuntu 8.04, and it is ext3 on one partition. I did the above things as on the others but it was all on one partition. Fired up my netinstall disk for squeeze and installed on 2 partitions. One new one for / ext4 and the old partition not formatted, mounted as /home on ext3.
Did a base install with only the system utilities added by the taskel business at the end of install (like always). Rebooted to that install. Every thing seems to work at the basic level. My passwords worked, both for the text user login and then the root password when I ran su so that I could purge nfs-common (it has given me problems on every install for some reason). Came back here to my usual Debian testing install, fired up boinc and then the chroot environment for the new convert. Installed gnome-desktop-environment and some other things, all from a list that I have used before in just this manner.
Go back to boot to the new one, every thing rolls fine, get the GDM3 login, enter password. "Can't access ICEauthorization". Have to Ctrl+Alt+b out. Back here I check the /home/tom directory for that install and hit Ctrl+H and there are no hidden files. Run "dpkg-reconfigure -a" to no effect. Try adding my user again and that, of coarse dose not work because the user already exists. One other thing is that if I boot to recovery it does show the message to login or hit Ctrl+D but does not stop with a prompt. Shows a couple other things and stops. Ctrl+Alt+B to get out once and had to unplug once.
is there anyway i can execute an application Hidden from the user?i used to do WinExec(Path, SW_HIDE) under windows, and now i do fork() + execv() but i dunno where to specifiy any values
Last time,I changed the icon for the ding-dictionary,it used the gear-wheel symbol before. The I saw,that the hidden directories also used the new icon,and now they are all gone Did install the old 256.53-NVIDIA-driver last night,but that should not be the reason ?
I want to add my daughter as a user and give her full permissions to all the same folders and files that I use. I have given her permission to folders and their sub folders however she doesn't have rwx on the individual files within the folders. What is the command line to set this up?
Also with the command;
Code: chown -R root:root files
what is the -R for and when do I need or not need it?
I've setup a Moodle server on 9.10 server, and have been able to share user folders back to the windoze machines on the home net. What I'd like to do is share the Moodle main folder (and descendents) likewise. The problem is that it's owned by root. For ther user folders, as long as the owning user was logged in they were able to mark the folder as shared and everything worked very smoothly. When I try to mark the moodle folder as shared, no suprise I get a permission error. Is there a way of doing a "sudo su" from the GUI desktop to allow this to happen? Or do I have to set up the share from a command line (after having done a sudo su)? Can anyone give me the magic commands needed to do such?
Here is what I want to do: have procmail get my mail from all of the different mail servers, and then put them in my inbox folder (I'm able to do all of this), but also have my emails sorted by domain into subfolders.So for example, procmail downloads my email, puts it into the gmail folder which is a subfolder of my inbox folder.I know how to get all of my email into the inbox folder - but not into a specific subfolder.
I'm using the IDE Netbeans (text editor) on my /home/michael Ubuntu account. I'm trying to open a file with Netbeans that's owned by root, I can't do this as I expected. So is there a way to run NetBeans as root, or is there a way to give netbeans permission to open/save files owned by root
I want to know how much damage a user can do on my system if he decides to delete everything (or write to in case of corruption).What command or script might i use to check this?
I am running Ubuntu 10.04 with current updates. I installed MS Office 2007 suite using WINE - the other users are not comfortable with OpenOffice. There are no issues with the installation, but it is in my user home path so it doesn't appear in the WINE config when I log in as another user. Should I start over with a generic user account and re-install Office/ WINE under that user?
So, I wanted a master ftp user that could access all the folders for all the users. I did this by creating a second root user. I'm aware of all the security considerations, and if there's a better way to do this than creating a root user I'd really like to know it. That said, my issue is that my new root user is still unable in FTP to access folders owned by other users that aren't world readable. Note that this is ONLY when logging in via ftp. If I login through SSH I can access all folders without problem and without the need to sudo. So this is a true root user. Does anyone have an idea how I can fix the proftpd configuration to allow my root user access to ALL folders no matter the owner?
Not sure if this i the right forum, please let me know if I need to post elsewhere. First, here are my system specs:
HP DV 2808 250 gig SATA drive 4 gig DDR Nvidia 7150 mobile Windows 7 Fedora 12
I have my HP DV2000 laptop configured to dual boot Win 7 and Fedora. What I would like to do is mount the Windows folders, (Documents, Music, etc.) automatically in my Fedora home folders. I have done/tried the following:
I need 2 Linux users to share a folder. Within this folder, users should always be able to create files and sub-folders and write into any sub-folder (whether they own it or not). However, they should only be able to edit the files they actually own.
Being new to Linux, i've just about got used to the Debian setup procedure now, but had a quick question on the default ownership of files and folders. On my default Debian installation, almost all the folders and files are owned by root:root. Is this the correct advised configuration or should the folders and files be owned by a user without root permissions - eg user:user?