Ubuntu :: Documents Owned By Root?
Apr 10, 2010
I reinstalled 9.10 yesterday and put the home folder on its own partition. Now it has my home folder as owned by me but all the files in it including Documents are owned by root. I did tell it to change ownership on enclosed files with no luck. So I can't paste my backup files into the Documents folder. I can do GKsudo nautilus but it times out every 15 minutes and I have to restart copying the 67GB of files constantly.
View 8 Replies
ADVERTISEMENT
Sep 9, 2010
I need a way to find all the files not owned by root:root on the commandline. How can this be done?
View 2 Replies
View Related
Mar 8, 2011
I have a machine which has only /opt with some decent amount of space where I can install a software. /opt belongs to root:root. The software I want to install cannot be installed as root user.
So lets say I create a directory called /opt/install1 and then chown -R install1 to belong to user1. And now I install the software under /opt/install1 with user as user1.
Is this a best practice violation? There could potentially be just /opt/install1 belong to user1 and in future everything else created under /opt belonging to root..
View 2 Replies
View Related
Jul 3, 2011
I have a ubuntu lamp server setup and working. The issue I am trying to overcome is the the /var/www directory is owned by root. I am trying to remotely upload content from my development machine using FTP. I don't know what the "right" way to setup remote ftp to the /var/www directory.I don't want to introduce serious security holes but, I do want to be able to just click publish from my dev box. A tutorial would be great if anyone knows of a good one. If not just letting me know what I am supposed to do.
View 3 Replies
View Related
May 31, 2010
I am trying to edit limits.conf, changed file permissions:
sudo chmod limits.conf -rwxrwxrwx
But got this message:
"Could not save the file /etc/security/limits.conf. You are trying to save the file on a read-only disk. Please check that you typed the location correctly and try again."
I followed these instructions:
"copy - paste this code into terminal
gedit $HOME/.gnome2/nautilus-scripts/Open as root
copy-paste this text into that file and push 'save'
for uri in $NAUTILUS_SCRIPT_SELECTED_URIS; do
gnome-sudo "gnome-open $uri" &
done
now copy-paste this code into terminal
chmod +x $HOME/.gnome2/nautilus-scripts/Open as root
Now you can right click on the file you want to edit, select 'scripts' and say 'open as root' to let you modify it". [URL] the right click worked but the file didn't open.
View 9 Replies
View Related
Jul 4, 2011
I copied a folder from /media/memory_stick into a folder /opt/openerp/server/bin/addons.
Trying to open the copied folder I discovered that it is impossible because it is owned by root.I should like to delete the copied folder.To avoid this ownership I copied the folder in /home/cristian/Downloads and I will copy it with:sudo cp -R folder_name /opt/openerp/server/bin/addonsMaybe in this way the folder will be not more owned by root.I tried already but because in the destination folder already exist one owned by root nothing is happening.
View 7 Replies
View Related
Oct 25, 2010
OS views all USB drives as owned by 'root'. My internal 40 Gig drive files appear properly owned by 'glene77is'.My primary backup is a 320 Gig with all files now owned by 'root'.Using the filemanager "Nautilus", all USB external devices must be accessed as 'usb0', 'usb1','usb2', etc.The device names such as 'Alpha', 'Beta','Cappa' are not usably recognized in the menu options.Nautilus shows their names and the usb# as menu options for browing a device directory. Nautilus will open only the usb# menu option. Then sees all files as owned by 'root'.
View 2 Replies
View Related
Nov 27, 2010
I have a folder owned by root, I can open it by changing the permissions but then I have to change them back when I'm done, I was wondering if there was a way to use the terminal to open the folder as root without changing the permission on the folder permanently? I am admin and have the sudo password if necessary.
View 7 Replies
View Related
Jun 27, 2010
I tried to create a shortcut to an app I wanted in the plasma dashboard. When I did so, I found that it was owned by root! When I looked at the permissions of the other app icons, they were owned by me, the user.Why did plasma make my newly created app launcher owned by root?I'm so used to the way KDE 3 worked. It was so much simpler. I could click anywhere on that desktop to add shortcuts and they were owned by me, not root. I don't understand why they changed this.
View 9 Replies
View Related
Jul 7, 2011
I have a usb drive that is owned by root with chmod set to -w-r-x for all othersthe system that root existed on crashed and now i'm trying toecover the files on my usbi have the root password and uuid of crashed hdd can i use a program or copy uuid to new system to recover usb?
View 1 Replies
View Related
Jan 27, 2010
I want to mount my FAT32 partition automatically on startup. It gets mounted but the problem is that all the files in the FAT32 partition are shown as owned by root. Because of that I can't paste files or write to this partition. This is my fstab file
Code:
# /etc/fstab: static file system information.
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda5 during installation
[Code]....
View 4 Replies
View Related
Apr 10, 2011
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
View 1 Replies
View Related
Jul 26, 2011
I'm trying to mount some CIFS shares (NetApp) to my Ubuntu 11.04 desktop (64-bit).I am mounting it as a domain user with admin rights and full control over the share.ter mounting it as root, all the files are owned by root and I can't modify them from my non-root user.Here is how I am mounting the share:
mount -t cifs -o domain=example,username=example-user,password=mypassword //myfiler.example.com/myshare$/mydir /mnt/myshare/
This share is a qtree under a volume with security type set to NTFS. (Although I have also tried security type = Mixed) We don't configure user-level access to shares on the filer, we create directories and lay down permissions on those from the Windows side. (Although I have tried explicitly adding my domain user to the access list for the share)
View 5 Replies
View Related
Jul 9, 2010
When I run '# sudo touch newfile' my expectation was that the file would be owned by me, not by root, as my understanding of sudo is that it is giving me, the user, root priviledges but does not actually switch the user.Do I have a fundamental misunderstanding of what sudo is about?
View 4 Replies
View Related
Oct 11, 2010
Being a system administrator i came across a statement as "Excluding temporary directories /tmp and /var/tmp, no root owned files should be in world writable directories"While the above statement may look straight forward but how would i check if there are any such directories in the distribution?
View 14 Replies
View Related
Jun 4, 2010
I recently made the migration from mbox to maildir.I use postfix, spamassassin, dovecot for imap and procmail for delivery.I made the changes for Maildir to postfix main.cf, dovecot's dovecot.conf and procmail's procmailrc.All good, working well.Just noticed though, that mail marked as spam and filtered by procmail to be put in the users ~/Maildir/.spam/new folder are owned by root. Not allowing the users to even see it (600 perms)
So postfix sends all mail to Procmail:
mailbox_command = procmail -a "$EXTENSION"
But not all mail is effected, only mail picked up by this receipe in the /etc/procmailrc:
[code]...
View 2 Replies
View Related
Jan 27, 2011
I am a linux newbie. I have a situation where I need to send a command line -X command to a screen session owned by root from a nonprivliged account. The command is executed by a shell script, which in turn is executed from a PHP script. Is there a way to make this work?
View 3 Replies
View Related
Oct 8, 2009
Yes, I know this is not a good practice, and this is only a short-term solution.I have a server with a web-file-server daemon running internally as root, so the permissions for all files it transfers/creates have a uid/gid of 0:0.This is fine for the daemon, but I would like to manage those files from another workstation - actually a few workstations on a very limited LAN subnet - through NFS. How would it be possible to have users from a certain subnet mount NFS with root read/write abilities?I have seen the anonuid/anongid options (for the /etc/exports file), but I'm not so sure this is the right way to go.
View 5 Replies
View Related
Feb 1, 2011
When i installed ubuntu. I made a seperate partition so that i could copy an ISO image onto it of an up-to-date version of ubuntu. I wanted to then boot the ISO up so i could install the version that way.I've already tried doing it through the update manager but it'll download, almost be done with installing and it freezes on me. so i figured this would be easier. However i do not know how to gain access to the other partition to copy the ISO image.
View 6 Replies
View Related
Dec 18, 2010
I can access my windows my documentsmusic by mounting my windows drive and browsing to it. I can then playwatch my movies and pics in Ubuntu.But what I really want to be able to do is re-map the Ubunbu docs folder like so:
Ubuntu Pics = Windows My Documents pics.
Ubuntu Videos = Windows My Documents Videos.
I'm not very unix savy so I've been using Ubuntu tweak PersonalDefault Folder Locations setting and browsing to my Windows folders. But it doesn't work.I have managed to make a desktop 'short cut' and that works but I'd rather set the system wide default document folders.
View 5 Replies
View Related
Apr 9, 2011
I'm trying to jail a sftp user. All I want is for my daughter-in-law to be able to download pictures of my grandson on his step-uncle's motorcycle. But I don't want her browsing around. She's not a techie, but she's smart enough to catch on how WinSCP is looking at my files. I've set up the jail using jk_init, adding ssh, sftp, bash, netutils, basicshell, jk_lsh.
The physical root of the jail is owned by root, as are all the binaries loaded by the jk_init. The user's home directory is owned recursively by the user and is writable only by the owner. The passwd and group files are in the jailed /etc and populated by the user's lines. Shell is bash, and bash is there too. The error message must be coming from some other problem that's not notifying, but what?
View 4 Replies
View Related
Dec 25, 2009
How can I change the mountpoint of my partition /media/documents to /documents.This is a partition of sdb and a fixed disk.The reason is that /media/ sometimes creates ghostdirectories while /Windows/C never does so, programmes writing/reading from this partition therfore don't work if a ghostdir_ exists.(BTW Suse is on sdb5 and sdb6. on sda is windows and used to be Ubuntu, the Suse-swap is sda5. Windows is out of use.)
View 4 Replies
View Related
Jan 13, 2009
When he saved doucuments in the opens source word processor as a MS Word document, he can't open it. Didn't had this problem until today.
View 2 Replies
View Related
Jul 15, 2010
I have just installed an SSD as a secondary hard drive and formatted as ext4. (the Ubuntu installation is on a different drive)how I would go about creating a directory on the SSD that is owned by the user 'Test user'.
View 8 Replies
View Related
Feb 7, 2011
I'm pretty sure that I have some unneeded files laying around on my system. Most of them are created with "make install" command.
To remove them, I need to get list of files which are not owned by any package. How can I do that?
There is a way in Arch Linux: [URL]
View 3 Replies
View Related
Jan 2, 2010
I have a "Digital Copy" of District 9 that came with my Blu-Ray disc. My problem is that the file is a DRM encoded .wmv so that I cannot play it back in totem on my 32-bit Karmic system. VLC plays it back as distorted noise.I know this BS is because of the files 'Digital Restrictions Management'. My Question is: What programs should be used to break DRM and re-encode the file, and HowTo?
View 3 Replies
View Related
Jan 4, 2010
I have a problem, I changed the own of all the etc folder, it was a mistake, but I can't change it again, now, I cant use "sudo" because root is not the own. When I try to use "sudo" this is the error: sudo: /etc/sudoers is owned by uid 1000, should be 0. so, the own is my user instead of the root. How can I change it again?
View 6 Replies
View Related
Mar 11, 2010
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?
View 1 Replies
View Related
Jul 15, 2010
I have just installed an SSD as a secondary hard drive and formatted as ext4. (the Ubuntu installation is on a different drive) Im very new to linux, Could someone inform me how I would go about creating a directory on the SSD that is owned by the user 'Test user'
Im sorry if this is a daft question, im just moving from windows to linux and struggling a lot.
View 3 Replies
View Related
Feb 11, 2011
I've got the following error message on my Ubuntu 10.10 Server after messing up the root permissions.
Code:
/etc/sudoers owned by gid 1001 should be 0
I've found some threads on this forum but they do relate to Ubuntu Desktop while this is Ubuntu Server. Therefor I started a new thread. Hope you don't mind. I've tried the following command:
Code:
chown root:root /usr/bin/sudo
Code:
chmod 4755 /usr/bin/sudo
The first command works, the second returns error: No permission
View 1 Replies
View Related