Ubuntu :: Change Owner From Root On NTFS Filesystem?
Feb 4, 2011
I use a mounted NTFS filesystem as my main data storage drive. I then symlink all my Windows folders (Documents, Pictures, etc.) into my Ubuntu home folder. Works great, because it means I can share files between Windows and Ubuntu hassle-free. However, any file created on or saved to the NTFS partition automatically has its owner set as "root". Is it possible to set the default owner to me (aaron)? Or does it have to be root on NTFS?
I do really like Ubuntu. Still working on getting my way around and finding things but overall I think its great!But I have a problem. I used my friends removable drive to watch a movie on my laptop, and when he put it back in his it doesn't work.He uses Windows 7. He has alot of stuff on his drive that we would rather not reformat, so Im here asking you fantastic people for help.So he had it formatted to NTFS and now its RAW..I have no idea how. It won't work on either my desktop (XP) or his laptop (7) but it works fine on my UBUNTU
I am a linux semi-noob who just got the idea that it would be fun to play with Arch Linux.I was dual-booting Windows and OpenSuSE, and I installed Arch by shrinking the Windows partition and putting a new logical partition in between the windows partition and the swap partition I already have.Unfortunately, opensuse still thinks that its root filesystem is on /dev/sda7 so it fails to boot b/c it is looking at an ntfs filesystem that I used for document sharing.If someone has a solution, that will save me from having to reinstall opensuse.
When I installed OpenSuse 11.2 it mounted I configured to mount all of my windows/NTFS partition. However, one problem is that only root can write to it. I was trying to change it to '777' permission. However, as root I can't change permission. chmod doesn't work and neither does using nautilus (as root) work.I even tried unmounting it and then doing a chmod. That didn't work either.
When I installed Ubuntu, I was asked to enter a user name and password. I chose one that would be a sort of "administrator alias" and gave it a strong password. This is my "su" name and password. That works fine for most things, such as installing software, etc.. Every so often, however, something comes up that can only be accessed by "root" and that is not me, even logged in with my "administrator alias" and password. This happened when I inserted a USB flash drive and tried to copy some files to it that I wished to transfer from my desktop my laptop. The only way I could do this was to format the flash drive. and then add my files to it.
This morning I inserted the flash drive and tried to add another file to it, using "copy" and "paste". Again I got "permission denied" and the owner of the flash drive, seen as "usb0", was again "root", and I could not change its permissions, because I am not "root". It also says the device is not listed in etc/fstab. I have read the Ubuntu paper on mounting USB drives, but I'm not sure that applies here. The drive seems to be mounted, but with the wrong owner.
This problem has also occurred with some software when I tried installing it. I usually give up and don't install it. This flash drive problem, however, is driving me crazy. I need to transfer those files. Is there something I'm missing? Despite installing and upgrading Ubuntu on 2 machines, I'm still pretty much a newbie, and if it involves using the terminal, I need step-by-step instructions,
When I try to boot to OpenSUSE I get the following error during boot-up: unknown filesystem type 'reiserfs' could not mount root filesystem - exiting to /bin/sh$
This only started happening quite recently - before this I could boot to Linux quite happily.
How do I change the owner of a folder to Everyone?
In Windows, I can just right click folder > Properties > Security > Edit... > Add... > Advanced... > Find Now > Select "Everyone" > OK > OK > Set Everyone permissions > OK > OK. ^ See, so easy!
Every time I login or restart, I have to launch these commands:
Code:
I need to access the /var/spool/cups/ spool folder, but having to re-do that is so annoying.
I cannot write files to an ext4 partition I created unless using gksu nautilus, so I tried Code: sudo chown my_user /dev/sda3 but the owner is still reported in the properties to be root. /dev/sda3 is the path I see in gparted.
I used to use the root account for everything for more than a year then I moved to a user account for security reasons but almost all files had root as owner so I could not go 5 minutes without having to change to root and then change the owner of a file to my username to make it usable. I got fed up with this so I just changed the owner of every file on the system to my username instead of root.
command chown -R myusername * in the base directory /
Everything was fine until I restarted and the login screen became non functional and I got 2 error messages related to xsession and gnome errors. I think this is because the login screen might have its own user account and it cant access the files for the login process because it is owned by myusername. So my question is what is the user-name of the login account and what folders/files need to have their owner changed so the login process can work? I'm on 10.04 lucid.
Just intalled Ubuntu 10.4 but one of my partitions /media/extra is owned by root, i would like to chance the owner to my user. I've tried sudo chown -Rf username:usergroup /media/extra but i stil have no permissions.
i have ubuntu 10.10 and i want to configure my interface eth0 with the commande line with owner (not the Root)$ifconfig : this commande works and listed all interface with some description -> thats goodbut when i use some parametre like @ip and netmask
According to a couple of different places, it's not possible for me to put a line in /etc/fstab to mount one of my partitions with owner and group not root; instead, I have to mount it in /etc/fstab, then chown & chgrp to my user. That seems ridiculously tedious and silly... is it true? I'm sure a short script could be written to get around it, but it seems obtuse for Linux not to allow that to be set in /etc/fstab.
I have a flash drive that I use to sync my work- and home-computers. Rsync has occasional issues syncing between FAT32 (which I use on my flash drive b/c it's universal) and EXT3.
I decided to create an EXT3 partition on the flash drive in an attempt to alleviate the rsync woes. My problem is that when I create the partition using GParted, Ubuntu auto-mounts it with Root as the owner. I had GParted check the drive, and it found no errors to repair.
One other weird thing is that the EXT3 partition shows 84.7MB being used immediately after creating the new partition.
The FAT32 partition mounts fine, is read/write, and only shows 4KB used after the new partition scheme.
I tried doing new partitions a number of times, with EXT2, EXT3, and EXT4 just to see if that mysteriously made a difference. Each time that partition would mount w/ Root as owner.
how to recurively change the owner of dir. for nobody user . for examplei have /parent_dir with owner root.now i change the owner to nobody(system user) recurively
After something happened in SUSE Studio, in any appliances I build the owner of /home/tux/Desktop is root which makes impossible to create desktop icons. This happens even in those appliances which previously were build normally with normal ownership (i.e. tux as owner of /home/tux/Desktop). Something changed abruptly and in all these appliances the ownership of this folder changed.
For example /dev/loop*, /dev/raw/*, etc., they are automatically reset to root/root after rebooted.Change the owner/permission of device files maybe not a good idea, though. I just want to know if it is possible and how?
In my /var/www directory, I have everything set up with: user: www-data group: developers directories: chmod 570 files: chmod 460
Everything seems fine. Users from the developers group can edit files and all, but now we began using the Git repository, and whenever a user edits a file (ie. Joe who is a developer,) file permissions get screwed again. Now they're: user: Joe group: Joe directories: chmod 755 files: chmod 644 How can I fix this so permissions remain the same?
How can I make a virtual host (right now I just use NameVirtualHost *:80) that will load the same page for every domain that matches imap.domain.com, smtp.domain.com, or pop3.domain.com?
My linux distro is CentOS 5.3. Today I edited /etc/sysconfig/readonly-root and set "READONLY" to yes, now my /etc/sysconfig/readonly-root file is like this:
# Set to 'yes' to mount the system filesystems read-only. READONLY=yes # Set to 'yes' to mount various temporary state as either tmpfs
CentOS 5.4 install, likewise open standard install (For active directory authentication).I have a license service which requires a license.txt be in the users home directory.The group owner for license.txt must be the same as the license service. Whenever a new domain user logs in, it creates the all the appropriate files but the group owner for license.txt is the users domain group. My current workaround seems like more effort than it's worth, is there another way to get this process solved easier/more secure?
- copy the license.txt into /etc/skel
- created a script to check for the presence of license.txt, check it's permissions and change them if necessary
- gave the domain's group sudo [nopasswd] access to the script (the script is not writable)
so I just installed Ubuntu 10.10 a couple of days ago and used my whole hard drive.Thing is, I decided that although I loved Ubuntu, I stll want to have dual-boot for some cases.. But now that the disks filesystem is not NTFS, Windows cannot regognise the disk as installable and cannot convert the filesystem. Gosh, Windows is a piece of junk, but I still need them for some occasions.
I have an one terabyte HDD as NTFS File system, my life on it .. now not shown
Code: alz3abi@Hz:~$ lsusb Bus 002 Device 004: ID 1d57:000d Bus 002 Device 003: ID 1058:1100 Western Digital Technologies, Inc. Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 004: ID 04f2:b1d6 Chicony Electronics Co., Ltd Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
On my dual-boot system, 11.4 and win7, Iped out the Doc and DL folders in my home directory and replaced 'em with links to the ones on the windows side. It works great except for one thing: When I open Dolphin in superuser mode and change the permissions to make myself the owner of those folders, the change doesn't take. Is there a special trick to it?GEFPS: I plan to use openSUSE as my main OS, but it's easier to keep my data on the NTFS partition, because Linux speaksindows better than than Windows speaks Linux. Besides, that's where my data already lives
I installed Fedora 13 just a few days ago, and it was all working well, until i tried to boot into my windows system. The windows boot loader said that it couldn't load a system file, and suggested i repair the windows system. it did not work, and i dont want to completely reinstall windows because i have some very important VB6 source code, that i do not want to lose. (For all you VB haters, i only use it bcus its really easy to learn. Don't bring the subject up, because i dont want this thread deleted because some jerk decides to start a flame war about it.) I worked really hard on the project, and i dont want to delete it. Fedora still works fine, but come up with this error message when i attempt to mount the NTFS filesystem:
[root@DaGeek247 ~]# mount /dev/sda1 Failed to read last sector (160071596): Invalid argument HINTS: Either the volume is a RAID/LDM but it wasn't setup yet,