Debian :: Change Permission On /windows Partition
Jul 2, 2010
I'm running a dual boot system with winXP and Debian Lenny. Here's my hard drive set up
hda1 - windows ntfs (just for use with windows)
hda2 - / ext3
hda3 - swap
hda4 - /home ext3
hda5 - /windows fat32 (shared partition between linux and windows)
Now, I have access to /windows but it's owned by root so I can't create/modify anything and I can't unmount it to use chown.
View 14 Replies
ADVERTISEMENT
Jan 27, 2010
mounting my windows partition.. I've got it set up under /etc/fstab, but anytime I try and open it (as local user) I get permission denied.
[Code]...
View 1 Replies
View Related
Dec 10, 2010
Some time back using this computer a SucKit rootkit was found. Having dd urandomed the drive, flattened CMOS battery, flashed BIOS, run Knoppix live CD 6.1,using no flat pack battery (laptop), and memtested the RAM, I am still having problems with what I suspect is a javascript file that tries to reload the rootkit from? firmware. I suspect the firmware as everything else should have eradicated it??
Also it or a hacker via a backdoor then corrupts the drivers so devices malfunction. Windows security programs and rootkit detectors don't seem to pick it up. Fresh install of Windows or linux after the above still show this problem, though internet not used. The person who admitted rootkitting this machine is capable of writing java programs or using javascripts to do all this.
When viewed using Ubuntu 8.4 files and dates on a Windows partition appear normal both in file manager and terminal. However booting using Knoppix CD these files are all green, and I cannot change their permissions, even as root. ie: everything is green including text files etc. If I copy them to a linux partition, I can change their permissions and make them nonexecutable and nonwritable. Also on the Windows FAT32 partition the . directory has the date 1 Jan 1970.
If I disable any green files, I can shutdown and reboot cleanly. If I don't I start having problems shutting down [/usr/sbin/init ?] And always these follow a pattern:
Can't remember details as I have now corralled the beast but error messages relating to:
nfs-server
inet.d/statd
are the start of these.
View 3 Replies
View Related
Apr 10, 2010
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.
View 1 Replies
View Related
Aug 1, 2011
I'm running openSUSE 11.4 (gnome) and I'm trying to transfer files to my windows partition and it says that I don't have the permission to do so. How do I gain access to it?
[URL]
View 2 Replies
View Related
Jul 26, 2010
I'm on OS X and mount a network share from my Windows XP machine. Files by default have the rwx (700) permissions. What OS X option I need to change, that the files will have rw (600) permission?
Maybe this question also applies for Linux mounting a Windows network share.
View 1 Replies
View Related
Aug 3, 2015
I have accidentally changed the permission of "/usr/bin" directory and its files by the command on my Debian/testing system:
Code: Select all$chmod 775 /usr/bin -R
First, there was a problem with sudo but I fixed it. Now I am suspicious that some programs may not run because of changing their setuid or setgid. I have posted this question here and found out that there is no easy way to restore their setuid or setgid for Debian systems. For RPM based distributions, it is fairly easy. I would like to add a few questions:
Is it possible to write a script which stores all directories and files default permissions like RPM based distributions? And it restores its previous state. I suspect that some programs may not run from my user account (I only use the computer myself.) If I run the programs from my root account, will the programs run without problem?
View 5 Replies
View Related
Aug 12, 2015
I need to configure software as debian image to work on server. I need to create user who is not root, but being able to change IP (I don't know if administrators who will install my image need to give static IP to it, so I want to create special user role for them being able to change IP but not able to see some restricted folders in the image).
View 2 Replies
View Related
Jun 19, 2014
I installed Debian Kit on my Asus Nexus 7 tablet, and after following the installation tutorial I got it running except for I'm stuck on the step to create a new user. (btw link: [URL] .... )
Here's how it went (I can't copy&paste from my tablet so I have to type out everything...):
Code: Select allroot@android-6c40984c21c156ae:/# adduser paul374
Adding user `paul374' ...
Adding new group `paul374' (5000) ...
Adding new user `paul374' (5000) with group `paul374' ...
Creating home directory `/home/paul374' ...
[Code] ....
So since I read somewhere that selinux had some permission problem, so I did a few chcons:
Code: Select allchcon --user=u --role=r --type=init --range=s0 /etc/passwd
chcon --user=u --role=r --type=init --range=s0 /etc/shadow
chcon --user=u --role=r --type=init --range=s0 /etc/gshadow
And it did take effect:
Code: Select allroot@android-6c40984c21c156ae:/# ls -Z | grep passwd
u:r:init:s0 passwd
u:object_r:unlabeled:s0 passwd-
root@android-6c40984c21c156ae:/# ls -Z | grep shadow
u:r:init:s0 gshadow
u:object_r:unlabeled:s0 gshadow-
u:r:init:s0 shadow
u:object_r:unlabeled:s0 shadow-
...but still same thing as what happened in the beginning...
Anyway my goal is to create and be able to log in to another user so that I'm not stuck running root all the time. (Which, as we all know, is a bad idea.)
If there's a way to manually create the user by editing a few files, and root still won't be able to change passwords, I'm fine with that, as long as I have another user. Whatever it takes to just get a non-root user log-in-able...
I forgot to mention that since this is the Asus Nexus 7, there is no removable media, so chrooting from another Linux machine isn't an option, and neither is removing an SD card to use a LiveCD on it.
View 8 Replies
View Related
Jan 17, 2015
I am having issues with Grub 2 after installing Debian 7.8.0.The computer is a HP Pavilion 500-307nb. I made the original harddrive /dev/sdb and inserted a Samsung Evo 840 as /dev/sda. From the original hard drive (/dev/sdb), I wiped the windows partition, but left all other partitions unchanged (in case I would ever want to recover the desktop to its original state). I replaced the wiped windows partition with a swap partition and an LVM partition.These are my hard drive partitions:
/dev/sda (Samsung Evo 840)
Number Start End Size File system Name Flags
1 1049kB 3146kB 2097kB primary bios_grub
2 3146kB 944MB 941MB ext4 boot
3 944MB 94.4GB 93.4GB host lvm
4 94.4GB 1000GB 906GB guests lvm
[code]....
The partition /dev/sda3 has 2 logical volumes with filesystem ext4 that I mount to / and /home.The partition /dev/sda2 is mounted to /boot..When I install like this, Debian installs fine, however Grub2 is not installed correctly.Debian installs grub-pc which seems not able to boot the gpt partition. So I boot the Debian CD in rescue mode and execute:
mount /dev/sda2 /boot
aptitude purge grub-pc
aptitude -y install grub-efi
After rebooting, I come in the grub rescue shell, which says: error: no such device: 986f2176--4a4b-4222-83b9-8636a034b3c7.
When I then enter in the grub rescue shell:
set boot=(hd0,gpt2)
set prefix=(hd0,gpt2)/grub
insmod normal
normal
Grub and Debian start up correctly.why can Grub not start up automatically correctly? Where does the UUID 986f2176--4a4b-4222-83b9-8636a034b3c7 come from? I have reinstalled Grub several times, I have reinstall Debian several times, I have even wiped all partitions from /dev/sda and recreated a new gpt table with parted and manually set the partitions in parted. Still on each reinstallation, Grub fails because it cannot find exactly the same UUID. Since this UUID is always the same, it must be stored somewhere, but it cannot be the partitions, I have wiped them and the partition table several times.
I did though a firmware update of the Samsung Evo 840 before reinstallation, could this be a cause?Also the problem is not in grub.cfg. Grub starts correctly if I enter the commands above in the grub rescue screen and the UUID value does not appear there.
View 5 Replies
View Related
Feb 25, 2010
I have a computer with 2*Quad cores, 48GB RAM and 2* 1TB harddisks. There is a 100 GB partition for Windows 7 on one of the harddisks (sda). We want to use the computer for chemical computations, by running the chemical software on SuSE (SLES 10). I used GParted to shrink the Windows partition. I tried to install SuSE, but just before it asks for the root password, it restarts the computer, and after the restart the keyboard and mouse didn't work. (I had the keyboard, mouse and screen connected to a KVM switch, because I have more than one computer in the office). I tried to plug the mouse & keyboard directly into the computer, but nothing worked.
I was afraid of restarting the computer (since the installation wasn't completed) but I reasoned that perhaps then the computer would automatically pick up the mouse and keyboard. It did. However, earlier in the installation I chose to install KDE and not Gnome, but when everything was finished I found that I had Gnome, and not KDE. How do I change to KDE? I guess there should be a way using YAST or something, but I'm not sure. At present, one of the harddisks has the Windows partition, and then the SWAP (primary), and then the rest of the Linux part (primary). I would like to partition the Linux part like this......
View 2 Replies
View Related
Mar 2, 2011
Here is my fstab's content:
/dev/sda7/media/entfsdefaults00
/dev/sda8/media/fntfs-3g silent,umask=00000
[root@localhost code]# ll 2
-rwxrwxrwx. 1 root root 0 Mar 2 20:19 2
[code]....
View 3 Replies
View Related
Oct 30, 2010
I've been using Ubuntu 10.10 for just under a week. Recently, a partition called 'Data' has disappeared, and all my music and documents along with it. The folder is not to be seen in Places or on my desktop. My only way of finding it is to go to terminal. But when I try to open it there I get an error saying I don't have permission to read it. In Puppy Linux and SliTaz I can easily find the partition and read it. What should I do to bring it back in Ubuntu?
View 3 Replies
View Related
Apr 21, 2010
I want to make a new partion,my home is /dev/hda9,so I use the Partion Editor(Gparted) ,frist umount the device(umount -l /dev/hda9),then change the size,everyone thing works well until I clicked the Apply,the error occurred:
View 1 Replies
View Related
May 9, 2011
I have, as I have in the past, copy/pasted a partition using gparted to get a working OS to another place.
I have always done this in the past to a different drive. Never paid much attention to the UUID.
This time I did it on the same drive. The partitions have the same UUID. This is not a good thing.
The copied OS boots and mounts fine as I edited the fstab to go by /dev/sdxy (where x is the drive and y the partition). My grub uses a custom menu using symbolic menu entries so it goes by the partition definition instead of UUID too.
I would really like to change the UUID on that partition.
View 8 Replies
View Related
Aug 19, 2010
I'm running the installer, and "Guided Partitioning" selected partition sizes I'm not completely happy with. I selected separate partitions for /home, /var, /usr, /tmp etc, and by default it gave me only 5GB for the /usr partition. I'd like to take some space away from /home and give it to the /usr partition, but I can't figure out how to do that using the menu options available.
View 7 Replies
View Related
Aug 30, 2011
I am currently running a dual boot machine with Ubuntu 11.04 and Windows Vista.Is there any way I can delete the Linux partition and Grub boot loader without affecting the Windows partition at all?I would also like to be able to repartition all of the space that was previously occupied by Linux.
View 2 Replies
View Related
Jul 22, 2010
Now however its not letting me resize the Windows partition, mounted or unmounted. It currently occupies the whole disk. I would rather not reinstall the whole thing over again, but I will if I have to. Isnt there an easy way to shrink a Windows partition? I swear Ive done this before and it wasnt this hard. Could it be a problem with the Mint installer that now asks me if I want to unmount my disks before it goes into install mode? On this PC I would like to have
Windows XP
Mint
Ubuntu-Studio
Edubuntu
One of the E17 OSs
Puppy Linux (to create a remix)
I am probably going to put most of the linux partitions on the second laptop drive but I want to install files on a non WIndows NTFS partition.
View 6 Replies
View Related
May 31, 2011
I got tired of dual booting on my old computer so on the new computer I am planning to run XP on VMware Player. The problem is that on the new computer neither Ubuntu or XP can "see" the FAT32 partition. I intend to use the FAT32 partition for photo images and old Windows files and need access from both Ubintu and XP.
Partition table entries are not in disk order.
View 5 Replies
View Related
Aug 18, 2010
I have a dual-boot machine and want to know if there's a way I can mount the windows 7 partition in sid.
View 5 Replies
View Related
Sep 10, 2010
I have a dual-boot with Debian and Windows7. I used Synaptic to install the ntfs packages, and Debian detects the windows partition, but when I double click it, it says something like "Failed to mount. Invalid mount option". Now I can mount it and navigate the folders, but ALL folders and files have permissions set to 700, and I can't change the permissions to access any of the files. Sure would be nice to be able to access my windows partition.
View 1 Replies
View Related
May 1, 2011
I am trying to install Debian for my best friend by resizing his Windows partition so that I can install Debian on a separate partition. But, I get this message when I try to resize Windows: "for some unknown reason impossible to resize this partition. Check /var/log/syslog or see virtual console 4 for details." I do not know how to check virtual console 4 for details and besides I won't be able to interpret it. I also tried defraging the Windows hard drive several times and using several livecds with GParted to try to resize. They all failed.
View 6 Replies
View Related
May 9, 2011
I'm using Debian Squeeze XFCE along with Windows 7 as dual boot on my notebook. I want to access my Windows 7 partitions from Debian for both reading and writing. I was a Ubuntu user in which the Windows partitions were visible by default. I want to know how to mount the drives used by Windows 7 automatically on startup.
View 4 Replies
View Related
Jan 1, 2011
My hard drive is partitioned fairly simply, with two primary partitions, one for Windows and one for Debian Squeeze.How can I remove sda1 and make it so that Debian takes up the whole disk on one large partition without reinstalling?I have downloaded and burnt the gparted live cd, but I daren't go any further without some hand holding.
View 11 Replies
View Related
Jun 16, 2011
I have a problem when i installed ubuntu via usb drive and cd.. and i try it in windows xp and windows 7. it's a same problem .. but this is the error message " permission denied "
The log:
Also i try this v Ubuntu 11.04 Ubuntu 10.10
View 2 Replies
View Related
Sep 24, 2010
After several times install & reinstall,i got a stable dual boot vista / ubuntu 10.10.,but i can't access or even see my windows partition from ubuntu,i installed my dual boot with wubu this time,in previous installation when i didn't use wubi , i didn't have such a problem & windows partition with all my files in it (windows files,media ,etc,) was easily accessible from "places" on ubuntu . I already disabled windows firewall & other security options but nothing changed
View 3 Replies
View Related
Jan 18, 2016
I had an older PC on which I had two SATA drives and an IDE one and on the latter I had Windows 7 installed (I kept it on that drive since I'm not using Windows 7 that often, I'm primarily using Debian as my daily go-to OS), but since then I got a new PC which has no connectivity for IDE, so I had to decommision the drive, and before I did that, I backed up the Windows 7 partition (and the second partition which I used mostly for storing sofware and stuff that I wouldn't want to get wiped after a fresh Windows install) using dd.
Not reading up on this on the internet, doing so with the intention to restore the partition image on the same spot on the disk, but since the SSD is larger than the IDE drive, I made the partitions on it bigger, so there's no chance the Windows 7 partition to be on the same spot on the disk. I tried booting into Windows 7 from GRUB after it successfully detected the Win7 install on the second partition on the SSD, but it just leaves me with a blank screen with a blinking white cursor, so I'm guessing it's not going to fly again. So my question to you: is it possible to ressurect the Windows 7 installation, avoiding having to reinstall Windows? (which would severly complicate things, having to backup and wipe the Debian install I have on the first partition...)
So far I've tried this to fix the Windows 7 install by pointing at the right disk "coordinates": [URL] ...., but I can't seem to get it to work, all I get is some error in regards to not being able to detect the disk's geometry (I think it was the number heads I couldn't figure out to input in the command line), so I couldn't fix it.
View 2 Replies
View Related
Apr 15, 2015
I have installed Debian as a second OS alongside Win XP, and now I have Win XP on C drive (if viewed from XP), NTFS, my data files (mainly texts and graphics) on D drive (NTSF), and Debian on ext3. Debian sees and opens files on D.
1. If I read-write from-on this D partition from both OSes, is there a chance the data will be corrupted?
2. If I open a Windows-created TXT, GIF, JPG, HTML or other not-proprietary format file from Debian, edit it and save (just SAVE, not SAVE AS) - will this file remain readable from Windows?
View 14 Replies
View Related
Mar 29, 2011
I can't access (read/write) to my Windows partition from PCManFM on LXDE. On Gnome it is usually on the left side and you have to click on it and it mounts. I want to do the same for PCManFM. When I installed Debian with "Standard system utilities" it did work like it did on Gnome.
View 6 Replies
View Related
May 31, 2010
I have a external harddisk attached to my linux PC.I have a laptop having windows 7 on my network.I want to to be able to open up the folder in the external harddisk(linux partition) and check the files from my laptop. People suggest samba. But I am not able to configure correctly. Please excuse me and give me few detailed instructions.
View 4 Replies
View Related