Ubuntu :: Copying To Protected Folder?
Nov 12, 2010
I am trying to copy a (custom XML) file to a protected folder (namely /usr/share/games/FlightGear/Protocol) for data Input/Output.I tried copying and pasting the folders and it doesn't work. I realized that it is because only root user has the permission to do modification.So, I tried using "sudo cp" to copy the file. The file was copied, but the content now becomes unreadable when I tried to open the file
View 6 Replies
ADVERTISEMENT
Jul 2, 2010
Is there a way to recreate all the folders from one directory to another without copying over the contents of the folder? I've been trying to do something like this,
Code:for i in `ls $X`; do mkdir $PATH/$i; doneUnfortunately $i is deliminated by whitespaces in the filenames and not the actual folders.
$X contains only other folders so I dont have to worry about regular files but any kind of more "advanced" solution would work.
View 1 Replies
View Related
Nov 25, 2010
I have some great background wallpapers i have downloaded to my home folder, now i want to place these images in Usr/Share/Background. How do i do that i just cannot cut and paste it there?Do i have to open up a terminal and login as root? I did that but still not working, or do i have to do all this by terminal-commands?
View 9 Replies
View Related
May 22, 2011
Im a Total begginer when it comes to Ubuntu , and i was wondering if i can make a hidden folder or a password locked folder / How To If So
View 3 Replies
View Related
Sep 10, 2009
How would i go about copying all .jpg or .JPG files from a folder and all its subfolders to my /usr/name/pictures folder? I'm guessing I'd have to use some sort of .[jJ][pP][gG] to get all the pictures from other examples i've seen, but really not sure how to use that in a recursive cp.
View 14 Replies
View Related
Jan 8, 2011
I'm not positive if this is in the correct section but I am hoping so. I am running dual-boot with Windows 7 and Ubuntu 10.10. I hunted down my files from Windows that I need for school (old papers, research, etc.) and found it under "file system" --> "host" --> "users" --> "zbollman". I can access all of my files and I'm happy now that I don't have to boot between the two constantly to get what I need. However, I tried to copy the file to my home folder, but it said I do not have enough room. I'm about 5GB short. How do I go about allocating more space so that I can copy this folder so that all of my information is easily accessible?
View 5 Replies
View Related
Nov 19, 2010
I have this project for my operating systems class and I have put together the basic flow chart to aid me in writing the program. I know how to use pipes as a buffer to hold info. I know how to create a binary semaphore. But what I dont know is this:
How to "use a delay adjustment parameter K in the critical section to adjust the speed of the display process to show that without semaphore protection the displayed contents of the buffer are randomly interleaved."
First off, I am definitely not asking anyone to give me the solution. But I do need some guidance. So I figure there will be an if statement with two options:
1. If true, use semaphore protection to enter/exit critical section
2. If false, no semaphore protection -- this is where the contents of the buffer should be interleaved.
Now does that mean that as each child process enters the non-protected critical section, it should "sleep" for a randomized time? I mean, will this allow my output to be interleaved?
So lets say my command line looks like this:
what happens to the 100? Is it randomized using rand and srand and passed as a parameter to sleep() inside the critcal section?
View 5 Replies
View Related
May 3, 2011
i will protect my folder so if someone want to copy that folder include container, he must enter right password first oh yeah i will store it in ntfs partition and backup in exsternal hardisk anywants how to do it in both of them, please share here because i already try to use permission but it's failed
View 1 Replies
View Related
Nov 20, 2010
i want to do it via graphical interface (for ease of access) but i can't write in the backgrounds folder because i don't have permissions to do so. although i made my account part of the administrators group and loged on again. so basically, i need to have full control of my machine logged on with my user, i don't care about security at all. How?
View 6 Replies
View Related
Feb 21, 2011
suppose I have a tree structure like this:
/home/mahmood/sim/a/b/file1.cpp
/home/mahmood/sim/a/b/file2.h
/home/mahmood/sim/a/c/file3.txt
/home/mahmood/sim/d/file4.txt
How can I copy all of them to /home/mahmood/sim. So that when I run "ls" in /home/mahmood/sim, I see all files:
file1.cpp
file2.h
file3.txt
file4.txt
Can 'cp' search for all file and copy them in another folder?
View 2 Replies
View Related
Jun 23, 2010
I did it on a friend's desktop and it worked a treat. All her settings, passwords etc... remained.
Is there any catch to doing this or is it that easy?
View 4 Replies
View Related
Nov 21, 2010
I'm looking for some way to search a given directory, copy its folder structure to another given directory, and copy from the original only certain files into the newly created directory.Vague, I'm sure. But here's what I'm actually looking for:My music player won't display album art without a "cover.jpg" image in each folder where the files are, but I have Rhythmbox set to only copy the top rated songs. Each file does have its cover embedded in it, but there's also a cover.jpg in each folder.
So I'd like to let Rhythmbox handle the actual song copying, and then have a script or something that I can run that will scan my onboard music directory for cover.jpg files and then place them in the appropriate folders within my music player's folders. Obviously I can't just copy my onboard music directory, or I'm getting *every* song, not just the top-rated, which defeats the purpose of syncing at all.
View 2 Replies
View Related
Jul 8, 2011
I have to work in terminal but I don't know the command of copying files from one folder to another. e.g from /share/ParaDiS.v2.3.5.1 to /home/newfolder what should I type?
View 4 Replies
View Related
Jun 6, 2011
I've ran into a pickle regarding permissions and ACL. My users has a folder called "UVdokumenter", in wich they want to put documents up for sharing and editing. Everyone needs to be able to edit the files in that folder, so i set the ACL to this:
Code:
# file: UVdokumenter/
# owner: fleten
[code]....
View 4 Replies
View Related
Mar 28, 2011
I do have an Ubuntu Headless server which is running Samba on it. My mp3 file collection resides on that server on is being share.
So far, no problems connecting to that drive and writing from my Windows box on that share. But if I use my main laptop, which runs Ubuntu Lucid and download an mp3 song from Amazon, the moment I move that to the share, I got permissions problems from the Windows machine. This is clearly a permission issue with group and others; the song is being created on the share without read and write permissions to others or the samba group I created.
My question is. How can I make this process simple or automatic, when moving songs to the share? I don't want to go there everytime and run ...
Code:
Which was basically how I reset or fixed the problem.
I've read about umask, but not sure if that applies here or not, because I'm not creating the file but moving it.
View 5 Replies
View Related
Dec 22, 2010
I've some virtual desktop. Iǘe some folder views in one on the desktops wich i would like to appear on the others, is there a way to copy them
View 3 Replies
View Related
Jul 4, 2011
The problem is i have to copy folders from network into the RHEL server. When i am copying i can copy the folders and documents which do not have a sub folder. But the folders with subfolders is not getting copied. How should i do it?
View 6 Replies
View Related
Nov 19, 2010
i want to copy the latest 10 files from one holder to another. All the files start with the number 2 and this is what i have so far:
lt -lt 2* | head -10
So i want to copy that output of 10 files to another folder
View 5 Replies
View Related
Dec 22, 2010
I want to copy everything in templates/blue to the folder code/
However: cp -r 'templates/blue' 'code'
Creates a folder called blue inside code. I tried cp -r 'templates/blue/*' 'code', but that didn't do anything.
View 3 Replies
View Related
Jun 10, 2010
I'm using fedora 13 to connect to my server's share folder(windows server 2003) and i found that i can create folder,create file, access and open or delete the file in the window share folder, but i can't save or replace the file in the share folder. the error message is like below...there are error copying file into smb://path/folderShow more detail:
Invalid argumenti also have attach the pictureby the way....i had disable the firewall and selinux already....but still can't save the file into the window share folder.previously i use fedora 11 and all is ok with no problem, but the fedora13 got this problem, please tell me what cause this happen?
View 2 Replies
View Related
Mar 24, 2016
This my scenery:
1 pc windows 7.
1 pc linux debian jessie.
From jessie, mount a share folder in windows 7, in this way: mount -t cifs //windows7/sharefolder /mnt/windows7 -o user=pychi,password=mypass,uid=pychi,gid=pychi
And work fine, the user pychi and root, copy to windows share folder perfect and fast, but the big problem is:
when i copy a big folder, example 40 gb, after 30% or similar, stop the copy, and this is a list of different errors:
- It's not possible change file proprietary on destiny.
- not enough space
- can't fix attributes, date, time, proprietary, group.
View 0 Replies
View Related
Jan 17, 2010
ive tried my hand and failed. My friend was using my computer nad he didnt safely remove his USB MP3 and now it is write protected. Ive tried windows diskpart (nothing), ive tried fsck ("disk maybe in use?"), i tried to format(write protected)ive tried otehr USB slots and other computers. This has happened to me sooo many times and i can never find a damn thing about it, can some one tell me how to fix this??? There has to be a simple fix as it is such a simple issue, an issue any one who has used windows for 90% of their computing history could make
View 5 Replies
View Related
Sep 22, 2010
I would like to make a copy protected DVD for my security purpose.
View 3 Replies
View Related
Jul 23, 2011
I just purchased an AirLink101 AR670W wireless router and it works just fine, states on the box that it works for all Microsoft Windows, Mac and Linux, but cannot get the CD to work, it comes up with a box that states cannot find the path in Archive manager. Without this cd I cannot use the software to put on WPS wifi protected set up, or the Nat+Spi firewall.I checked the manufacturers website and all it states is how tose the software in MS Windows. I have the latest version of Ubuntu which I think is 11.04
View 3 Replies
View Related
Mar 29, 2010
i have 2 users on my login window.one of them is password protected, the other is just a single click to login.
1) how can i get the password protected user to disappear but show up under certain circumstances. like, some soft of hidden key combination or the like?
Getting this done isint as important as the second part though
2) when a user logs in, what happens? What file gets executed to start the login processes? I want to know because i would like to make one of the users a guest account that removes all changes upon logoff.
View 2 Replies
View Related
May 24, 2011
I want to listen to my iPod Touch 4g using Banshee, connecting is not a problem, my problem is that all the songs are protected so when one song is done it just stays there idle it doesn't play any other songs. Is there a way to unprotect them so I can listen to them w/o worrying about it turning idle?
View 8 Replies
View Related
Jul 23, 2011
i want to make pen drive as write protected for ubuntu and windows.....how to do that??? and if i want to write on it then how to make remove write protection..
View 5 Replies
View Related
Jul 28, 2011
give some direction on how to create a password protected page that contains a calander so I can add it to a website I'm updating. Just needs a password so the administrator can add events and dates
View 2 Replies
View Related
Mar 27, 2010
I switched from Windows XP to Ubuntu, I zipped a large number of important files, giving them a CIA-grade password. Is there a WinZip clone available for Ubuntu that will enable me to open those password-protected files? Or can I only do the unzipping on another Windows machine?
View 1 Replies
View Related
Nov 18, 2010
I have a USB stick of 8GB with two partition. Can I make one partition write protected? How?
View 2 Replies
View Related