[Ubuntu-eg] can't modify Partition

Mohammad AbuShady coalwater5 at gmail.com
Wed Mar 21 17:07:04 UTC 2012


Unmount the current mounted drive
sudo umount /media/Data
then remount it
sudo mount -o loop /dev/sda4 /media/Data
then try to write a file inside it
touch /media/Data/file.test

see if that works

On Wed, Mar 21, 2012 at 6:55 PM, Mohamed Daif <mohamed.daif at gmail.com>wrote:

> Hello,
>
>   how can remount by root?
>
>
> On Wed, Mar 21, 2012 at 6:40 PM, Mohammad AbuShady <coalwater5 at gmail.com>wrote:
>
>> I'm not sure, we'll need someone else's help, is this the only drive you
>> have, you could try to remount it by root , but not sure if that helps
>>
>>
>> On Wed, Mar 21, 2012 at 6:25 PM, Mohamed Daif <mohamed.daif at gmail.com>wrote:
>>
>>> Hello,
>>>
>>> Note that : i can modified from win 7 installed on other partition
>>>
>>> root at mohamed--N5110:/# mount | grep /media
>>> /dev/sda4 on /media/Data type ntfs
>>> (ro,nosuid,nodev,uid=1000,gid=1000,dmask=0077,fmask=0177,uhelper=udisks)
>>>
>>>
>>> On Wed, Mar 21, 2012 at 6:16 PM, Mohammad AbuShady <coalwater5 at gmail.com
>>> > wrote:
>>>
>>>> What do you get if you did:
>>>> mount | grep /media
>>>>
>>>>
>>>> On Wed, Mar 21, 2012 at 6:14 PM, Mohammad AbuShady <
>>>> coalwater5 at gmail.com> wrote:
>>>>
>>>>> /media? is this a thumbdrive or a usb harddisk ? is it writable at
>>>>> all? could be a driver problem or it could be damaged, did you try to
>>>>> format it using gparted for example?
>>>>>
>>>>>
>>>>> On Wed, Mar 21, 2012 at 6:09 PM, Mohamed Daif <mohamed.daif at gmail.com>wrote:
>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> i tried make :
>>>>>> chown -Rv root:root /media/Data
>>>>>> Failed (readonly)
>>>>>>
>>>>>> ls -l /media/Data
>>>>>> dr-x------ 1 mohamed mohamed      4096 2011-10-22 20:32 World Marine
>>>>>> dr-x------ 1 mohamed mohamed      8192 2011-11-14 07:37 هشام على
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Wed, Mar 21, 2012 at 5:38 PM, Mohammad AbuShady <
>>>>>> coalwater5 at gmail.com> wrote:
>>>>>>
>>>>>>> you cant create files or partitions? there's a difference, being
>>>>>>> unable to create files could be because your user is not the owner of this
>>>>>>> folder, and it would probably appear in nautilus with a lock sign on the
>>>>>>> top, sounds logical if those files were created by the apache user,
>>>>>>> If we assume that these folders are somewhere in /home/test/ERP and
>>>>>>> ur user is test, you will do a "sudo su" then become root, then we'll do
>>>>>>> chown -Rv test:test /home/test/ERP (R for recursive and v for
>>>>>>> verbose)
>>>>>>> After that you should be able to access those files properly.
>>>>>>>
>>>>>>> Hope that works.
>>>>>>>
>>>>>>>
>>>>>>> On Wed, Mar 21, 2012 at 5:30 PM, Mohamed Daif <
>>>>>>> mohamed.daif at gmail.com> wrote:
>>>>>>>
>>>>>>>> Hello,
>>>>>>>>
>>>>>>>> i test with terminal and accessed to the HDD Partition by sudo su
>>>>>>>> /Supper User "root"  but i cant create or delete files :( .
>>>>>>>>
>>>>>>>>
>>>>>>>> On Wed, Mar 21, 2012 at 2:01 PM, Mohammad AbuShady <
>>>>>>>> coalwater5 at gmail.com> wrote:
>>>>>>>>
>>>>>>>>> you mean hard disk partitions? are you sure you are using
>>>>>>>>> root/sudoer account ?
>>>>>>>>>
>>>>>>>>> On Wed, Mar 21, 2012 at 12:57 AM, Mohamed Daif <
>>>>>>>>> mohamed.daif at gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hello,
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> i installed Openbravo ERP and remove it ,after this i cant modify
>>>>>>>>>> Partitions { Delete ,Remove ,Create } only View .
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Please, help me to fix this issue.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> *Best Regards
>>>>>>>>>>
>>>>>>>>>> Mohamed Daif*
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Ubuntu-eg mailing list
>>>>>>>>>> Ubuntu-eg at lists.ubuntu.com
>>>>>>>>>> Modify settings or unsubscribe at:
>>>>>>>>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-eg
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Ubuntu-eg mailing list
>>>>>>>>> Ubuntu-eg at lists.ubuntu.com
>>>>>>>>> Modify settings or unsubscribe at:
>>>>>>>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-eg
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> *Best Regards
>>>>>>>>
>>>>>>>> Mohamed Daif*
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Ubuntu-eg mailing list
>>>>>>>> Ubuntu-eg at lists.ubuntu.com
>>>>>>>> Modify settings or unsubscribe at:
>>>>>>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-eg
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Ubuntu-eg mailing list
>>>>>>> Ubuntu-eg at lists.ubuntu.com
>>>>>>> Modify settings or unsubscribe at:
>>>>>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-eg
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Best Regards
>>>>>>
>>>>>> Mohamed Daif*
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Ubuntu-eg mailing list
>>>>>> Ubuntu-eg at lists.ubuntu.com
>>>>>> Modify settings or unsubscribe at:
>>>>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-eg
>>>>>>
>>>>>>
>>>>>
>>>>
>>>> --
>>>> Ubuntu-eg mailing list
>>>> Ubuntu-eg at lists.ubuntu.com
>>>> Modify settings or unsubscribe at:
>>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-eg
>>>>
>>>>
>>>
>>>
>>> --
>>> *Best Regards
>>>
>>> Mohamed Daif*
>>>
>>>
>>> --
>>> Ubuntu-eg mailing list
>>> Ubuntu-eg at lists.ubuntu.com
>>> Modify settings or unsubscribe at:
>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-eg
>>>
>>>
>>
>> --
>> Ubuntu-eg mailing list
>> Ubuntu-eg at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-eg
>>
>>
>
>
> --
> *Best Regards
>
> Mohamed Daif*
>
>
> --
> Ubuntu-eg mailing list
> Ubuntu-eg at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-eg
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-eg/attachments/20120321/cf1db829/attachment.html>


More information about the Ubuntu-eg mailing list