General :: Make A Script To Redo A Chmod On A Folder Every 15min?

Nov 2, 2010

i was trying to make a script to redo a chmod on a folder every 15min. by using crontab (*/15 * * * * /(link to script.sh)

now i didn't know much about the use of the scrips so i just write in the command i would in terminal chmod -R 664 /data/

i try to run the script in terminal and now i can't see the files in that folder. but acording to the folder properties, i am still using the disc space where the data use to be, so the data in the folder doesn't seem to be deleted.

the main focus i want is how to get the data back. scripting and others can come later.

how can i get to see my data again?

View 6 Replies


ADVERTISEMENT

General :: Keep Chmod On Folder / Sub-folder And Files?

Nov 3, 2010

I got a folder that I transfer stuff to all the time. the folder is in chmod 775 but when i upload folders and files, they are given chmod 700, but i want it chmod 775 everytime i upload something. so far i have logged in to my linux computer and did a chmod -R 775 to the folder every time i uploaded something to it. is there a function somewhere to make it 775 everytime i upload or can i have something run a script, so i don't have to go in and write it everytime i upload something?

View 2 Replies View Related

Red Hat / Fedora :: Chmod - Give A Mounted Folder /mnt/folder Access

Oct 28, 2010

I want to give a mounted folder /mnt/folder access so that 'root and the group test have read write access' and all other users have read access I understand most of the chmod command, the users groups world etc but where in the 'command' do you specify which 'group' or 'user' you are giving the read / write access to? in all the tutorials i've seen no where do you specify the actual group or user.

View 3 Replies View Related

General :: Chmod Make Any File Executable?

Feb 23, 2011

can chmod make any file executable?

View 4 Replies View Related

General :: Accidentally Did A 'chmod +x Foo' When Meant To Do A 'chmod A+r Foo'?

Jul 17, 2010

I accidentally did a 'chmod +x foo' when i meant to do a 'chmod a+r foo'.

-rw-r--r-- 1 casper trad 53 Jul 17 22:41 filegore
-rw-r--r-- 1 casper trad 13 Jul 17 22:41 filelemme
-rw-r--r-- 1 casper trad 24 Jul 17 22:41 nix

[code]....

View 1 Replies View Related

General :: How To Redo Dual Boot OS

Oct 24, 2010

I have an OSS 11.3/WinXPPro dual boot system. Unfortunately, Windows is a mess because of a botched restoration. I guess I need to start again from scratch. I assume if I attempt to reinstall Windoze that the whole dual boot system is going to get botched up anyway.I would like to know what would be the best approach since I am going to start by installing Windoze to the HD. Here is a readout of what I currently have from gparted:

Partition / File Sys / Mount Point / Flags
/dev/sda1 ntfs /media/sda1
/dev/sda2 extended boot,lba

[code]...

View 9 Replies View Related

General :: How To Make Public Folder Within Private Folder?

Sep 21, 2010

My Linux username is "virchanza" and my group is "virchanza".How do I make a publicly-accessible folder within my private home folder?

View 3 Replies View Related

General :: Partition Table - Redo Entire Reinstall?

Apr 3, 2010

I am trying to install Gentoo. Currently I have windows 7 on my primary Hard Drive.I decided to add in a second HDD that I got for free and use linux on that.I got through my entire install and at the end I accidently wrote grub to my second hard drive.When I rebooted it went straight to windows.So I have some questions. When installing to the secondary HDD does my boot partition and swap need to be on sda? or can they reside on sdb?Also I tried to re-issue the grub-install command and it said bash: command not found. How can I get grub to re-install? I tried to emerge it and same issue no command found.Do I need to redo the entire reinstall?My last question is If I have more then enough HDD space how much is too much for linux? Most people say 30 GB is all you need from what I have read but I assume 160 GB is going to go to waste?

View 3 Replies View Related

General :: Installing .gz File..: "make: Error 127 Chmod 755 "?

Oct 10, 2010

So I am new to linux and computing in general:I am installing curphoo ( a yahoo chat client). The README file contains the following text:

Code:
You need a Python 2.4 series interpretter starting with Curphoo 0.4.0.
Starting with 0.4.0, Curphoo uses a purely Python implementation of

[code]....

View 14 Replies View Related

Ubuntu Servers :: Add Files And Make Chmod A Little Easier

Sep 13, 2010

I have set up a home server with ubuntu desktop since im new to this and need the gui. I have no problems with the lamp package or setting that up. My question is, can you setup a ftp server and then connect to it from a windows pc on the same network with a client like core ftp? I want to do this to add files and make chmod a little easier if possible.

View 4 Replies View Related

General :: Make A Shortcut To A Folder?

Dec 10, 2010

i have been running windows from ME through to Windows 7 over the years. and i must admit that because of all the flaws with the earlier versions and those wonderful little viruses that seem to show up even though your teenagers swear they didn't do anything ,have made me somewhat skilled at formatting and reinstalling the OS to the point where i have done it for several other ppl to help them out. I rather enjoy doing it actually.

and i have been a big fan of lets just call it "open source" windows software. now this ubuntu thing seems to have taken some of the fun away..

i ran the cd version of 10.10 and really liked what i saw so i installed it alongside my windows 7. naturally as luck would have it something went astray and i can no longer boot to win7. not a big deal. i was going to format and reinstall anyways. ha ha.

i have been reading through the forum learning what i can but now my question

i still have a machine running windows on my home network.

what i would like to do is make a shortcut to a folder on it from my ubuntu desktop. i do have full access to the machine and the folder , i would just like a shortcut .

View 8 Replies View Related

Ubuntu :: Made An Error With Chmod - Create User But Don't Allow To See The Other User's Home Folder

Jan 18, 2010

I wanted to create an user but don't allow it to see the other user's home folder so I made chmod 0750 /home/folder and it worked fine so I went ahead and decided to completely forbid access to the root folder and I had the "great" idea to make chmod 0750 /, and now I'm having problems with wine and other applications, in example I used to have a folder in this address 209.239.114.51/mmgr but now it's giving me errors and if I try to run some applications I got error "There was an error creating the child process for this terminal"

View 9 Replies View Related

General :: Make Ftp-access To One Folder On Machine?

Feb 16, 2010

How make ftp-access to one folder on my machine?I have Linux Ubuntu 9.04 (or .10).And what address string would be for this?

View 2 Replies View Related

Ubuntu Servers :: VPN Shared Folder / Make A Folder?

Aug 31, 2010

I am attempting to make a shared folder for people that VPN into the network. This folder needs to be accessible to windows and mac machines. So far I have the VPN through ppptd working. I just don't know how to make a folder. I feel like this should be fairly easy. I am using Lucid Lynx server edition.

View 1 Replies View Related

General :: Make A Shared Folder For Usage In Virtualbox?

Jul 16, 2011

I have a similar question: How to make a share folder of virtualbox if I have installed linux Ubuntu 10.10 in virtualbox machine virtualbox is my guest machine and Linux Mint is my host machine. I have installed VirtualBox OSE in Linux Mint and I have installed Windows XP/7, made a sharing folder from guest machine Windows XP/7. My host machine is Linux Mint/Ubuntu, I mean it is on my PC. How to make a share folder in virtual machine linux ubuntu 10.10 LTS in virtualbox OSE to host machine Linux Mint 11 Katya?

View 2 Replies View Related

Fedora Hardware :: BT Mouse Does Not Awake After 15min?

Jun 23, 2010

I have MS BT notebook mouse 5000 which connects and works fine with my FC13 till the mouse goes to sleep after 10-15min. Then it does not reconnects/awakes. Using kbluetooth, I press 'connect', it shows 'connected' and then in 1-2s disconnected again.No other action, except removing the mouse from the list and repairing from the beginning I found in the net this problem some 2 years ago was corrected and was working

View 1 Replies View Related

Ubuntu :: Synaptic Installation Is Stuck At About 75% For 15min?

Jun 29, 2010

I am trying to install btnx daemon and it has been stuck at about 75% for at least 15min.

How do "undo" and start again?

View 1 Replies View Related

General :: How Can I Make Debian Encrypt And Decrypt My Home Folder

Jul 25, 2010

How can I make Debian encrypt and decrypt my home folder when I log in/out like Ubuntu does?

View 1 Replies View Related

General :: Make Ubuntu Ask For Password When Trying To Access A Folder, Picture?

Nov 7, 2010

I've had it for about 2 months and I know some of the complicated things. I was wondering how I would make Ubuntu 10.10 ask for the root password when ever looking at a folder, picture, mp3 file, etc. Is this possible

View 3 Replies View Related

Programming :: Make A New Folder For Each File In A Particular Folder

Mar 28, 2011

I been using linux for a while, but I havent had the time to really learn it. Something Id like to get more familiar with is bash so here is a simple example of something I would like to do:

I have a directory full of files. For each file in the directory create a new subdirectory with each files name.

I tried this:

#im already in this directory
aaa=./*
for a in $aaa
do mkdir $a
done

One of the problems is that there are spaces () and - in the filenames so I get many subfolders with names like "-" which i don't want.

I tried stuff like:
aaa=./*
for a in $aaa
do mkdir "'"$a"'"
done

This of course also did not work.

Additional I tried just creating a folder with the name of one of the files and I got this:

mkdir: cannot create directory `(audio) - R56339.EXE': File exists
Well yeah a file exsists with that name, but I want to create a folder- why is there a conflict?

Just to be clear here are the contents of this folder:
~/Desktop/LAB/Media/Drivers - (Image Deployment)/Optiplex_GX260/XP> ls
(audio) - R56339.EXE (NIC-Onboard-Intel) - R54402.EXE
(Modem-datafax-V92) - R54403.EXE OEM_Applications

[Code].....

View 1 Replies View Related

General :: Can't Make New Folder Or Copy Paste In Newly Created Partition?

Mar 17, 2011

I just maked an ext4 partition by the help of gparted. Ubuntu is my only OS no dual boot. Using Ubuntu Maverick. The problem is partition must be open as root to do any work else it wont even allow me to open file,create folder,cut copy paste or anything.

View 9 Replies View Related

General :: Could Not Make Folder /home/theif519/.local/share/Trash

Jun 5, 2011

After removing GDM, XFCE4, and the crap-load of dependencies that came with it, something must have gone wrong. I can not place items nor delete items any more. How do I fix this problem of mine? I'm using KDE at the moment.

Code:

Could not make folder /home/theif519/.local/share/Trash

Deletion of files is necessary. I have installed libtrash hoping it'd work, but it didn't, I even did chmod 755 like it suggested I do. What do I do?

View 14 Replies View Related

General :: Make A Recovery Partition Windows Like Of Root Folder[ubuntu]?

Jan 1, 2011

I want to make it now because it is still under the size of a dvd 3.7GB and i want to put it safe on a dvd to restore fast and not have to customize anything in case of a disaster , like me running dd again )

View 14 Replies View Related

Ubuntu Installation :: How To Redo Dist-upgrade

May 1, 2010

How do I redo a dist-upgrade? Looks like I broke something during upgrade and now I don't want to restart until I forced the upgrade routine to run a second time.

View 2 Replies View Related

Ubuntu :: Excessive (15min+) Boot Time Caused By Dmraid?

Jan 3, 2010

I have a truecrypt partition on an nvidia fakeraid raid0.ore there is no data recognizeable to ubuntu's kernel on startup and I think it is causing a big slowdown for me every time I boot up, which takes over ten minutes every time. Attached are bootchart results.What I would like to do is know how to remove dmraid from the startup process. I can't find any scripts in /etc/rc*.d and all of the information I can find on these forums is about how to enable dmraid on boot, not disable it.

Manually using dmraid takes nearly no time at all, which is what I did before this kernel upgrade since ubuntu didn't put dmraid in the startup process. I can't see why it takes dmraid ten minutes to detect raid devices now! The only clue I can see is that in the startup process with the splash screen disabled it talks about examining inodes on both drives in the array and then goes on to spit out stuff about raid 0, raid1, raid2, raid3, raid4 and on and on so it seems like it is loading raid arrays that don't exist and never have.If any bootchart gurus have any advice, please feel free to throw me a bone, I am in fear of restarting!edit: for some reason ubuntuforums shrank my images so that they are unreadable by anybody except those with a large projector.

View 1 Replies View Related

Ubuntu Installation :: System Directories On Separate Partitions - Redo All From Scratch

Feb 23, 2010

I have a netbook with limited storage. 8GB internal and a 16GB SD card. Right now I have Ubuntu installed on the 8GB internal storage with a few directories mounted on the 16GB SD card. (/usr and /usr/local). This has worked out fairly well for me as having the entire installation on just the 8GB drive was too limiting. When I tried this I didn't know how big to make the partitions I was mounting in. These partitions are 7.06GB for the root (on internal storage) 2.8GB for /usr/local and another 2.8GB for /usr (both 2.8GB partitions are on the 16GB SD with the extra space being media storage for me). It seems I didn't make these partitions big enough because I can no longer perform updates. I'd like to redo all of this from scratch. how would you recommend I partition this next time around? Do I need individual partitions for the separate mount points that aren't root? Are those the directories I should be mounting on the SD card?

View 1 Replies View Related

General :: Parameters To Be Used With Chmod?

Jan 12, 2011

How to use CHMOD in linux? When I try to delete a file/folder, permission is denied. What exact params must I give for chmod here? This is what I need to do. Execute a command ./build.mips , but I get permission denied error.

kirti@sgf:/disk/go$./build.mips
-bash: ./build.mips: Permission denied

View 3 Replies View Related

General :: Get Permission By Chmod?

Apr 5, 2011

how to get permission by chmod

View 8 Replies View Related

General :: File Permissions Not Set Through Chmod?

Jan 4, 2011

I had created a file under a directory & set the permissions through chmod command but when I create another file under this directory, I get the default permissions. Is this due to umask or can I set the file permissions through chmod under a directory.

View 5 Replies View Related

General :: Use Chmod To Change The File Permission?

Apr 24, 2011

If I am not the file' owner or root, can I use chmod to change the file permission?

Assume I have group/write access to the file, e.g. 775

View 2 Replies View Related







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