I'm using openSUSE 11.4 (x86_64) with KDE: 4.6.00 (4.6.0) "release 6"Everytime I visit a direcotorya hidden file ".directory" is created. How to disable that? Is There a possibility to disable that behaviour only for public_html directory
Actuaaly i am creating watch on one directory in which files are continuously coming.Is there any command which can give listing of all files who have come in last 24 hrs.
I've just discovered that crontab is creating a new file in the root directory every time it executes a cronjob, and it doesn't erase over the old file so there are thousands of files in the root directory, they have the same name as the script file (appended with a numeral) but are all blank.here is what one of the cronjob's looks like[URL]
I am installing openSUSE 11.2 on a laptop. After installation, reboot, auto-configuration, the screen show lines of text following "Starting SuSEconfig. The latest line is "Creating cache files for fontconfig". I don't understand why this specific operation takes too long; since almost an hour has passed. Is there a way to speed up and complete the process so that I can login and start using openSUSE? I did try hitting the spacebar and moving the mouse but nothing happens.
Is there a way to disable preload for a given process and/or a set of files? I'm having an issue with MLDonkey, which I configured to run as a service. Apparently, preload is trying to pre-load the temporary files lying under MLDonkey working directory (which are huge), and tis is causing a massive slowdown when booting
How would i go about copying files to a directory, yet skip the files that already exist in the directory, and also remove the files that are in the directory. For example:
Code:
$ls /dir1 img001.jpg img002.jpg
[code]....
Now i would like to copy from dir1 to dir2, but the contents of dir2 would be:
There are millions of files in many directories. Wherenver i try rm * or find or use xargs, they say 'argument list too long' and exit. How can i deleted files in a directory with so many files without deleting the directory itself.
I don't want the 'Download' dir in my home. I don't have it in any other computer and there is no problem. But in my Desktop, every time i reboot there is one 'Downloads' dir in my home and I remove it every time (rmdir Downloads). But when I reboot, it is there again! So what is creating my Downloads dir?. I repeat, I have another laptop with the same ubuntu version (10.04) and I don't have this problem.
I have recently installed Fedora 12 on a desktop PC and as my first experience of Linux, I am really impressed. I have now installed several packages and have reached a point where I would like to share the PC with other user (family members in the same house).My question seems so basic I am almost embarrassed to ask it but could some one explain the best way to create a local shared directory that could be used to store files accessible to everyone (e.g. music, photos, videos, documents etc.)There will be three users and as it is a family PC, they will all have full access.
Reading posts from various forums, I am little confused about what is the best way to proceed (i.e. what is Linux best practice). The simpler of the two methods is to simply make the directory using the mkdir command, followed by the chmod command to assign full access rights. Fore example if the local shared directory is called 'share'. The alternative approach assigns a group, a group administrator etc and then adds users to the group.
I've a user account in a remote machine. but it doesn't have a home directory in that machine.Is it possible to create a home directory without having root account details. If yes, how it can be done.
I've searched but I can't seem to find something that is specific to what I'm looking for. I need to create an ISO from a VIDEO_TS folder on my hard drive. How would I go about that?
I need to create a folder for every single file in a directory, possibly making the folder have the same name as the file that it will be containing. Is it possible to do via terminal?
I have heard that creating hard link to a directory is not possible however when reading the man page of "ln" the "-d/-f" option says hard link directories ( super-user only). Thus this mean the super user i.e root can create hard link to directory and not a normal user , If yes then you . Even on specifying the above options I get a operation not permitted for a super user.
I have installed openldap version 2.4.21 and configured with the help of the site [URL] and the LDAP address book is working fine. But I need to create an LDAP directory such that it will contain the user name and passwords for the users and when user is logging to any application he is authenticated from LDAP directory
e.g Users who need to browse the internet need to authenticate with username and password for access from the firewall (Juniper Netscreen) and similarly other applications like oracle ERP such that they will have only 1 username and password stored in LDAP directory and all other applications will search for the user name and password for authentication.
I'm trying to create a folder using the archive manager to install Resin (web server) in the usr/local folder but I get the error message 'error creating directory: Permission denied.' Is this the easiest way to install an app--by using the Archive Manager--and if so how do I establish the correct permissions.
I'm quite new to linux, but I've managed to grasp some basics. Now my intention here to create a virtual directory, which I resorted to creating an Image File so that I can mount it and have my folder have a dedicated storage. I will mount this image as a loop device. Well it's not much of a problem, but I would like to know whether this is suitable. Say I want to create a 25GB Image.
Is this recommended? I'm using block size as 1G which is really huge, so I was wondering, if this is actually recommended. From what I read, some said that it's only advisable to use 4096k or lower, but what I found was that these suggestions are very dated (year 2003), and it is now 2010, so I would like to know if it makes any big differences.
This may be a rookie mistake, but I created a user (new user) in Linux on a Ubuntu system and didn't actually create the home directory for this user. Now, when I log in, it says there are problems... If I delete the path home/<new user> and try to log in the system tells me I can use root as home directory but I will likely experience problems, and then it won't let me log in. What is the best way to create this directory with the appropriate permissions? Should I just create another user and delete this one?
I just bought a USB flash drive. Whenever i click it to open its contents it gives me the error " Unable to mount USB20FD " then under that it says "Error creating moint point: No such file or directory " (btw it does say moint point and not mount point, which is kind of weird.i can use the flash drive i just bought.
I need to share some files from my Ubuntu 10.10 box to others on my home network so I created a shared folder, right-clicked it and chose "Sharing Options", chose "Share This Folder" and then I was told that additional software is needed to enable sharing. I agreed and software was downloaded and installed. But when I clicked "Create Share" button and told Nautilus to automatically add permissions for others to access my folder, I was slapped with an error message saying "Failed to execute child process "testparm" (no such file or directory). So how to proceed and get sharing working again? I installed Samba afterwards via Synaptic and assigned the folder for sharing, but I don't see the special "arrows-both-ways" sign for this folder.
jump into a Linux class in college with only 3 weeks left in the course. I thought I would be able to catch on, and go figure, it didn't exactly happen that way. I was given an assignment to do, and I am so far lost it isn't even funny. I need to create a directory structure, set up file security, create a step by step instruction manual on how to copy/delete said files, and create a guide to common Linux commands. How would I create these files in root and share them with the other users? and where can I find a list of common commands and their functions?
I'm trying to setup an Apache server on my computer which will allow browsing of files in a specific directory and subdirectories, without needing any sort of authentication.
I've got the Apache2 server up and running through yast, and everything works fine as long as I try to point it to the /www/htdocs folder. However, I want to point it at another folder, which is on another partition. This partition is formatted as NTFS, if that matters at all (here's some background on some permissions issues I had with the NTFS partitions recently).
When I change the "Directory" setting in the Yast http server configuration utility to the directory on the NTFS partition I wish to use, attempting to access the server results in the following error:
Code: Access Forbidden: You don't have permission to access the requested directory. There is either no index document or the directory is read-protected. If you think this is a server error, please contact the webmaster.
Error 403 192.168.1.100 Mon Jun 13 23:43:29 2011 Apache/2.2.17 (Linux/SUSE)
Recently I mounted a larger partition into my home directory since I was running out of space, Everything went smoothly, but it caused me to wonder about something I cant figure out. While playing with the mount unmount commands when I was copying everything over... before editing my fstab.
Is there a way to access the files that existed in a directory before you mount a partition to that directory? after mount the original files are gone.unmount and they are back, Where do they go?
I'm using FC10 and I want to create a symlink to my movies directory in my home folder:
This is what I did: I created in /var/www/html ln -s /home/username/movies movies
Then in /etc/httpd/conf/httpd.conf DocumentRoot "/var/www/html" <Directory /> Options FollowSymLinks AllowOverride None </Directory>
<Directory "/var/www/html"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory>
<Directory "/home/username/movies"> Options Indexes FollowSymLinks Order allow,deny Allow from all </Directory>
Restart apache and then the test page is working.
The directory /home/username/movies has following permissions: drwxrwxrwx 2 apache apache 4096 2009-03-05 23:43 movies When trying to access my webpage at localhost/movies I get the 403 Forbidden Error. Ok then, entering: sudo -u apache ls /var/www/html > movies This works, sudo -u /var/www/html/movies returns the permission denied error. As well sudo -u /home/username/movies Is the user apache chrooted by default? SELinux is in permissive mode. What can I do?