Ubuntu :: Safely Change Permissions For Folder/all Subfolders & Files?

Apr 1, 2010

I just installed Karmic, but I can't copy an old user's home folder (/home/oldusername/) because everything is owned by root.I read but I'm concerned about messing up the system or the files in that old user's folder.So, how do I adjust the permissions of the files in /home/oldusername so that I can use openssh to copy them over my home network to my other computer? I have the ssh part figured out, but the files will not copy to the laptop due to permissions.

View 9 Replies


ADVERTISEMENT

General :: Change Folder Permissions Without Changing The Permissions Of The Files Within The Folder?

Aug 11, 2010

How do I change folder permissions without changing the permissions of the files within the folder?

View 6 Replies View Related

OpenSUSE :: 10.3 - Setting Permissions On Folder / Subfolders

Mar 18, 2010

I'm running OpenSuse 10.3 and I've tried to set permissions on my folder and subfolders from root:root to wwwrun:www. In the shell it shows all folders and files with the correct permissions, but in the GUI it still says root:root and so my web application can't write to it, until I manually set the subfolders permission in the GUI.

View 9 Replies View Related

General :: Copying All .jpg Or .JPG Files From A Folder And All Its Subfolders To /usr/name/pictures Folder?

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

Ubuntu :: Change Folder Icon And Apply To All Subfolders

May 11, 2011

I have a music folder that contains alot of folders for different artist, each of those folders contain various folders for different albums. The Music folder itself has got a music folder icon, but all of the subfolders have the regular folder icon, I would like all of the subfolders to have the music folder icon but I don't want to go through each folder to change the icons one at the time. Is it possible to change the folder icon and apply the change to all the subfolders and sub-subfolders? I'm on 10.10 btw

View 1 Replies View Related

Ubuntu :: Copy All Files From A Folder And Its Subfolders?

May 30, 2010

i have a folder with 250 subfolders and each one of them has (at least) one image in it (along with other stuff)how can i 1)copy all the images from those subfolders and paste them into one folder together (other than by hand, obviously)?2)optional : copy only the images of a certain size and above?

View 2 Replies View Related

Ubuntu :: Move Files From Folder/subfolders To A Different Directory?

Jan 10, 2011

I would like to know how to move all the files from a single folder and its subfolders to a single, different location in as few steps as possible. For example when I download files from one of my school's websites, the file I want is located in a deep sub-directory. So, I have to cd many times just to get to the file I want. Is there a way to recursively move all the files within a folder's subdirectories into a new location?

View 2 Replies View Related

General :: Moving Files From Folders And Subfolders To A Specific Folder?

Aug 21, 2010

I am using secure delete to remove files from a Debian Linux PC. However, secure delete does not remove folders. This has lead me to look at writing a script that would move files to a predetermined folder for deletion. My plan is as follows:I have a folder on my desktop called shredder where I move the contents of the waste bin to. The script needs to identify all files within the folders and sub folders, within the shredder folder, and move each file to the shredder folder and then delete the folder. At this point secure delete can be used with a command like shred -v -u *.*on the shredder folder.The problem I have is in creating the code to move files from the different folders and then deleting the folders. Note that the names of the files, folders and subfolders will not always be known

View 12 Replies View Related

General :: Change A String Recursively In Files Located In Folders And Subfolders?

Jul 22, 2011

lets say I have a project that have generated lots of xml files. Though all these xml files point to a location with the text name TEXT15. I want to change all the files that containts TEXT15 and change it to TEXT16. This actually works for files in a folder but not recursively in all the entire files....perl -pi -c 's/TEXT15/TEXT16/g' ./* but I have many subfolders and within this more subsub folders....i just want to do this recursively.

View 2 Replies View Related

Software :: Use Sed To Include A Text File In The Beginning Of Other Text Files Inside A Folder And Its Subfolders?

Jun 1, 2010

Can I use sed to include a text file in the beginning of other text files inside a folder and its subfolders? So it should be recursive.

View 4 Replies View Related

Ubuntu :: Cant Change Folder Permissions?

Feb 7, 2011

Im new to these forums heres my story:Windows 7 on my acer extensa 5230e became corrupted so i installed linux Ubuntu 10.04 on a 320 gb external hdd. I have installed Mixxx and am trying to create my own skins for it. But whenever i try and paste the folder into the /usr/share/mixxx/skins folder it says that I dont have permission toam an administrator... or at least thats what it says i have trie chmod a+w it but it says operation denied: Code: chmod: changing permissions of `/usr/share/mixxx/skins'

View 3 Replies View Related

Ubuntu :: Can't Change Permissions In Etc/pulse Folder?

Nov 26, 2010

I'm trying to (hopefully) fix my audio glitch.I'm trying to edit my /etc/pulse/default.pa.I tried:

Code:
sudo chmod 775 /etc/pulse
and

[code]...

View 5 Replies View Related

Debian :: Cannot Log In After Folder Permissions Change

Apr 19, 2015

I have a Debian Wheezy 7 installation. When I turn it on it boots to the log in screen normally. However when I type in my username/password and try to login the screen briefly turns off for about one second and returns to the log in screen. I cannot log in.

This started happening immediately after I changed the owner and permissions for the "/tmp" folder and all of its contained files/directories. This is the only change I made to the system before the problem began. Immediately after I made the change, I rebooted the system and that's when the problem began.

View 13 Replies View Related

General :: Change Folder Permissions On USB?

Jan 6, 2011

I am having a USB disk.I want to change the permissions of folder on it from 700 to 755 (and all subdirectories in it)ls -l showstotal 26Quote:

drwxrwxrwx 2 tkmsr tkmsr 2048 2010-02-12 04:12 HPLAUNCHER
drwx------ 7 tkmsr tkmsr 4096 1970-01-01 05:30 vol1
drwx------ 1 tkmsr tkmsr 20480 2011-01-03 17:43 vol2

[code]...

View 7 Replies View Related

Ubuntu :: Cannot Change Folder / File Permissions On Entire HDD

Apr 17, 2010

I have two drives in my computer: a 160GB and an 80GB. The 80 holds Ubuntu, the home folder, etc. The 160 is for other files. I need to change the read-write permissions on the 160, but I can't. If I do it through the GUI (right-click>permissions) it just changes back instantly. If I do it through the command line (even with sudo), it has no effect.

View 5 Replies View Related

Ubuntu Installation :: Folder Unreadable - Cannot Change Permissions

Jul 31, 2010

I've tried updating from 8 to 10 using updater and it failed. I'm currently running off a LIVE CD and want to back up my files to do a re-install. My problem is that some of my folders are showing as "unreadable", that I am "not the owner" and I cannot seem to change the permissions for them. I also cannot seem to copy them to back them up. Have I lost these folders? Is there any way to retrieve them?

View 5 Replies View Related

Ubuntu :: Need To Change Permissions For Boot Grub Folder

Aug 12, 2010

This is my 2nd time using my Ubuntu, I am using 9.10 because my laptop doesnt support 10.04 (need more RAM). So anyway I need to know a way to change it so I can edit files in there, I checked the properties and root has read only permissions how can I change this?

View 3 Replies View Related

Ubuntu :: Change Permissions Of Windows Shared Folder

Jan 31, 2011

I'm in an organization where each user has a Windows network username, and a central windows server with a folder for each user. I can access the folder using SAMBA and my (windows) network user name. I want to change the permissions (sharing settings) for my folder on this windows server - using only Ubuntu.

Had i been using windows I would simply right-click on the folder, go to permissions settings and add/modify users in the list.First of all, is it even possible to do this using Ubuntu?

View 2 Replies View Related

Ubuntu / Apple :: Change Username To One That Have Permissions For The Folder?

Feb 9, 2011

So I'm trying to put together a birthday present for my girlfriend. Here's the background. She just got back from a semester abroad in Rome. She's having a hard time getting used to living in the states again, so I want to make her a photo album with all of her pictures from Italy and the rest of Europe. Its a surprise, so I can't just get them from her. I've got her Time Machine, which has all the photos on it (I'm 'debugging' it for her, she's not so tech savvy). I've found the pictures folder, but I don't have the permissions to access it.

So the question is, I have her username and password, what do I have to do in order to read the file with all the pictures in it? I'm not a crazy stalker, in case you were wondering, I just don't know how to change my username to one that have permissions for the folder.

View 1 Replies View Related

Ubuntu Security :: Change Permissions Of Folder's Content?

Feb 22, 2011

Recently I've tried installing Calibre from the Software Centre, but it seemed to be glitching as when I press Update Source, the 'In Progress' icon shows up, but when it finishes nothing changes - the Update Source button is still Should I report this?Anyways, I've installed Calibre from their website to .calibre in Home Folder. However, the folder is 'locked' as it requires root priveleges and I can't drop files there without being the admin. I'd like to reduce 'open as root' files to minimum, so I was wondering if there is a way to change the permissions of all the content in one operation, preferably using GUI, and not the terminal?

In addition I've noticed that other folders in my Home Folder like Pictures/Wallpapers require root privileges. This is really annoying as when I 'experiment' with Ubuntu I use Live CD to make sure I don't screw up the main system. When I do I can't open some files from hard disk because of those root inconsistencies

View 5 Replies View Related

CentOS 5 :: Can't Change File/Folder Permissions?

Jul 7, 2010

I have two users: test1 and test2 When i logged in as test1, I can not change the ownership of a file to test1:test2 it says: Operation not permitted

View 2 Replies View Related

Ubuntu Servers :: How In World Can I Change Permissions Either On Drive Or Folder

Jul 10, 2011

I had an old windoz 2003 server running a few recreational web sites. I've grown tired of all the hacking attempts, FTP floods, etc. Ok.. I've grown tired of windoz period.When I set the server up, I had the operating system on one physical drive and stored all of the web files on a separate physical drive just in case I ever wanted to make some changes to the operating system.in my adventurous ways, I've dumped windoz and installed ubuntu 11, 32 bit server edition on this machine. It is running fine from what I see on the server side. The first problem I've noticed is when even attempting to navigate to localhost through the server's web browser, I get a permissions issue.

So... off to the drive where the httpd.conf file points to. This is the second physical drive. When checking permissions and attempting to change them to the correct ones for the folder, I can't change them. I've tried through the GUI and the terminal as root. Neither way will change the permissions.I've stepped back and checked the permissions on the physical drive the files are stored on. I am having the same issues with the drive itself. How in the world can I change the permissions either on the drive or the folder? Is there something I should do as far as the drive's mounting?

View 3 Replies View Related

OpenSUSE Install :: Change Folder / File Permissions?

Jul 28, 2011

I've migrated to Suse from Mandriva. I installed all my backup folders/files to my "home" folder but they have come up locked. I remember in Mandriva to change the permissions I pressed Alt F2 and then entered a command. How do I do it in Suse?

View 8 Replies View Related

OpenSUSE :: Setting Permissions For All Subfolders In Nautilus?

May 13, 2010

trying to set permissions on all subfolders by right clicking the top folder, permissions, setting the desired values, and then clicking the "Apply permissions to the enclosed files. It takes on the top Folder but not on any of the subfolders or their files.How can I set the permissions for all files and subfolders under a top level folder?

View 9 Replies View Related

General :: Group Permissions For Subfolders Only (CentOS)

Apr 19, 2010

Is there a way to allow other members of my group to access subfolders under my home directory, but not my home directory itself?I'm using CentOS 5.4

View 3 Replies View Related

General :: Linpus Lite - Change File / Folder Permissions?

Aug 19, 2010

I own an Acer Aspire One which has Linpus Lite installed. Last night I attempted to delete a couple of files only to find they are read only and that I cannot change the permissions by right clicking and changing the drop down menu from read only.

These aren't protected files or anything, they are files I've downloaded or created myself (one using the onboard web cam to test it).

I attempted to play with Terminal for a bit but as a newbie I got easily lost, not like I can fall back on command prompt knowledge from Windows!

I think it's somehow connected with the user which accesses these docs or tries to change the permissions. I also tried with an su- which meant I was using Terminal as root, however, I wasn't sure how I could then set the permissions for a particular file/folder within the file system.

View 14 Replies View Related

Ubuntu Servers :: Change File Or Folder Permissions On A Separate Internal Drive In 10.10?

Jan 23, 2011

Every time I try to change file or folder permissions on a separate internal drive in ubuntu 10.10 desktop in sudo file manager, It sets it right back to the way it was before and doesn't save the permissions I want to change it to. The files aren't critical system files that are not even existent on this hard drive.

Its on a completely separate drive, Yet aren't I suppose to be in control of what gets changed to what? Instead of a Operating System doing something just for my safety? A simple AVI files permissions being changed shouldn't hurt anything. How to I stop ubuntu 10.10 from auto setting the permissions of my folders and files? Its really starting to me off right now. I've been looking around on google for Auto reset permissions for ubuntu, Haven't found one word about it. Yet I'm just going to assume someone might know how to resolve this? Or has dealed with this before.

I'm just trying to Forcefully set my folders on my separate drive all to 777 because they are all 775 and 755 and I can only access them with Write privileges if I run the SUDO file manager which I really hate having to do every so often I'm sure you can relate to how annoying it is to have to open up terminal and type something in to open a fully priviledged file manager.

View 5 Replies View Related

Ubuntu Security :: Changing Permissions Of Files To Reflect Their New Folder?

Jan 4, 2011

I have a shared folder set up that allows all users on the computer to have access to all the music on the computer. In the folder with all the music the group 'music' has permission to add and delete files and all users are members of 'music'. This should allow all users to have complete access to these files, however, when I add files to the folder they retain their original permissions and do not take on the permissions of the folder. I could change the permissions of the files to reflect the folder every time I add a cd. But that is annoying. What I am wondering is if there is any way to make files automatically reflect the permissions on the folder they are moved into.

View 3 Replies View Related

Ubuntu :: Inherit Parent Folder Permissions When Copying Files ?

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

Programming :: Test Permissions On All Files / Folders Into A Folder Recursive?

May 16, 2010

Way to test permissions on all files/folders into a folder recursive, then if those are not user:user then do :

Code:
chown user:user thatconcernedfile

The problem with that

Code:
chown user:user -R /folder

is that it is doing changes on file permissions whihch are already ok. If you wanna maintain a specific permission on a folder this is really not good this :

Code:
while [ 1 ] ; do
chown user:user -R /folder
# /folder contains 6.0 Tb
sleep 2s
done

View 1 Replies View Related







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