Directory and Permissions issue or question[Solved]

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
willie42
Level 7
Level 7
Posts: 1970
Joined: Tue Jun 22, 2010 7:52 pm
Location: Oak Ridge, TN USA

Directory and Permissions issue or question[Solved]

Post by willie42 »

I have a Hard disk that I want to share with another username on the same computer. When logged in the other user can mount and access the drive but can not write to it.
when:

Code: Select all

sudo chown -R willie42:willie42 /media/name of disk

Code: Select all

chmod -R 755 /media/name of disk
I get---- No such file or directory


I am using Mint 9 main edition gnome desktop.

I am missing something here can someone assist me?

much appreciated.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Comptia A+ Certified Technician
Comptia Network + Certified Technician
You can not have Success without Failures.
Elisa

Re: Directory and Permissions issue or question

Post by Elisa »

Maybe it should be 775 ?
willie42
Level 7
Level 7
Posts: 1970
Joined: Tue Jun 22, 2010 7:52 pm
Location: Oak Ridge, TN USA

Re: Directory and Permissions issue or question

Post by willie42 »

willie42@Linux04 ~ $ sudo chown -R willie42:willie42 /media/sermons
[sudo] password for willie42:
chown: cannot access `/media/sermons': No such file or directory
willie42@Linux04 ~ $


I am not even getting to the
sudo chmod -R 775 /media/name of disk

it works under the other name I can write to it from there.
Comptia A+ Certified Technician
Comptia Network + Certified Technician
You can not have Success without Failures.
oobetimer

Re: Directory and Permissions issue or question

Post by oobetimer »

willie42 wrote:I have a Hard disk that I want to share with another username on the same computer. When logged in the other user can mount and access the drive but can not write to it.
when:

Code: Select all

sudo chown -R willie42:willie42 /media/name of disk

Code: Select all

chmod -R 755 /media/name of disk
I get---- No such file or directory


I am using Mint 9 main edition gnome desktop.

I am missing something here can someone assist me?

much appreciated.
sudo mount -a

sudo chmod -R 755 /media/name of disk
Elisa

Re: Directory and Permissions issue or question

Post by Elisa »

Did u mounted the disk correctly? It looks like it's not mounted (and noticed in /media/...) ?

__________
2 oobetimer: oops, sorry for that 775 :oops: :)
Last edited by Elisa on Wed Oct 27, 2010 12:06 am, edited 1 time in total.
willie42
Level 7
Level 7
Posts: 1970
Joined: Tue Jun 22, 2010 7:52 pm
Location: Oak Ridge, TN USA

Re: Directory and Permissions issue or question

Post by willie42 »

willie42@Linux04 ~ $ sudo mount -a
[sudo] password for willie42:
willie42@Linux04 ~ $ sudo chmod -R 755 /media/sermons
chmod: cannot access `/media/sermons': No such file or directory
willie42@Linux04 ~ $


no success I really appreciate everyones help on this matter
Comptia A+ Certified Technician
Comptia Network + Certified Technician
You can not have Success without Failures.
oobetimer

Re: Directory and Permissions issue or question

Post by oobetimer »

willie42 wrote:willie42@Linux04 ~ $ sudo mount -a
[sudo] password for willie42:
willie42@Linux04 ~ $ sudo chmod -R 755 /media/sermons
chmod: cannot access `/media/sermons': No such file or directory
willie42@Linux04 ~ $


no success I really appreciate everyones help on this matter
ls /media*
willie42
Level 7
Level 7
Posts: 1970
Joined: Tue Jun 22, 2010 7:52 pm
Location: Oak Ridge, TN USA

Re: Directory and Permissions issue or question

Post by willie42 »

willie42@Linux04 ~ $ ls /media*
floppy floppy0
willie42@Linux04 ~ $
Comptia A+ Certified Technician
Comptia Network + Certified Technician
You can not have Success without Failures.
willie42
Level 7
Level 7
Posts: 1970
Joined: Tue Jun 22, 2010 7:52 pm
Location: Oak Ridge, TN USA

Re: Directory and Permissions issue or question

Post by willie42 »

I am unable to pull up my fstab. it starts but does not come up
Comptia A+ Certified Technician
Comptia Network + Certified Technician
You can not have Success without Failures.
Elisa

Re: Directory and Permissions issue or question

Post by Elisa »

I think ls command says wazzup :lol:
You don't have it mounted. I am still not CLI friendly (still Linux newbie :lol: using pysdm or gparted apps from repo for mounting) but here's is quit good how-to:

http://forums.linuxmint.com/viewtopic.php?f=42&t=22093
willie42
Level 7
Level 7
Posts: 1970
Joined: Tue Jun 22, 2010 7:52 pm
Location: Oak Ridge, TN USA

Re: Directory and Permissions issue or question

Post by willie42 »

it still wont let me write to the drive. its mounted now



willie42@Linux04 ~ $ ls /media*
floppy floppy0 Sermons
willie42@Linux04 ~ $
I really appreciate everyones help


this has me stumped never had this much issues with mounting a disk before :shock:
Comptia A+ Certified Technician
Comptia Network + Certified Technician
You can not have Success without Failures.
Elisa

Re: Directory and Permissions issue or question

Post by Elisa »

willie42 wrote:it still wont let me write to the drive. its mounted now



willie42@Linux04 ~ $ ls /media*
floppy floppy0 Sermons
willie42@Linux04 ~ $
I really appreciate everyones help


this has me stumped never had this much issues with mounting a disk before :shock:
As I can see some your above post like this "willie42@Linux04 ~ $ sudo chmod -R 755 /media/sermons"
and your ls with Sermons
beware Linux is CaSe sensitive :wink:
willie42
Level 7
Level 7
Posts: 1970
Joined: Tue Jun 22, 2010 7:52 pm
Location: Oak Ridge, TN USA

Re: Directory and Permissions issue or question

Post by willie42 »

Still wont let me write to it.



The folder "Shepards Chapel Galatians " cannot be copied because you do not have permissions to create it in the destination


Thats the message I get :lol:


Do I need to re add the disk. I dont know why I would and I dont know why I cant access my fstab file from this user name
Comptia A+ Certified Technician
Comptia Network + Certified Technician
You can not have Success without Failures.
Elisa

Re: Directory and Permissions issue or question

Post by Elisa »

Can you open the disk or folder in nautilus and with right button - properties and check the permissions?
'cos I am bit lost what's going on and if only permissions issue is on it must be solved easy and quickly :wink:

[Updated /let's not spam :lol: / :] I mean this like:
http://yfrog.com/mrpermissionwindowp
Can u check it ? The permissions...
Last edited by Elisa on Wed Oct 27, 2010 1:47 am, edited 1 time in total.
willie42
Level 7
Level 7
Posts: 1970
Joined: Tue Jun 22, 2010 7:52 pm
Location: Oak Ridge, TN USA

Re: Directory and Permissions issue or question

Post by willie42 »

it says that the Permissions can not be determined. Sorry for being a pain Elisa and I do appreciate your help and assistance in this. I am newby at some of this
Comptia A+ Certified Technician
Comptia Network + Certified Technician
You can not have Success without Failures.
willie42
Level 7
Level 7
Posts: 1970
Joined: Tue Jun 22, 2010 7:52 pm
Location: Oak Ridge, TN USA

Re: Directory and Permissions issue or question

Post by willie42 »

I am out of ideas. anyone have any let me know. :(
Comptia A+ Certified Technician
Comptia Network + Certified Technician
You can not have Success without Failures.
willie42
Level 7
Level 7
Posts: 1970
Joined: Tue Jun 22, 2010 7:52 pm
Location: Oak Ridge, TN USA

Re: Directory and Permissions issue or question[Solved]

Post by willie42 »

permissions issue Solution finally was

sudo chmod 777 /media/name of disk

gave me the Permissions to write to the disk.
Comptia A+ Certified Technician
Comptia Network + Certified Technician
You can not have Success without Failures.
Elisa

Re: Directory and Permissions issue or question[Solved]

Post by Elisa »

Glad it helped finally :lol:
Locked

Return to “Beginner Questions”